|
@ -190,7 +190,7 @@ public class PatrolRoutineWorkServiceImpl extends BaseServiceImpl<PatrolRoutineW |
|
|
throw new EpmetException("查询例行工作分类失败..."); |
|
|
throw new EpmetException("查询例行工作分类失败..."); |
|
|
} |
|
|
} |
|
|
List<String> gridIds = list.stream().map(m -> m.getGridId()).distinct().collect(Collectors.toList()); |
|
|
List<String> gridIds = list.stream().map(m -> m.getGridId()).distinct().collect(Collectors.toList()); |
|
|
Result<List<AllGridsByUserIdResultDTO>> gridNamesResult = govOrgOpenFeignClient.getGridListByGridIds(gridIds); |
|
|
Result<List<AllGridsByUserIdResultDTO>> gridNamesResult = govOrgOpenFeignClient.getAllGridListByGridIds(gridIds); |
|
|
if (!gridNamesResult.success()){ |
|
|
if (!gridNamesResult.success()){ |
|
|
throw new EpmetException("查询网格名字失败..."); |
|
|
throw new EpmetException("查询网格名字失败..."); |
|
|
} |
|
|
} |
|
|