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 e9b3906c02e5bf64e789d04759ad91568032d004..8d5d3238c07ac39f915dc798aa887073c6ca3075 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);