{
  "dBType" : "MYSQL5",
  "name" : "MySQL5",
  "getPSDEDataQueryCodeExps" : [ {
    "expression" : "t1.`OPINION`",
    "name" : "OPINION"
  }, {
    "expression" : "t1.`AMOUNT`",
    "name" : "AMOUNT"
  }, {
    "expression" : "t1.`CREATEDATE`",
    "name" : "CREATEDATE"
  }, {
    "expression" : "t1.`CREATEMAN`",
    "name" : "CREATEMAN"
  }, {
    "expression" : "t1.`DETAILNUM`",
    "name" : "DETAILNUM"
  }, {
    "expression" : "t1.`IBIZCUSTOMERID`",
    "name" : "IBIZCUSTOMERID"
  }, {
    "expression" : "t11.`IBIZCUSTOMERNAME`",
    "name" : "IBIZCUSTOMERNAME"
  }, {
    "expression" : "t1.`IBIZORDERID`",
    "name" : "IBIZORDERID"
  }, {
    "expression" : "t1.`IBIZORDERNAME`",
    "name" : "IBIZORDERNAME"
  }, {
    "expression" : "t1.`MEMO`",
    "name" : "MEMO"
  }, {
    "expression" : "t1.`ORDERSTATE`",
    "name" : "ORDERSTATE"
  }, {
    "expression" : "t1.`ORDERTIME`",
    "name" : "ORDERTIME"
  }, {
    "expression" : "t1.`ORDERTYPE`",
    "name" : "ORDERTYPE"
  }, {
    "expression" : "t1.`ORDERUID`",
    "name" : "ORDERUID"
  }, {
    "expression" : "t1.`UPDATEDATE`",
    "name" : "UPDATEDATE"
  }, {
    "expression" : "t1.`UPDATEMAN`",
    "name" : "UPDATEMAN"
  }, {
    "expression" : "t1.`WFINSTANCEID`",
    "name" : "WFINSTANCEID"
  }, {
    "expression" : "t1.`WFSTATE`",
    "name" : "WFSTATE"
  }, {
    "expression" : "t1.`WFSTEP`",
    "name" : "WFSTEP"
  } ],
  "queryCode" : "select DATE_FORMAT(ORDERTIME,'%Y%m') months,format(sum(case when orderstate='30' then 1 else 0 end)/sum(1)*100,2) bfb from t_IBIZorder group by months\n",
  "id" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder/PSDEDATAQUERIES/GaugeDataSourceByTime/PSDEDQCODES/MYSQL5.json"
}