feat(REQ-4196) - 签署节点的 JSON 转 BPMN 协议逻辑调整
This commit is contained in:
parent
35f9444d1a
commit
37f16e4c9c
@ -45,10 +45,10 @@ public class BpmnJsonNodeProperty {
|
||||
//************* 审批人指定Start **************//
|
||||
/**
|
||||
* 审批人指定: position(指定岗位), role(指定角色), identity(指定身份), initiatorLeader(发起人主管), initiatorLeaderRecursion(发起人多级主管),
|
||||
* fixedPerson(固定人员) initiatorSpecified(发起人自选)
|
||||
* fixedPerson(固定人员) initiatorSpecified(发起人自选) signerRelated(签署人相关组织)
|
||||
*/
|
||||
@ApiModelProperty(value = "任务节点: 审批人指定", notes = "position: 指定岗位, role: 指定角色, identity: 指定身份, initiatorLeader: " +
|
||||
"发起人主管, initiatorLeaderRecursion: 发起人多级主管, fixedPerson: 固定人员, initiatorSpecified: 发起人自选")
|
||||
"发起人主管, initiatorLeaderRecursion: 发起人多级主管, fixedPerson: 固定人员, initiatorSpecified: 发起人自选, signerRelated: 签署人相关组织")
|
||||
@NotBlank(message = "审批人指定不能为空")
|
||||
private ApproverSpecifyEnum approverSpecify;
|
||||
|
||||
|
||||
@ -231,7 +231,7 @@ public class UserTaskJsonConverter extends AbstractBpmnJsonConverter<UserTask> {
|
||||
}
|
||||
|
||||
// TODO 签署确认节点的一些额外配置,需要在此处处理。
|
||||
if (Objects.nonNull(property.getApproverScope()) && !Objects.equals(NODE_SIGN, node.getType())) {
|
||||
if (Objects.nonNull(property.getApproverScope())) {
|
||||
// 审批人所在范围
|
||||
ExtensionElement approverScopeElement = new ExtensionElement();
|
||||
approverScopeElement.setName(CONFIG_APPROVER_SCOPE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user