From 694a37a3199dbb6a0744d2a4eb9632d01983c887 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Mon, 13 May 2024 17:37:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=90=8E=E7=AB=AF-?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=89=A9=E5=B1=95=E5=B1=9E=E6=80=A7=E9=85=8D?= =?UTF-8?q?=E7=BD=AEformExtendConfig=E6=94=BE=E5=9C=A8=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E9=85=8D=E7=BD=AEformConfig=E5=86=85=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1155818207019008]后端-表单扩展属性配置formExtendConfig放在表单配置formConfig内部 http://192.168.0.96:8090/demo/rdm.html#/task-detail/939050947543040/939050947543050/1155818207019008 --- .../IProcessTaskCrossoverMapper.java | 2 -- .../core/ProcessStepHandlerBase.java | 25 ------------------- 2 files changed, 27 deletions(-) diff --git a/src/main/java/neatlogic/framework/process/crossover/IProcessTaskCrossoverMapper.java b/src/main/java/neatlogic/framework/process/crossover/IProcessTaskCrossoverMapper.java index f92cc94f..2ab1c744 100644 --- a/src/main/java/neatlogic/framework/process/crossover/IProcessTaskCrossoverMapper.java +++ b/src/main/java/neatlogic/framework/process/crossover/IProcessTaskCrossoverMapper.java @@ -154,8 +154,6 @@ public interface IProcessTaskCrossoverMapper extends ICrossoverService { void insertProcessTaskTimeCost(ProcessTaskTimeCostVo processTaskTimeCostVo); - int insertProcessTaskFormExtendAttribute(ProcessTaskFormAttributeVo processTaskFormAttributeVo); - int updateProcessTaskStepStatus(ProcessTaskStepVo processTaskStepVo); int updateProcessTaskStatus(ProcessTaskVo processTaskVo); diff --git a/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java b/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java index 5cf53bdc..23386d1f 100644 --- a/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java +++ b/src/main/java/neatlogic/framework/process/stephandler/core/ProcessStepHandlerBase.java @@ -32,7 +32,6 @@ import neatlogic.framework.dto.RoleTeamVo; import neatlogic.framework.dto.TeamVo; import neatlogic.framework.dto.UserVo; import neatlogic.framework.form.dao.mapper.FormMapper; -import neatlogic.framework.form.dto.FormAttributeVo; import neatlogic.framework.form.dto.FormVersionVo; import neatlogic.framework.fulltextindex.core.FullTextIndexHandlerFactory; import neatlogic.framework.fulltextindex.core.IFullTextIndexHandler; @@ -1811,30 +1810,6 @@ public abstract class ProcessStepHandlerBase implements IProcessStepHandler { processTaskFormVo.setFormName(formVersionVo.getFormName()); processTaskCrossoverMapper.insertProcessTaskForm(processTaskFormVo); processTaskCrossoverMapper.insertIgnoreProcessTaskFormContent(processTaskFormVo); - - List formAttributeList = formMapper.getFormExtendAttributeListByFormUuidAndFormVersionUuid(formVersionVo.getFormUuid(), formVersionVo.getUuid()); - if (CollectionUtils.isNotEmpty(formAttributeList)) { - for (FormAttributeVo formAttributeVo : formAttributeList) { - ProcessTaskFormAttributeVo processTaskFormAttributeVo = new ProcessTaskFormAttributeVo(); - processTaskFormAttributeVo.setProcessTaskId(processTaskVo.getId()); - processTaskFormAttributeVo.setFormUuid(formAttributeVo.getFormUuid()); - processTaskFormAttributeVo.setParentUuid(formAttributeVo.getParentUuid()); - processTaskFormAttributeVo.setTag(formAttributeVo.getTag()); - processTaskFormAttributeVo.setKey(formAttributeVo.getKey()); - processTaskFormAttributeVo.setUuid(formAttributeVo.getUuid()); - processTaskFormAttributeVo.setLabel(formAttributeVo.getLabel()); - processTaskFormAttributeVo.setType(formAttributeVo.getType()); - processTaskFormAttributeVo.setHandler(formAttributeVo.getHandler()); - - ProcessTaskFormVo processTaskFormAttributeConfigVo = new ProcessTaskFormVo(); - processTaskFormAttributeConfigVo.setFormContent(formAttributeVo.getConfig().toJSONString()); - - processTaskFormAttributeVo.setConfigHash(processTaskFormAttributeConfigVo.getFormContentHash()); - - processTaskCrossoverMapper.insertIgnoreProcessTaskFormContent(processTaskFormAttributeConfigVo); - processTaskCrossoverMapper.insertProcessTaskFormExtendAttribute(processTaskFormAttributeVo); - } - } } } -- Gitee