feat: 企标制修订流程分发提交意见最多600人
This commit is contained in:
+5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user