| | |
| | | } |
| | | } |
| | | |
| | | public Response getDevCountMapForSZ(int userId) { |
| | | try { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | int battGroupCount = battInfMapper.getBattGroupNum(userId); |
| | | //电池单体总数 |
| | | int battGroupMonCount = battInfMapper.getBattGroupMonNum(userId); |
| | | int devCount = battInfMapper.getDevNum(userId); |
| | | int powerNum = powerInfService.getNum(userId); |
| | | List<StationInf> stationInfList = stationInfService.getStationInfList(userId); |
| | | int stationNum = stationInfService.getStation(userId); |
| | | int hrDisNum = testInfService.getHrQuarterZC(userId); |
| | | map.put("battGroupCount", battGroupCount); |
| | | map.put("battGroupMonCount", battGroupMonCount); |
| | | 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 Response getDevCountMapJY() { |
| | | try { |