ZhuDongming
2019-06-05 97333bd4d1bfa72f98fc32a6ac459cff4c225f3c
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);