|
|
@@ -128,9 +128,11 @@ public class QueryInspectionHandleReportService { |
|
|
|
handlerImageList.add(CommonConfig.imageURL + str); |
|
|
|
} |
|
|
|
inspectionFileHandleReportVo = new InspectionFileHandleReportVo(); |
|
|
|
User user = userMap.get(inspectionFileHandle.getHandlerUser()); |
|
|
|
if (null != user) { |
|
|
|
inspectionFileHandleReportVo.setHandlerUser(user.getRealname()); |
|
|
|
if (CollectionUtil.isNotEmpty(userMap)) { |
|
|
|
User user = userMap.get(inspectionFileHandle.getHandlerUser()); |
|
|
|
if (null != user) { |
|
|
|
inspectionFileHandleReportVo.setHandlerUser(user.getRealname()); |
|
|
|
} |
|
|
|
} |
|
|
|
inspectionFileHandleReportVo.setHandlerResult(inspectionFileHandle.getHandlerResult()); |
|
|
|
inspectionFileHandleReportVo.setHandlerTime(inspectionFileHandle.getHandlerTime()); |
|
|
@@ -179,6 +181,9 @@ public class QueryInspectionHandleReportService { |
|
|
|
*/ |
|
|
|
private Map<String, User> getUserMap(List<InspectionFileHandle> inspectionFileHandleList) { |
|
|
|
List<String> userIdList = inspectionFileHandleList.stream().map(o -> o.getHandlerUser()).collect(Collectors.toList()); |
|
|
|
if (CollectionUtil.isEmpty(userIdList)) { |
|
|
|
return null; |
|
|
|
} |
|
|
|
List<User> userList = userMapper.selectList(new LambdaQueryWrapper<User>() |
|
|
|
.in(User::getId, userIdList) |
|
|
|
.eq(User::getMark, 1)); |