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 0000000000000000000000000000000000000000..c654709f6032c1eb2d5e70e0d26788e9cbc5f5d3 --- /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 e56452da89ecfb40376f19778d7a83bd87c7a4a8..10d2c09fa7bc54aa53656f92ef1d37b6db231946 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; }