fix: 制修订流程其他起草人定时任务阻塞BUG
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ public class OtherDraftUserUploadDeadlineJob implements Job {
|
||||
}
|
||||
|
||||
private void bundleTaskAndApprovalRecord(List<OtherDraftUserVO> otherDraftUserVOS, List<ProcessApprovalRecord> arList) {
|
||||
Map<String, List<ProcessApprovalRecord>> arMap = arList.stream()
|
||||
Map<String, List<ProcessApprovalRecord>> arMap = arList.stream().filter(p -> StrUtil.isNotBlank(p.getOriginUserId()))
|
||||
.collect(Collectors.groupingBy(ProcessApprovalRecord::getOriginUserId));
|
||||
List<String> alreadyTaskId = new ArrayList<>();
|
||||
otherDraftUserVOS.forEach(o -> alreadyTaskId.add(o.getTaskId()));
|
||||
|
||||
Reference in New Issue
Block a user