|
|
|
@ -1229,8 +1229,7 @@ public class DatavServiceImpl implements DatavService { |
|
|
|
superviseReportLambdaQueryWrapper.between(SuperviseReport::getCrtTime, request.getBeginTime(), request.getEndTime()); |
|
|
|
superviseReportLambdaQueryWrapper.between(SuperviseReport::getCrtTime, request.getBeginTime(), request.getEndTime()); |
|
|
|
superviseReportLambdaQueryWrapper.eq(SuperviseReport::getType, "1"); |
|
|
|
superviseReportLambdaQueryWrapper.eq(SuperviseReport::getType, "1"); |
|
|
|
List<SuperviseReport> superviseReportList = superviseReportService.list(superviseReportLambdaQueryWrapper); |
|
|
|
List<SuperviseReport> superviseReportList = superviseReportService.list(superviseReportLambdaQueryWrapper); |
|
|
|
|
|
|
|
List<String> negativeIds = negatives.stream().filter(one -> CheckStatusEnum.TRUE_SET.contains(one.getCheckStatusCode()) || CheckStatusEnum.PART_TRUE_SET.contains(one.getCheckStatusCode())).map(Negative::getId).toList(); |
|
|
|
List<String> negativeIds = negatives.stream().filter(item -> InspectCaseEnum.isItTure(item.getCheckStatus())).map(Negative::getId).toList(); |
|
|
|
|
|
|
|
CompletableFuture.allOf( |
|
|
|
CompletableFuture.allOf( |
|
|
|
CompletableFutureUtil.runSyncObject(() -> { |
|
|
|
CompletableFutureUtil.runSyncObject(() -> { |
|
|
|
long personNumber = negativeIds.isEmpty() ? 0 : negativeBlameService.count(new LambdaQueryWrapper<NegativeBlame>().in(NegativeBlame::getNegativeId, negativeIds) |
|
|
|
long personNumber = negativeIds.isEmpty() ? 0 : negativeBlameService.count(new LambdaQueryWrapper<NegativeBlame>().in(NegativeBlame::getNegativeId, negativeIds) |
|
|
|
|