From aef219e6e7e9fb1f3592806d5e64ce714adf6848 Mon Sep 17 00:00:00 2001 From: xyh <18782104331@139.com> Date: 星期五, 18 六月 2021 15:39:51 +0800 Subject: [PATCH] bug-424-【后端-宣传教育-新增 】 宣传人数只能输入大于等于0的正正数,8位长度字符 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventEditDTO.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventEditDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventEditDTO.java index 6b8121b..841b29d 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventEditDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventEditDTO.java @@ -57,7 +57,7 @@ @NotNull(message = "发生区域-网格ID不能为空") private Long gridId; - @Length(max=255) + @Length(max=500) @ApiModelProperty(value = "事件描述", hidden = false, example = "", required = true) @NotNull(message = "事件描述不能为空") private String eventDes; @@ -68,7 +68,7 @@ private String eventClazz; @Max(127) - @ApiModelProperty(value = "危险级别:1(特别重大)、2(重大)、3(较大)、4(一般)", hidden = false, example = "1", required = true) + @ApiModelProperty(value = "危险级别:0 (无) 1(特别重大)、2(重大)、3(较大)、4(一般)", hidden = false, example = "1", required = true) @NotNull(message = "危险级别不能为空") private Integer dangerLevel; -- Gitblit v1.7.1