| | |
| | | String userlastmouth = list.get(i).get("userlastmouth").toString(); |
| | | Integer userlastmouths = Integer.parseInt(userlastmouth); |
| | | tpznum += userlastmouths; |
| | | //公司派遣总数 |
| | | |
| | | String usernums = list.get(i).get("usernum").toString(); |
| | | Integer usernumss = Integer.parseInt(usernums); |
| | | pznum += usernumss; |
| | | |
| | | //公司派遣总数 |
| | | String userpcthismouth = list.get(i).get("userpcthismouth").toString(); |
| | | Integer userpcthismouths = Integer.parseInt(userpcthismouth); |
| | | lznum += userpcthismouths; |
| | |
| | | List<Map<String, Object>> lists = new ArrayList<>(); |
| | | Integer a = 0; |
| | | Integer b = 0; |
| | | Integer num=0; |
| | | Integer znum=0; |
| | | Integer cznum=0; |
| | | Integer sbnum=0; |
| | | Integer khnum=0; |
| | | Integer pqnum=0; |
| | | Integer num = 0; |
| | | Integer znum = 0; |
| | | Integer cznum = 0; |
| | | Integer sbnum = 0; |
| | | Integer khnum = 0; |
| | | Integer pqnum = 0; |
| | | Integer zca = 0; |
| | | Integer zcb = 0; |
| | | Integer cza = 0; |
| | |
| | | * 保安员统计 |
| | | */ |
| | | @PostMapping("/selectLi") |
| | | 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); |
| | | 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,String startTime,String endTime,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,startTime,endTime); |
| | | 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,startTime,endTime); |
| | | IPage list = informationService.selectYw(Condition.getPage(query), jurisdictiond, deptid, stats, startTime, endTime); |
| | | return R.data(list); |
| | | } |
| | | } |