diff --git a/src/main/java/neatlogic/module/change/notify/handler/ChangeCreateNotifyPolicyHandler.java b/src/main/java/neatlogic/module/change/notify/handler/ChangeCreateNotifyPolicyHandler.java index 7db3f65c0dc943864ed33638a5cfeda85825fae0..6ac5edd184d378e5e3f3c00e8335a6805d77e423 100644 --- a/src/main/java/neatlogic/module/change/notify/handler/ChangeCreateNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/change/notify/handler/ChangeCreateNotifyPolicyHandler.java @@ -27,7 +27,6 @@ import neatlogic.framework.condition.core.IConditionHandler; import neatlogic.framework.dto.ConditionParamVo; import neatlogic.framework.dto.ExpressionVo; import neatlogic.framework.form.constvalue.FormConditionModel; -import neatlogic.framework.notify.core.INotifyPolicyHandlerGroup; import neatlogic.framework.notify.core.NotifyHandlerFactory; import neatlogic.framework.notify.core.NotifyHandlerType; import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; @@ -37,10 +36,12 @@ import neatlogic.framework.process.auth.PROCESS_MODIFY; import neatlogic.framework.process.constvalue.ConditionProcessTaskOptions; import neatlogic.framework.process.constvalue.ProcessTaskGroupSearch; import neatlogic.framework.process.constvalue.ProcessUserType; -import neatlogic.framework.process.notify.constvalue.*; +import neatlogic.framework.process.notify.constvalue.ProcessTaskNotifyParam; +import neatlogic.framework.process.notify.constvalue.ProcessTaskStepNotifyParam; +import neatlogic.framework.process.notify.constvalue.ProcessTaskStepNotifyTriggerType; +import neatlogic.framework.process.notify.constvalue.ProcessTaskStepTaskNotifyParam; import neatlogic.framework.process.notify.core.IDefaultTemplate; import neatlogic.framework.process.notify.core.NotifyDefaultTemplateFactory; -import neatlogic.framework.util.I18nUtils; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Component; @@ -65,10 +66,10 @@ public class ChangeCreateNotifyPolicyHandler extends NotifyPolicyHandlerBase { return PROCESS_MODIFY.class.getSimpleName(); } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return ProcessNotifyPolicyHandlerGroup.TASKSTEP; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return ProcessNotifyPolicyHandlerGroup.TASKSTEP; +// } @Override protected List myNotifyTriggerList() { diff --git a/src/main/java/neatlogic/module/change/notify/handler/ChangeHandleNotifyPolicyHandler.java b/src/main/java/neatlogic/module/change/notify/handler/ChangeHandleNotifyPolicyHandler.java index 0a1fa85b75511859d7b830bd3ade7120198c0a48..749cf6989759124de2d0834bb80d452d6239770b 100644 --- a/src/main/java/neatlogic/module/change/notify/handler/ChangeHandleNotifyPolicyHandler.java +++ b/src/main/java/neatlogic/module/change/notify/handler/ChangeHandleNotifyPolicyHandler.java @@ -12,7 +12,6 @@ import neatlogic.framework.condition.core.IConditionHandler; import neatlogic.framework.dto.ConditionParamVo; import neatlogic.framework.dto.ExpressionVo; import neatlogic.framework.form.constvalue.FormConditionModel; -import neatlogic.framework.notify.core.INotifyPolicyHandlerGroup; import neatlogic.framework.notify.core.NotifyHandlerFactory; import neatlogic.framework.notify.core.NotifyHandlerType; import neatlogic.framework.notify.core.NotifyPolicyHandlerBase; @@ -22,13 +21,11 @@ import neatlogic.framework.process.auth.PROCESS_MODIFY; import neatlogic.framework.process.constvalue.ConditionProcessTaskOptions; import neatlogic.framework.process.constvalue.ProcessTaskGroupSearch; import neatlogic.framework.process.constvalue.ProcessUserType; -import neatlogic.framework.process.notify.constvalue.ProcessNotifyPolicyHandlerGroup; import neatlogic.framework.process.notify.constvalue.ProcessTaskNotifyParam; import neatlogic.framework.process.notify.constvalue.ProcessTaskStepNotifyParam; import neatlogic.framework.process.notify.constvalue.ProcessTaskStepNotifyTriggerType; import neatlogic.framework.process.notify.core.IDefaultTemplate; import neatlogic.framework.process.notify.core.NotifyDefaultTemplateFactory; -import neatlogic.framework.util.I18nUtils; import neatlogic.module.change.notify.constvalue.ChangeHandleNotifyParam; import org.apache.commons.collections4.CollectionUtils; import org.springframework.stereotype.Component; @@ -63,15 +60,6 @@ public class ChangeHandleNotifyPolicyHandler extends NotifyPolicyHandlerBase { return returnList; } -// @Override -// public List getNotifyTriggerListForNotifyTree() { -// List returnList = new ArrayList<>(); -// for (ChangeTriggerType changeNotifyType : ChangeTriggerType.values()) { -// returnList.add(new NotifyTriggerVo(changeNotifyType.getTrigger(), changeNotifyType.getText(), changeNotifyType.getDescription())); -// } -// return returnList; -// } - @Override public List myNotifyTriggerTemplateList(NotifyHandlerType type) { List list = new ArrayList<>(); @@ -177,8 +165,8 @@ public class ChangeHandleNotifyPolicyHandler extends NotifyPolicyHandlerBase { return PROCESS_MODIFY.class.getSimpleName(); } - @Override - public INotifyPolicyHandlerGroup getGroup() { - return ProcessNotifyPolicyHandlerGroup.TASKSTEP; - } +// @Override +// public INotifyPolicyHandlerGroup getGroup() { +// return ProcessNotifyPolicyHandlerGroup.TASKSTEP; +// } }