Merge branch 'feature/REQ-4586' into dev

This commit is contained in:
wangli 2025-07-16 10:30:33 +08:00
commit bcb853b1e7
2 changed files with 4 additions and 0 deletions

View File

@ -44,6 +44,7 @@ import java.util.function.Function;
import java.util.stream.Collectors;
import static cn.axzo.workflow.common.code.FormInstanceRespCode.FORM_FIELD_VALIDATOR_ERROR;
import static cn.axzo.workflow.common.constant.BpmnConstants.CLOSE_PROCESS_ASSIGNER;
import static cn.axzo.workflow.common.constant.BpmnConstants.COMMENT_TYPE_ADVICE;
import static cn.axzo.workflow.common.constant.BpmnConstants.COMMENT_TYPE_OPERATION_DESC;
import static cn.axzo.workflow.common.constant.BpmnConstants.INTERNAL_SPECIFY_NEXT_APPROVER;
@ -177,6 +178,8 @@ public class CustomApproveTaskWithFormCmd extends AbstractCommand<Void> implemen
// 记录电子签名的图片
recordSignature(task, runtimeService);
runtimeService.setVariable(task.getProcessInstanceId(), CLOSE_PROCESS_ASSIGNER, approver);
executeSynchronous(task, taskService, runtimeService, commandContext, historicTaskInstance.getTenantId());
return null;
}

View File

@ -327,6 +327,7 @@ public class TaskEntityEventHandle implements EntityEventHandle<TaskEntity> {
.needs(ListNodeUserReq.Needs.builder()
.job(true)
.unit(true)
.node(true)
.cooperateShip(true)
.personProfile(true)
.workspace(true)