fix: 80491 企标制修订流程(主起草人上传会议纪要)--校对人(其他起草人) 没有带出
This commit is contained in:
+13
-2
@@ -129,8 +129,15 @@ public class EsRevisionServiceImpl extends ServiceImpl<EsRevisionMapper, Process
|
||||
String processInstanceId = processInstance.getId();
|
||||
// 保存数据
|
||||
data.setProcessInstanceId(processInstanceId);
|
||||
data.getOtherDraftUserVOS().forEach(o -> o.setFinishFlag(YesOrNoEnum.NO.getValue()));
|
||||
data.setOtherDrafterUploadFileJson(data.getOtherDraftUserVOS());
|
||||
List<OtherDraftUserVO> otherDraftUserVOS = data.getOtherDraftUserVOS();
|
||||
if (otherDraftUserVOS != null && !otherDraftUserVOS.isEmpty()) {
|
||||
data.getOtherDraftUserVOS().forEach(o -> o.setFinishFlag(YesOrNoEnum.NO.getValue()));
|
||||
data.setOtherDrafterUploadFileJson(otherDraftUserVOS);
|
||||
data.setProofreader(otherDraftUserVOS.stream()
|
||||
.map(OtherDraftUserVO::getUser)
|
||||
.distinct()
|
||||
.collect(Collectors.joining(",")));
|
||||
}
|
||||
save(data);
|
||||
// 手动设置所有流程变量
|
||||
actFlowCommonService.setProcessVariables(processInstanceId, actVariables);
|
||||
@@ -417,6 +424,10 @@ public class EsRevisionServiceImpl extends ServiceImpl<EsRevisionMapper, Process
|
||||
taskService.setVariable(taskId, "otherDraftUserList", otherDraftUserVOS.stream().map(OtherDraftUserVO::getUser)
|
||||
.collect(Collectors.toList()));
|
||||
otherDraftUserVOS.forEach(o -> o.setFinishFlag(YesOrNoEnum.NO.getValue()));
|
||||
data.setProofreader(otherDraftUserVOS.stream()
|
||||
.map(OtherDraftUserVO::getUser)
|
||||
.distinct()
|
||||
.collect(Collectors.joining(",")));
|
||||
data.setOtherDraftUserVOS(otherDraftUserVOS);
|
||||
data.setOtherDrafterUploadFileJson(otherDraftUserVOS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user