diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportBillLoadingAsyncService.java b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportBillLoadingAsyncService.java index 32ba2e88d..048211723 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportBillLoadingAsyncService.java +++ b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportBillLoadingAsyncService.java @@ -97,15 +97,15 @@ public class ReportBillLoadingAsyncService implements IReportBillLoadingAsyncSer userIds.add(detailsVO.getExamineUser()); } } -// R> listR = userClient.userInfoByIds(AuthUtil.getTenantId(), CollUtil.join(userIds, ",")); -// if (ObjectUtil.equal(ReportConstants.HTTP_SUCCESS_CODE, listR.getCode())) { -// List data = listR.getData(); -// Map collect = data.stream().collect(Collectors.toMap(User::getId, User::getName)); -// for (BillLoadingDetailsVO detailsVO : detailsPage) { -// detailsVO.setScanUser(collect.get(detailsVO.getScanUser())); -// detailsVO.setExamineUser(collect.get(detailsVO.getExamineUser())); -// } -// } + R> listR = userClient.userInfoByIds(AuthUtil.getTenantId(), CollUtil.join(userIds, ",")); + if (ObjectUtil.equal(ReportConstants.HTTP_SUCCESS_CODE, listR.getCode())) { + List data = listR.getData(); + Map collect = data.stream().collect(Collectors.toMap(User::getId, User::getName)); + for (BillLoadingDetailsVO detailsVO : detailsPage) { + detailsVO.setScanUser(collect.get(detailsVO.getScanUser())); + detailsVO.setExamineUser(collect.get(detailsVO.getExamineUser())); + } + } } return page.setRecords(detailsPage);