节能环保问题修改
正在显示
1 个修改的文件
包含
3 行增加
和
12 行删除
... | @@ -69,11 +69,11 @@ public class SysCommandCentreController { | ... | @@ -69,11 +69,11 @@ public class SysCommandCentreController { |
69 | long lastMonthDifferDay = DateUtils.differenceDay(dateVO.getLastMonthStartTime(),dateVO.getLastMonthEndTime()); | 69 | long lastMonthDifferDay = DateUtils.differenceDay(dateVO.getLastMonthStartTime(),dateVO.getLastMonthEndTime()); |
70 | long lastYearDifferDay = DateUtils.differenceDay(dateVO.getLastYearMonthStartTime(),dateVO.getLastYearMonthEndTime()); | 70 | long lastYearDifferDay = DateUtils.differenceDay(dateVO.getLastYearMonthStartTime(),dateVO.getLastYearMonthEndTime()); |
71 | //月对象数据String value, String valueTb, String valueHb | 71 | //月对象数据String value, String valueTb, String valueHb |
72 | FRportlCommandCenterVO monthDataVO = new FRportlCommandCenterVO("月汇总数据",JSUtils.format(monthCSL),JSUtils.format(lastMonthCSL),JSUtils.format(lastYearCSL)); | 72 | FRportlCommandCenterVO monthDataVO = new FRportlCommandCenterVO("月汇总数据",JSUtils.divide(monthCSL,10000),JSUtils.divide(lastMonthCSL,10000),JSUtils.divide(lastYearCSL,10000)); |
73 | //日处理对象 | 73 | //日处理对象 |
74 | FRportlCommandCenterVO avgDayDataVO = new FRportlCommandCenterVO("日均处理水量",JSUtils.divide(monthCSL,nowDifferDay*10000),JSUtils.divide(lastMonthCSL,lastMonthDifferDay*10000),JSUtils.divide(lastYearCSL,lastYearDifferDay*10000)); | 74 | FRportlCommandCenterVO avgDayDataVO = new FRportlCommandCenterVO("日均处理水量",JSUtils.divide(monthCSL,nowDifferDay*10000),JSUtils.divide(lastMonthCSL,lastMonthDifferDay*10000),JSUtils.divide(lastYearCSL,lastYearDifferDay*10000)); |
75 | fReportItemvList.add( monthDataVO) ; | 75 | fReportItemvList.add( monthDataVO); |
76 | fReportItemvList.add( avgDayDataVO ) ; | 76 | fReportItemvList.add( avgDayDataVO ); |
77 | 77 | ||
78 | //年数据统计: | 78 | //年数据统计: |
79 | String total = factoryInfoService.querySumProScale(); | 79 | String total = factoryInfoService.querySumProScale(); |
... | @@ -98,10 +98,6 @@ public class SysCommandCentreController { | ... | @@ -98,10 +98,6 @@ public class SysCommandCentreController { |
98 | String startTime = reportItemvParam.getStartDate(); | 98 | String startTime = reportItemvParam.getStartDate(); |
99 | String endTime = reportItemvParam.getEndDate(); | 99 | String endTime = reportItemvParam.getEndDate(); |
100 | String dataViewName2119 = ReportViewUtil.buildView(ReportViewUtil.view2119,"CSL", departId, startTime,endTime);// 部门、时间 | 100 | String dataViewName2119 = ReportViewUtil.buildView(ReportViewUtil.view2119,"CSL", departId, startTime,endTime);// 部门、时间 |
101 | |||
102 | |||
103 | |||
104 | |||
105 | //报表数据项值 | 101 | //报表数据项值 |
106 | String reitId = sysConfigService.queryValueByKey("REIT_ID_CSL"); | 102 | String reitId = sysConfigService.queryValueByKey("REIT_ID_CSL"); |
107 | 103 | ||
... | @@ -131,9 +127,6 @@ public class SysCommandCentreController { | ... | @@ -131,9 +127,6 @@ public class SysCommandCentreController { |
131 | return result; | 127 | return result; |
132 | } | 128 | } |
133 | 129 | ||
134 | |||
135 | |||
136 | |||
137 | //cement水泥 electricity | 130 | //cement水泥 electricity |
138 | @AutoLog(value = "指挥中心-泥量统计") | 131 | @AutoLog(value = "指挥中心-泥量统计") |
139 | @ApiOperation(value="指挥中心-泥量统计", notes="指挥中心-泥量统计") | 132 | @ApiOperation(value="指挥中心-泥量统计", notes="指挥中心-泥量统计") |
... | @@ -144,8 +137,6 @@ public class SysCommandCentreController { | ... | @@ -144,8 +137,6 @@ public class SysCommandCentreController { |
144 | //SysAlgorithmStatisticsLibraryVO sysAlgorithmLibraryVO = JSONObject.toJavaObject(jsonObject, SysAlgorithmStatisticsLibraryVO.class); | 137 | //SysAlgorithmStatisticsLibraryVO sysAlgorithmLibraryVO = JSONObject.toJavaObject(jsonObject, SysAlgorithmStatisticsLibraryVO.class); |
145 | //String reportId = "3a243d5715b9e1a3753c180872ca0df9";//报表编号 | 138 | //String reportId = "3a243d5715b9e1a3753c180872ca0df9";//报表编号 |
146 | //String reportItemCode = "WNL";//查询字段 | 139 | //String reportItemCode = "WNL";//查询字段 |
147 | |||
148 | |||
149 | //报表数据项值 | 140 | //报表数据项值 |
150 | String reitId = sysConfigService.queryValueByKey("REIT_ID_WNL"); | 141 | String reitId = sysConfigService.queryValueByKey("REIT_ID_WNL"); |
151 | // reportItemvParam.setReportItemCode(reportItemCode); | 142 | // reportItemvParam.setReportItemCode(reportItemCode); | ... | ... |
-
请 注册 或 登录 后发表评论