|
@ -611,6 +611,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
//修改通知部门Id(街道Id)
|
|
|
//修改通知部门Id(街道Id)
|
|
|
ItemInformationEntity itemInfoStreetDto = new ItemInformationEntity(); |
|
|
ItemInformationEntity itemInfoStreetDto = new ItemInformationEntity(); |
|
|
BeanUtils.copyProperties(itemInfoDto,itemInfoStreetDto); |
|
|
BeanUtils.copyProperties(itemInfoDto,itemInfoStreetDto); |
|
|
|
|
|
itemInfoStreetDto.setId(null); |
|
|
Result<CompleteDeptDTO> result =adminFeignClient.getCompleteDept(entity.getGridId()); |
|
|
Result<CompleteDeptDTO> result =adminFeignClient.getCompleteDept(entity.getGridId()); |
|
|
CompleteDeptDTO comDeptDto = result.getData(); |
|
|
CompleteDeptDTO comDeptDto = result.getData(); |
|
|
itemInfoStreetDto.setDeptId(comDeptDto.getStreetId().toString()); |
|
|
itemInfoStreetDto.setDeptId(comDeptDto.getStreetId().toString()); |
|
@ -635,6 +636,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
// 通知部门Id(被吹哨部门)
|
|
|
// 通知部门Id(被吹哨部门)
|
|
|
ItemInformationEntity itemInfoEachDto = new ItemInformationEntity(); |
|
|
ItemInformationEntity itemInfoEachDto = new ItemInformationEntity(); |
|
|
BeanUtils.copyProperties(itemInfoDto,itemInfoEachDto); |
|
|
BeanUtils.copyProperties(itemInfoDto,itemInfoEachDto); |
|
|
|
|
|
itemInfoEachDto.setId(null); |
|
|
itemInfoEachDto.setDeptId(itemDto.getDeptId().toString()); |
|
|
itemInfoEachDto.setDeptId(itemDto.getDeptId().toString()); |
|
|
itemInformationService.insert(itemInfoEachDto); |
|
|
itemInformationService.insert(itemInfoEachDto); |
|
|
} |
|
|
} |
|
@ -647,6 +649,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem |
|
|
// 通知部门Id(被吹哨部门)
|
|
|
// 通知部门Id(被吹哨部门)
|
|
|
ItemInformationEntity itemInfoEachDto = new ItemInformationEntity(); |
|
|
ItemInformationEntity itemInfoEachDto = new ItemInformationEntity(); |
|
|
BeanUtils.copyProperties(itemInfoDto,itemInfoEachDto); |
|
|
BeanUtils.copyProperties(itemInfoDto,itemInfoEachDto); |
|
|
|
|
|
itemInfoEachDto.setId(null); |
|
|
itemInfoEachDto.setDeptId(itemDeptId.toString()); |
|
|
itemInfoEachDto.setDeptId(itemDeptId.toString()); |
|
|
itemInformationService.insert(itemInfoEachDto); |
|
|
itemInformationService.insert(itemInfoEachDto); |
|
|
} |
|
|
} |
|
|