| | |
| | | } |
| | | } |
| | | |
| | | //山西晋源特定接口 |
| | | public Response getDevCountMapJY() { |
| | | try { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | int battGroupCount = battInfMapper.getBattGroupNumJY(); |
| | | int devCount = battInfMapper.getDevNumJY(); |
| | | int powerNum = powerInfService.getNumJY(); |
| | | List<StationInf> stationInfList = stationInfService.getStationInfListJY(); |
| | | int stationNum = stationInfService.getStationJY(); |
| | | int hrDisNum = testInfService.getHrQuarterZCJY(); |
| | | map.put("battGroupCount", battGroupCount); |
| | | map.put("devCount", devCount); |
| | | map.put("powerNum", powerNum); |
| | | map.put("stationNum",stationNum); |
| | | map.put("stationInfList",stationInfList); |
| | | map.put("checkCapNum",hrDisNum); |
| | | return new Response().setII(1,true, map,""); |
| | | }catch (Exception e){ |
| | | return new Response<>().set(1,false,"发生异常:"+e.getCause()); |
| | | } |
| | | } |
| | | |
| | | //大屏 |
| | | public List<Battinf> getBattGroupList(int userId) { |
| | | return battInfMapper.getBattGroupList(userId); |
| | | } |
| | | //山西晋源特定接口 |
| | | public List<Battinf> getBattGroupListJY() { |
| | | return battInfMapper.getBattGroupListJY(); |
| | | } |
| | | |
| | | //管理员首页:基础资源信息 |
| | | @Transactional |