|
|
|
@ -220,11 +220,11 @@ public class BpmTaskAssignRuleServiceImpl implements BpmTaskAssignRuleService {
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.POST.getType())) {
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.POST.getType())) {
|
|
|
|
postApi.validPostList(options);
|
|
|
|
postApi.validPostList(options);
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.USER.getType())) {
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.USER.getType())) {
|
|
|
|
adminUserApi.validUserList(options);
|
|
|
|
adminUserApi.validateUserList(options);
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.USER_GROUP.getType())) {
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.USER_GROUP.getType())) {
|
|
|
|
userGroupService.validUserGroups(options);
|
|
|
|
userGroupService.validUserGroups(options);
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.SCRIPT.getType())) {
|
|
|
|
} else if (Objects.equals(type, BpmTaskAssignRuleTypeEnum.SCRIPT.getType())) {
|
|
|
|
dictDataApi.validateDictDatas(DictTypeConstants.TASK_ASSIGN_SCRIPT,
|
|
|
|
dictDataApi.validateDictDataList(DictTypeConstants.TASK_ASSIGN_SCRIPT,
|
|
|
|
CollectionUtils.convertSet(options, String::valueOf));
|
|
|
|
CollectionUtils.convertSet(options, String::valueOf));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
throw new IllegalArgumentException(format("未知的规则类型({})", type));
|
|
|
|
throw new IllegalArgumentException(format("未知的规则类型({})", type));
|
|
|
|
|