xufenglei
2018-11-15 7e424b1482b9d8971b8b738e7a165f3b09cb29e0
src/main/java/com/moral/service/impl/SensorUnitServiceImpl.java
@@ -80,6 +80,7 @@
        Map<Integer,List<SensorUnit>> resultListMap = new HashMap<>();
        for(Integer sensorId: sensorIds) {
            sensorUnitQuery.setSensorId(sensorId);
            sensorUnitQuery.setIsDelete(false);
            List<SensorUnit> sensorUnitList = sensorUnitMapper.select(sensorUnitQuery);
            if(sensorUnitList!=null&&sensorUnitList.size()>0){
                resultListMap.put(sensorId,sensorUnitList);