From 7645612abdd26a6c207dd1a1dd8e3fd5f28276ac Mon Sep 17 00:00:00 2001
From: "1437892690@qq.com" <1437892690@qq.com>
Date: Wed, 15 Jan 2025 11:04:57 +0800
Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=B7=A5=E5=8D=95?=
=?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=87=BA=E5=8E=82=E8=87=AA=E5=B8=A6=E7=9A=84?=
=?UTF-8?q?=E5=88=86=E7=B1=BB=E6=94=AF=E6=8C=81=E5=9C=A8=E6=95=B0=E6=8D=AE?=
=?UTF-8?q?=E5=BA=93=E4=BF=AE=E6=94=B9=E6=9F=A5=E8=AF=A2=E7=9A=84=E6=97=B6?=
=?UTF-8?q?=E9=97=B4=E8=8C=83=E5=9B=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
关联 #[1334617888489472]工单中心出厂自带的分类支持在数据库修改查询的时间范围 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1334617888489472
---
.../IProcessTaskStepTaskCrossoverService.java | 33 +++++++++++++++++++
.../framework/process/dto/ProcessTaskVo.java | 17 ++--------
2 files changed, 36 insertions(+), 14 deletions(-)
create mode 100644 src/main/java/neatlogic/framework/process/crossover/IProcessTaskStepTaskCrossoverService.java
diff --git a/src/main/java/neatlogic/framework/process/crossover/IProcessTaskStepTaskCrossoverService.java b/src/main/java/neatlogic/framework/process/crossover/IProcessTaskStepTaskCrossoverService.java
new file mode 100644
index 00000000..c654709f
--- /dev/null
+++ b/src/main/java/neatlogic/framework/process/crossover/IProcessTaskStepTaskCrossoverService.java
@@ -0,0 +1,33 @@
+/*
+ * 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.crossover;
+
+import neatlogic.framework.crossover.ICrossoverService;
+
+public interface IProcessTaskStepTaskCrossoverService extends ICrossoverService {
+
+ /**
+ * 完成任务
+ *
+ * @param id 任务id
+ * @param content 回复内容
+ * @param button 按钮
+ * @param source 来源
+ */
+ Long completeTask(Long id, String content, String button, String source) throws Exception;
+}
diff --git a/src/main/java/neatlogic/framework/process/dto/ProcessTaskVo.java b/src/main/java/neatlogic/framework/process/dto/ProcessTaskVo.java
index e56452da..10d2c09f 100644
--- a/src/main/java/neatlogic/framework/process/dto/ProcessTaskVo.java
+++ b/src/main/java/neatlogic/framework/process/dto/ProcessTaskVo.java
@@ -1,19 +1,18 @@
package neatlogic.framework.process.dto;
+import com.alibaba.fastjson.JSONObject;
+import com.alibaba.fastjson.annotation.JSONField;
import neatlogic.framework.common.constvalue.ApiParamType;
import neatlogic.framework.common.dto.BasePageVo;
import neatlogic.framework.dto.TeamVo;
import neatlogic.framework.dto.UserVo;
import neatlogic.framework.dto.region.RegionVo;
-import neatlogic.framework.process.constvalue.ProcessTaskSourceFactory;
import neatlogic.framework.process.constvalue.ProcessTaskSource;
+import neatlogic.framework.process.constvalue.ProcessTaskSourceFactory;
import neatlogic.framework.process.constvalue.ProcessTaskStatus;
import neatlogic.framework.process.dto.score.ScoreTemplateVo;
import neatlogic.framework.restful.annotation.EntityField;
import neatlogic.framework.util.SnowflakeUtil;
-import com.alibaba.fastjson.JSONArray;
-import com.alibaba.fastjson.JSONObject;
-import com.alibaba.fastjson.annotation.JSONField;
import org.apache.commons.lang3.StringUtils;
import java.util.*;
@@ -88,8 +87,6 @@ public class ProcessTaskVo extends BasePageVo {
private PriorityVo priority;
@EntityField(name = "term.itsm.processtaskformconfig", type = ApiParamType.JSONOBJECT)
private JSONObject formConfig;
- @EntityField(name = "term.itsm.formconfigauthoritylist", type = ApiParamType.JSONARRAY)
- private JSONArray formConfigAuthorityList;
@EntityField(name = "term.itsm.formattributehidelist")
private List formAttributeHideList;
@EntityField(name = "term.itsm.ishasoldformprop", type = ApiParamType.STRING)
@@ -456,14 +453,6 @@ public class ProcessTaskVo extends BasePageVo {
this.formConfig = formConfig;
}
- public JSONArray getFormConfigAuthorityList() {
- return formConfigAuthorityList;
- }
-
- public void setFormConfigAuthorityList(JSONArray formConfigAuthorityList) {
- this.formConfigAuthorityList = formConfigAuthorityList;
- }
-
public List getFormAttributeHideList() {
return formAttributeHideList;
}
--
Gitee