diff --git a/src/main/java/neatlogic/framework/process/crossover/IProcessTaskCrossoverMapper.java b/src/main/java/neatlogic/framework/process/crossover/IProcessTaskCrossoverMapper.java index f92cc94fc7874d4679de74275795debd952e6705..2ab1c744dc3e3e9e2cc0f2be2557d1ee82943bda 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 5cf53bdcb38027e967676c5fa5660b9d97273204..23386d1fa370b0a4d44dcd35591e7de5e5f21ab8 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); - } - } } }