From 9a7143b5644cbc4a178c971068fae4cb4bf2e880 Mon Sep 17 00:00:00 2001
From: "1437892690@qq.com" <1437892690@qq.com>
Date: Fri, 20 Jun 2025 17:48:34 +0800
Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=B7=A5=E5=8D=95?=
=?UTF-8?q?=E5=88=9B=E5=BB=BA=E8=87=AA=E5=8A=A8=E5=8C=96=E4=BD=9C=E4=B8=9A?=
=?UTF-8?q?=E6=97=B6=EF=BC=8C=E6=9C=89=E6=AD=A5=E9=AA=A4=E5=A4=84=E7=90=86?=
=?UTF-8?q?=E4=BA=BA=E6=97=B6=E5=B0=86=E5=A4=84=E7=90=86=E4=BA=BA=E4=BD=9C?=
=?UTF-8?q?=E4=B8=BA=E4=BD=9C=E4=B8=9A=E7=9A=84=E6=89=A7=E8=A1=8C=E7=94=A8?=
=?UTF-8?q?=E6=88=B7=EF=BC=8C=E5=90=A6=E5=88=99=E5=B0=86=E7=B3=BB=E7=BB=9F?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=9C=E4=B8=BA=E6=89=A7=E8=A1=8C=E7=94=A8?=
=?UTF-8?q?=E6=88=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
关联 #[1441937939202048]工单创建自动化作业时,有步骤处理人时将处理人作为作业的执行用户,否则将系统用户作为执行用户 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1441937939202048
---
.../IProcessStepHandlerCrossoverUtil.java | 12 +-
.../process/dto/ProcessTaskStepAssignVo.java | 113 ++++++++++++++++++
2 files changed, 124 insertions(+), 1 deletion(-)
create mode 100644 src/main/java/neatlogic/framework/process/dto/ProcessTaskStepAssignVo.java
diff --git a/src/main/java/neatlogic/framework/process/crossover/IProcessStepHandlerCrossoverUtil.java b/src/main/java/neatlogic/framework/process/crossover/IProcessStepHandlerCrossoverUtil.java
index d9c5e6c3..9a6a7cc3 100644
--- a/src/main/java/neatlogic/framework/process/crossover/IProcessStepHandlerCrossoverUtil.java
+++ b/src/main/java/neatlogic/framework/process/crossover/IProcessStepHandlerCrossoverUtil.java
@@ -20,9 +20,11 @@ package neatlogic.framework.process.crossover;
import neatlogic.framework.crossover.ICrossoverService;
import neatlogic.framework.notify.core.INotifyTriggerType;
import neatlogic.framework.process.audithandler.core.IProcessTaskAuditType;
-import neatlogic.framework.process.operationauth.core.IOperationType;
+import neatlogic.framework.process.dto.ProcessTaskStepAssignVo;
import neatlogic.framework.process.dto.ProcessTaskStepVo;
import neatlogic.framework.process.dto.ProcessTaskVo;
+import neatlogic.framework.process.exception.processtask.ProcessTaskException;
+import neatlogic.framework.process.operationauth.core.IOperationType;
import neatlogic.framework.process.stepremind.core.IProcessTaskStepRemindType;
public interface IProcessStepHandlerCrossoverUtil extends ICrossoverService {
@@ -152,4 +154,12 @@ public interface IProcessStepHandlerCrossoverUtil extends ICrossoverService {
* @param currentProcessTaskStepVo 当前步骤信息
*/
void saveForm(ProcessTaskStepVo currentProcessTaskStepVo);
+
+ /**
+ * 解析分配步骤处理人配置
+ * @param currentProcessTaskStepVo
+ * @return
+ * @throws ProcessTaskException
+ */
+ ProcessTaskStepAssignVo analysisAssignConfig(ProcessTaskStepVo currentProcessTaskStepVo) throws ProcessTaskException;
}
diff --git a/src/main/java/neatlogic/framework/process/dto/ProcessTaskStepAssignVo.java b/src/main/java/neatlogic/framework/process/dto/ProcessTaskStepAssignVo.java
new file mode 100644
index 00000000..1772b78f
--- /dev/null
+++ b/src/main/java/neatlogic/framework/process/dto/ProcessTaskStepAssignVo.java
@@ -0,0 +1,113 @@
+/*
+ * Copyright (C) 2025 深圳极向量科技有限公司 All Rights Reserved.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see .
+ */
+
+package neatlogic.framework.process.dto;
+
+import java.util.List;
+
+public class ProcessTaskStepAssignVo {
+ private Integer autoStart;
+ private Integer isOnlyOnceExecute;
+ private String message;
+ private Boolean isAssignException;
+ private String defaultWorkerName;
+ private String stepStatus;
+ private ProcessTaskStepUserVo oldStepUser;
+ private ProcessTaskStepUserVo stepUser;
+ private List stepWorkerList;
+ private List finalStepWorkerList;
+
+ public Integer getAutoStart() {
+ return autoStart;
+ }
+
+ public void setAutoStart(Integer autoStart) {
+ this.autoStart = autoStart;
+ }
+
+ public Integer getIsOnlyOnceExecute() {
+ return isOnlyOnceExecute;
+ }
+
+ public void setIsOnlyOnceExecute(Integer isOnlyOnceExecute) {
+ this.isOnlyOnceExecute = isOnlyOnceExecute;
+ }
+
+ public String getMessage() {
+ return message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+ public Boolean getIsAssignException() {
+ return isAssignException;
+ }
+
+ public void setIsAssignException(Boolean assignException) {
+ isAssignException = assignException;
+ }
+
+ public String getDefaultWorkerName() {
+ return defaultWorkerName;
+ }
+
+ public void setDefaultWorkerName(String defaultWorkerName) {
+ this.defaultWorkerName = defaultWorkerName;
+ }
+
+ public String getStepStatus() {
+ return stepStatus;
+ }
+
+ public void setStepStatus(String stepStatus) {
+ this.stepStatus = stepStatus;
+ }
+
+ public ProcessTaskStepUserVo getOldStepUser() {
+ return oldStepUser;
+ }
+
+ public void setOldStepUser(ProcessTaskStepUserVo oldStepUser) {
+ this.oldStepUser = oldStepUser;
+ }
+
+ public ProcessTaskStepUserVo getStepUser() {
+ return stepUser;
+ }
+
+ public void setStepUser(ProcessTaskStepUserVo stepUser) {
+ this.stepUser = stepUser;
+ }
+
+ public List getStepWorkerList() {
+ return stepWorkerList;
+ }
+
+ public void setStepWorkerList(List stepWorkerList) {
+ this.stepWorkerList = stepWorkerList;
+ }
+
+ public List getFinalStepWorkerList() {
+ return finalStepWorkerList;
+ }
+
+ public void setFinalStepWorkerList(List finalStepWorkerList) {
+ this.finalStepWorkerList = finalStepWorkerList;
+ }
+}
--
Gitee