feat: 企标制修订流程分发提交意见最多600人

This commit is contained in:
2024-09-14 10:41:49 +08:00
parent 79a95c8d79
commit af60c3af29
@@ -532,6 +532,11 @@ public class EsRevisionServiceImpl extends ServiceImpl<EsRevisionMapper, Process
}
String workGroup = data.getWorkGroup();
List<String> adviceUserList = Arrays.asList(workGroup.split(","));
// 如果人员超过600则提示
if (adviceUserList.size() > 600) {
log.error("当前提交部门人员超过600人");
throw new JeroBootException("当前提交部门人员超过600人,请重新选择!");
}
runtimeService.setVariableLocal(executionId, "adviceUserList", adviceUserList);
runtimeService.setVariable(executionId, executionId + "-adviceDeadline", adviceDeadline);
runtimeService.setVariable(executionId, "contactExecutionId", executionId);