From 1a054c486c9037b7cb0bca5c4472c628d1d1c36c Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期一, 28 六月 2021 16:54:06 +0800 Subject: [PATCH] 解决代码被合并后删除问题 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActWorkGuideVO.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActWorkGuideVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActWorkGuideVO.java index 4d5e582..f82766f 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActWorkGuideVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActWorkGuideVO.java @@ -27,13 +27,16 @@ private String title; @ApiModelProperty("办事指南内容") - @NotNull(groups = {AddGroup.class}, message = "内容不能为空") - @Length(groups = {AddGroup.class}, max = 500) + @NotBlank(groups = {AddGroup.class}, message = "内容不能为空") + @Length(groups = {AddGroup.class}, max = 5000) private String content; @ApiModelProperty("办理时间") private String timeAt; + @ApiModelProperty("创建时间") + private String createAt; + @ApiModelProperty("办理地点") private String address; -- Gitblit v1.7.1