bba284f8 康伟

kangwei:区域用户数据权限有问题

1 个父辈 d93e826b
...@@ -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
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!