4d6c01ca 张雷

月度数据单位BUG修改

1 个父辈 d47e1c6f
...@@ -95,20 +95,22 @@ public class FCustomReportDatasetServiceImpl extends ServiceImpl<FCustomReportDa ...@@ -95,20 +95,22 @@ public class FCustomReportDatasetServiceImpl extends ServiceImpl<FCustomReportDa
95 " ifnull(v7.qntqsfsl,0) as qntqsfsl, " + 95 " ifnull(v7.qntqsfsl,0) as qntqsfsl, " +
96 " v6.ysfsl,v6.sfsldbbhl, " + 96 " v6.ysfsl,v6.sfsldbbhl, " +
97 " rtc.target_water as ndslmb, " + 97 " rtc.target_water as ndslmb, " +
98 " v6.yslwcbl, " + 98 " round(100*(sum(v1.CSL)/10000)/rtc.target_water,2) yslwcbl, " +
99 " v6.sldyyqyy, " + 99 " v6.sldyyqyy, " +
100 " v4.dlhj as ydh,ifnull(v5.dlhj,0) qntqdh, " + 100 " round(v4.dlhj/sum(v1.CSL),2) as ydh," +
101 " round(ifnull(v5.dlhj/tb.clsl_tb,0)/10000,2) qntqdh, " +
101 " round(100*(v4.dlhj-ifnull(v5.dlhj,0))/ifnull(v5.dlhj,v4.dlhj),2) as dhdbbhl, " + 102 " round(100*(v4.dlhj-ifnull(v5.dlhj,0))/ifnull(v5.dlhj,v4.dlhj),2) as dhdbbhl, " +
102 " v6.dhgyqntqyy, " + 103 " v6.dhgyqntqyy, " +
103 " v4.yjhl as yyh, " + 104 " round(v4.yjhl/sum(v1.CSL),2) as yyh, " +
104 " v6.yyf,ifnull(v5.yjhl,0) qntqyh, " + 105 " v6.yyf," +
106 " round(ifnull(v5.yjhl/tb.clsl_tb,0),2) qntqyh, " +
105 " round(100*(v4.yjhl-ifnull(v5.yjhl,0))/ifnull(v5.yjhl,v4.yjhl),2) as yhdbbhl, " + 107 " round(100*(v4.yjhl-ifnull(v5.yjhl,0))/ifnull(v5.yjhl,v4.yjhl),2) as yhdbbhl, " +
106 " v6.yhgyqntqyy, " + 108 " v6.yhgyqntqyy, " +
107 " rtc.target_power as bndhmb, " + 109 " rtc.target_power as bndhmb, " +
108 " y.dlhj_year as bnsjdh, " + 110 " round(y.dlhj_year/sum(v1.CSL),2) as bnsjdh, " +
109 " v6.dhcmbzyy, " + 111 " v6.dhcmbzyy, " +
110 " rtc.target_drug as bnyhmb, " + 112 " rtc.target_drug as bnyhmb, " +
111 " y.yjhl_year as bnsjyh, " + 113 " round(y.yjhl_year/sum(v1.CSL),2) as bnsjyh, " +
112 " v6.yhcyqyy " + 114 " v6.yhcyqyy " +
113 " from "+dataViewName2119+" v1 " + 115 " from "+dataViewName2119+" v1 " +
114 " left join ( " + 116 " left join ( " +
......
...@@ -147,7 +147,6 @@ public class MybatisInterceptor implements Interceptor { ...@@ -147,7 +147,6 @@ public class MybatisInterceptor implements Interceptor {
147 || "com.skua.modules.erp.mapper.PurchasePlanItemMapper.queryListByPlanId".equals(sqlId) //采购计划 147 || "com.skua.modules.erp.mapper.PurchasePlanItemMapper.queryListByPlanId".equals(sqlId) //采购计划
148 || "com.skua.modules.erp.mapper.PurchaseMaterialMapper.queryListByContractId".equals(sqlId) //采购合同 148 || "com.skua.modules.erp.mapper.PurchaseMaterialMapper.queryListByContractId".equals(sqlId) //采购合同
149 || "com.skua.modules.erp.mapper.DistributMaterialMapper.queryListByContractId".equals(sqlId) //采购-分销合同 149 || "com.skua.modules.erp.mapper.DistributMaterialMapper.queryListByContractId".equals(sqlId) //采购-分销合同
150 || "com.skua.modules.erp.mapper.ERPPurchaseContractMapper.selectList".equals(sqlId) //采购合同
151 || "com.skua.modules.supplies.mapper.EquipmentSparepartSuppliesMapper.selectList".equals(sqlId) //物料 150 || "com.skua.modules.supplies.mapper.EquipmentSparepartSuppliesMapper.selectList".equals(sqlId) //物料
152 || "com.skua.modules.erp.mapper.ERPPurchaseContractMapper.selectList".equals(sqlId) //采购合同列表 151 || "com.skua.modules.erp.mapper.ERPPurchaseContractMapper.selectList".equals(sqlId) //采购合同列表
153 || "com.skua.modules.erp.mapper.DistributContractMapper.selectList".equals(sqlId) //分销合同列表 152 || "com.skua.modules.erp.mapper.DistributContractMapper.selectList".equals(sqlId) //分销合同列表
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!