kangwei:区域用户数据权限有问题
正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
sk-module-biz/src/main/java/com/skua/modules/dataAnalysis/controller/SysCommandCentreController.java
... | @@ -91,7 +91,7 @@ public class SysCommandCentreController { | ... | @@ -91,7 +91,7 @@ public class SysCommandCentreController { |
91 | fReportItemvList.add( avgDayDataVO ); | 91 | fReportItemvList.add( avgDayDataVO ); |
92 | 92 | ||
93 | //年数据统计: | 93 | //年数据统计: |
94 | String total = factoryInfoService.querySumProScale( departIds ); | 94 | String total = factoryInfoService.querySumProScale( JSUtils.quoteEach(departIds,",") ); |
95 | total = String.format("%.2f", Double.parseDouble(total)); | 95 | total = String.format("%.2f", Double.parseDouble(total)); |
96 | fReportItemvList.add( new FRportlCommandCenterVO( total,"0","0")); | 96 | fReportItemvList.add( new FRportlCommandCenterVO( total,"0","0")); |
97 | 97 | ... | ... |
... | @@ -54,7 +54,7 @@ public class OperationReportServiceImpl implements IOperationReportService { | ... | @@ -54,7 +54,7 @@ public class OperationReportServiceImpl implements IOperationReportService { |
54 | productDataVO.setStartTime(seasonTimeVO.getStartTime());//季度开始时间 | 54 | productDataVO.setStartTime(seasonTimeVO.getStartTime());//季度开始时间 |
55 | productDataVO.setEndTime( seasonTimeVO.getEndTime());//季度结束时间 | 55 | productDataVO.setEndTime( seasonTimeVO.getEndTime());//季度结束时间 |
56 | //水务公司总数 | 56 | //水务公司总数 |
57 | String sql = "select count(1) from sys_depart where depart_type = 1 where id in ("+JSUtils.quoteEach(departId,",")+")"; | 57 | String sql = "select count(1) from sys_depart where depart_type = 1 and id in ("+JSUtils.quoteEach(departId,",")+")"; |
58 | String deptartCount = getJdbcTemplate().queryForObject(sql,String.class); | 58 | String deptartCount = getJdbcTemplate().queryForObject(sql,String.class); |
59 | productDataVO.setDeptartCount( deptartCount ); | 59 | productDataVO.setDeptartCount( deptartCount ); |
60 | 60 | ... | ... |
-
请 注册 或 登录 后发表评论