Browse Source

删除重复

lin 4 years ago
parent
commit
945621ff95

+ 3 - 2
smart-city-platform/src/main/java/com/bz/smart_city/controller/water/WaterMeterReadController.java

@@ -1556,7 +1556,8 @@ public class WaterMeterReadController {
 	public List<DeviceCustomerInfo> getDeviceCustomerInfo(
 			@ApiParam(value = "建筑id", required = true) @RequestParam Integer buildingId
 	) {
-		List<DeviceCustomerInfo> list = deviceService.getDeviceCustomerInfo(buildingId);
-		return list;
+		//List<DeviceCustomerInfo> list = deviceService.getDeviceCustomerInfo(buildingId);
+		//return list;
+		return null;
 	}
 }

+ 0 - 1
smart-city-platform/src/main/java/com/bz/smart_city/service/DeviceService.java

@@ -114,7 +114,6 @@ public interface DeviceService{
 
     Pagination<DeviceDto> simpleQueryDeviceList(Integer siteId,Integer channelId , String deviceNo,String waterMeterNo, int pageNum, int pageSize);
 
-    List<DeviceCustomerInfo> getDeviceCustomerInfo(Integer buildingId);
 
     List<PlanCommunityDTO> findFaultByCommunity(Integer customerId , String communityName) ;
 

+ 0 - 4
smart-city-platform/src/main/java/com/bz/smart_city/service/impl/DeviceServiceImpl.java

@@ -1367,10 +1367,6 @@ public  class DeviceServiceImpl implements DeviceService {
         return deviceMapper.findDeviceDetail(deviceId);
     }
 
-    @Override
-    public List<DeviceCustomerInfo> getDeviceCustomerInfo(Integer buildingId) {
-        return deviceMapper.getDeviceCustomerInfo(buildingId);
-    }
 
     @Override
     public List<PlanCommunityDTO> findFaultByCommunity(Integer customerId, String communityName) {

+ 1 - 0
smart-city-platform/src/main/java/com/bz/smart_city/service/impl/assistant/InstallManagerServiceImpl.java

@@ -742,6 +742,7 @@ public class InstallManagerServiceImpl implements InstallManagerService, Initial
 					}
 				}
 			}
+			dto.setDateUpdate(LocalDateTime.now());
 			installListMapper.updateByPrimaryKeySelective(dto); // 更新计划
 
 		}