From 83479607bc5ffea9ad5e9be36088c7f742ba00d9 Mon Sep 17 00:00:00 2001 From: xyh <18782104331@139.com> Date: 星期二, 29 六月 2021 11:03:17 +0800 Subject: [PATCH] 实有人口导入,走访导出 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventAddDTO.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventAddDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventAddDTO.java index 803bbd9..2d89ae9 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventAddDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/PublicityEventAddDTO.java @@ -8,6 +8,7 @@ import org.hibernate.validator.constraints.URL; import javax.validation.constraints.Max; +import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; import java.util.Date; @@ -75,7 +76,8 @@ @NotNull(message = "宣传对象不能为空") private String propagandaObject; - @Length(max=10) + @Min(1) + @Length(max=8) @ApiModelProperty(value = "宣传人数", hidden = false, example = "", required = true) @NotNull(message = "宣传人数不能为空") private String propagandaNum; -- Gitblit v1.7.1