| | |
| | | * 保安员统计 |
| | | */ |
| | | @PostMapping("/selectLi") |
| | | public R<IPage> selectLi(String jurisdiction, String deptid, String stats, Query query) { |
| | | IPage list = informationService.selectLi(Condition.getPage(query), jurisdiction, deptid, stats); |
| | | public R<IPage> selectLi(String jurisdiction, String deptid, String stats,String startTime,String endTime, Query query) { |
| | | IPage list = informationService.selectLi(Condition.getPage(query), jurisdiction, deptid, stats,startTime,endTime); |
| | | return R.data(list); |
| | | } |
| | | |
| | |
| | | * 业务统计情况 |
| | | */ |
| | | @PostMapping("/selectYw") |
| | | public R<IPage> selectYw(String jurisdiction, String deptid, String stats, Query query) { |
| | | public R<IPage> selectYw(String jurisdiction, String deptid, String stats,String startTime,String endTime,Query query) { |
| | | if (jurisdiction.equals("1372091709474910209") || "".equals(jurisdiction)) { |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdiction, deptid, stats); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdiction, deptid, stats,startTime,endTime); |
| | | return R.data(list); |
| | | } else { |
| | | String childer = informationService.selJurchilder(jurisdiction); |
| | |
| | | strArrays += "'" + split[j] + "',"; |
| | | } |
| | | String jurisdictiond = strArrays.substring(0, strArrays.length() - 1); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdictiond, deptid, stats); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdictiond, deptid, stats,startTime,endTime); |
| | | return R.data(list); |
| | | } |
| | | } |