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/CommonEventReportDTO.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventReportDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventReportDTO.java
index fa4b78c..bd75e40 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventReportDTO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/CommonEventReportDTO.java
@@ -25,7 +25,7 @@
     @NotNull(message = "事件ID不能为空")
     private Long eventId;
 
-    @Length(max=255)
+    @Length(max=255, message = "办理意见长度不能超过255")
     @ApiModelProperty(value = "办理意见", hidden = false, example = "",required = true)
     @NotNull(message = "办理意见不能为空")
     private String processResult;
@@ -41,5 +41,8 @@
 
     @ApiModelProperty(value = "(当前操作)用户姓名", hidden = true, example = "张三")
     private String userName;
+    
+    @ApiModelProperty(value = "(当前操作)用户社区ID", hidden = true, example = "1")
+    private Long communityId;
 
 }

--
Gitblit v1.7.1