| | |
| | | |
| | | /** |
| | | * 统计用户资格异常的数量 |
| | | * |
| | | * @return |
| | | */ |
| | | @PostMapping("/selectExtypeUser") |
| | |
| | | * 公司运营情况进入图表 |
| | | */ |
| | | @PostMapping("/selectTb") |
| | | public R selectTb(String jurisdiction,String enterpriseName) { |
| | | List<Map<Object, Object>> list = informationService.selectTb(jurisdiction, enterpriseName); |
| | | public R selectTb(String jurisdiction, String enterpriseName, Integer current, Integer size) { |
| | | List<Map<Object, Object>> list = informationService.selectTb(jurisdiction, enterpriseName, current, size); |
| | | return R.data(list); |
| | | } |
| | | |
| | |
| | | * 公司经济情况进入图表 |
| | | */ |
| | | @PostMapping("/selectJj") |
| | | public R selectJj(String jurisdiction,String enterpriseName) { |
| | | List<Map<Object, Object>> list = informationService.selectJj(jurisdiction, enterpriseName); |
| | | public R selectJj(String jurisdiction, String enterpriseName, Integer current, Integer size) { |
| | | List<Map<Object, Object>> list = informationService.selectJj(jurisdiction, enterpriseName, current, size); |
| | | return R.data(list); |
| | | } |
| | | |
| | |
| | | * 保安员详情 |
| | | */ |
| | | @PostMapping("/selectUIn") |
| | | public R selectUIn(String deptid,String name,String hold,String photo,String examinationtype,String dispatch,String soil) { |
| | | List<Map<Object, Object>> list = informationService.selectUIn(deptid, name, hold, photo, examinationtype, dispatch,soil); |
| | | public R selectUIn(String deptid, String name, String hold, String photo, String examinationtype, String dispatch, String soil) { |
| | | List<Map<Object, Object>> list = informationService.selectUIn(deptid, name, hold, photo, examinationtype, dispatch, soil); |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * 业务统计明细 |
| | | * 业务统计明细 |
| | | */ |
| | | @PostMapping("/selectDis") |
| | | public R selectDis(String jurisdiction,String name,String fwname) { |
| | | List<Map<Object, Object>> list = informationService.selectDis(jurisdiction, name, fwname); |
| | | public R selectDis(String jurisdiction, String deptid, String fid, Integer current, Integer size) { |
| | | List<Map<Object, Object>> list = informationService.selectDis(jurisdiction, deptid, fid, current, size); |
| | | return R.data(list); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 服务单位下拉 |
| | | */ |
| | | @PostMapping("/selectFw") |
| | | public R selectFw() { |
| | | List<Map<Object, Object>> list = informationService.selectFw(); |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * 公司处罚数量统计 |
| | | */ |
| | | @PostMapping("/selectCf") |
| | | public R selectCf(String jurisdiction) { |
| | | Map<String, Object> map = new HashMap<String, Object>(); |
| | | Integer count = 0; |
| | | List<Map<String, Object>> lists = new ArrayList<>(); |
| | | List<Map<Object, Object>> maps = informationService.selectCf(jurisdiction); |
| | | for (int i = 0; i < maps.size(); i++) { |
| | | String num = maps.get(i).get("num").toString(); |
| | | count += Integer.valueOf(num); |
| | | } |
| | | map.put("count", count); |
| | | map.put("list", maps); |
| | | lists.add(map); |
| | | return R.data(lists); |
| | | } |
| | | |
| | | /** |
| | | * 公司材料不全数量统计 |
| | | */ |
| | | @PostMapping("/selectCl") |
| | | public R selectCl(String jurisdiction) { |
| | | Map<String, Object> map = new HashMap<String, Object>(); |
| | | Integer count = 0; |
| | | List<Map<String, Object>> lists = new ArrayList<>(); |
| | | List<Map<Object, Object>> maps = informationService.selectCl(jurisdiction); |
| | | for (int i = 0; i < maps.size(); i++) { |
| | | String num = maps.get(i).get("num").toString(); |
| | | count += Integer.valueOf(num); |
| | | } |
| | | map.put("count", count); |
| | | map.put("list", maps); |
| | | lists.add(map); |
| | | return R.data(lists); |
| | | } |
| | | |
| | | } |