From 55e184c7a7759ab68c9a1f76160b6b29612d98c2 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Thu, 4 Jul 2024 11:14:46 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E7=AD=96=E7=95=A5=E7=AE=A1=E7=90=86-=E5=A4=8D=E5=88=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=A8=A1=E6=9D=BF=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E7=AD=96=E7=95=A5=E7=AE=A1=E7=90=86=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1191296046170112]通知策略管理-复制默认模板,导致通知策略管理报错 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1191296046170112 --- .../neatlogic/module/tenant/api/notify/NotifyPolicyCopyApi.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/neatlogic/module/tenant/api/notify/NotifyPolicyCopyApi.java b/src/main/java/neatlogic/module/tenant/api/notify/NotifyPolicyCopyApi.java index e9b3906c..8d5d3238 100644 --- a/src/main/java/neatlogic/module/tenant/api/notify/NotifyPolicyCopyApi.java +++ b/src/main/java/neatlogic/module/tenant/api/notify/NotifyPolicyCopyApi.java @@ -93,6 +93,7 @@ public class NotifyPolicyCopyApi extends PrivateApiComponentBase { String name = jsonObj.getString("name"); notifyPolicyVo.setName(name); notifyPolicyVo.setId(null); + notifyPolicyVo.setIsDefault(0); notifyPolicyVo.setFcu(UserContext.get().getUserUuid(true)); if (notifyMapper.checkNotifyPolicyNameIsRepeat(notifyPolicyVo) > 0) { throw new NotifyPolicyNameRepeatException(name); -- Gitee