Skip to content

Commit b77f840

Browse files
authored
bugfix type defines list<byte> validation (#15)
* update noticeRule and NoticeReceiver, enable multi select * bugfix type defines list<byte> validation
1 parent e742753 commit b77f840

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

common/src/main/java/com/zmops/open/common/entity/manager/NoticeReceiver.java

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public class NoticeReceiver {
7171
@Schema(title = "Notification information method: 0-SMS 1-Email 2-webhook 3-WeChat Official Account 4-Enterprise WeChat Robot 5-DingTalk Robot 6-FeiShu Robot 7-Telegram Bot 8-SlackWebHook 9-Discord Bot",
7272
description = "通知信息方式: 0-手机短信 1-邮箱 2-webhook 3-微信公众号 4-企业微信机器人 5-钉钉机器人 6-飞书机器人 7-Telegram机器人 8-SlackWebHook 9-Discord机器人",
7373
accessMode = READ_WRITE)
74-
@Min(0)
7574
@NotNull
7675
@Convert(converter = JsonByteListAttributeConverter.class)
7776
private List<Byte> type;

common/src/main/java/com/zmops/open/common/entity/manager/NoticeRule.java

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ public class NoticeRule {
104104
@Schema(title = "Notification information method: 0-SMS 1-Email 2-webhook 3-WeChat Official Account 4-Enterprise WeChat Robot 5-DingTalk Robot 6-FeiShu Robot 7-Telegram Bot 8-SlackWebHook 9-Discord Bot",
105105
description = "通知信息方式: 0-手机短信 1-邮箱 2-webhook 3-微信公众号 4-企业微信机器人 5-钉钉机器人 6-飞书机器人 7-Telegram机器人 8-SlackWebHook 9-Discord机器人",
106106
accessMode = READ_WRITE)
107-
@Min(0)
108107
@NotNull
109108
@Convert(converter = JsonByteListAttributeConverter.class)
110109
private List<Byte> type;

0 commit comments

Comments
 (0)