仿钉钉流程设计- 抄送节点结构调整

This commit is contained in:
jason 2024-06-21 10:01:13 +08:00
parent 9e41576dc4
commit 234df7bda1

View File

@ -389,16 +389,11 @@ public class SimpleModelUtils {
serviceTask.setImplementation("${bpmCopyTaskDelegate}"); serviceTask.setImplementation("${bpmCopyTaskDelegate}");
// 添加抄送候选人元素 // 添加抄送候选人元素
addCandidateElements(MapUtil.getInt(node.getAttributes(), BpmnModelConstants.USER_TASK_CANDIDATE_STRATEGY), addCandidateElements(node.getCandidateStrategy(), node.getCandidateParam(), serviceTask);
MapUtil.getStr(node.getAttributes(), BpmnModelConstants.USER_TASK_CANDIDATE_PARAM),
serviceTask);
// 添加表单字段权限属性元素 // 添加表单字段权限属性元素
// TODO @芋艿这块关注下哈 // TODO @芋艿这块关注下哈
List<Map<String, String>> fieldsPermissions = MapUtil.get(node.getAttributes(), addFormFieldsPermission(node.getFieldsPermission(), serviceTask);
FORM_FIELD_PERMISSION_ELEMENT, new TypeReference<>() {
});
addFormFieldsPermission(fieldsPermissions, serviceTask);
return serviceTask; return serviceTask;
} }