From 5a89dd2cb17af3f310e9cfecf296794d272e035b Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Fri, 16 Aug 2024 18:11:24 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=AD=96=E7=95=A5=E6=A2=B3=E7=90=86=E6=AF=8F=E4=B8=AA=E8=A7=A6?= =?UTF-8?q?=E5=8F=91=E7=82=B9=E7=9A=84=E6=94=B6=E4=BB=B6=E4=BA=BA=EF=BC=8C?= =?UTF-8?q?=E6=B2=A1=E7=94=A8=E7=9A=84=E6=94=B6=E4=BB=B6=E4=BA=BA=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=EF=BC=8C=E5=A6=82=E6=BF=80=E6=B4=BB=E7=9A=84=E5=A4=84?= =?UTF-8?q?=E7=90=86=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1211578056146944]通知策略梳理每个触发点的收件人,没用的收件人去掉,如激活的处理人 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1211578056146944 --- .../constvalue/AutoexecJobNotifyTriggerType.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/neatlogic/framework/autoexec/constvalue/AutoexecJobNotifyTriggerType.java b/src/main/java/neatlogic/framework/autoexec/constvalue/AutoexecJobNotifyTriggerType.java index 248923fb..c748f4fa 100644 --- a/src/main/java/neatlogic/framework/autoexec/constvalue/AutoexecJobNotifyTriggerType.java +++ b/src/main/java/neatlogic/framework/autoexec/constvalue/AutoexecJobNotifyTriggerType.java @@ -16,18 +16,18 @@ along with this program. If not, see .*/ package neatlogic.framework.autoexec.constvalue; import neatlogic.framework.notify.core.INotifyTriggerType; -import neatlogic.framework.util.I18n; +import neatlogic.framework.util.$; public enum AutoexecJobNotifyTriggerType implements INotifyTriggerType { - FAILED("failed", new I18n("作业失败"), new I18n("作业失败时触发通知")), + JOB_FAILED("jobfailed", "nfac.autoexecjobnotifytriggertype.text.jobfailed", "nfac.autoexecjobnotifytriggertype.description.jobfailed"), ; private final String trigger; - private final I18n text; - private final I18n description; + private final String text; + private final String description; - AutoexecJobNotifyTriggerType(String _trigger, I18n _text, I18n _description) { + AutoexecJobNotifyTriggerType(String _trigger, String _text, String _description) { this.trigger = _trigger; this.text = _text; this.description = _description; @@ -40,12 +40,12 @@ public enum AutoexecJobNotifyTriggerType implements INotifyTriggerType { @Override public String getText() { - return text.toString(); + return $.t(text); } @Override public String getDescription() { - return description.toString(); + return $.t(description); } public static String getText(String trigger) { -- Gitee