diff --git a/epmet-module/resi-hall/resi-hall-client/src/main/java/com/epmet/dto/form/PublishSuggestionFormDTO.java b/epmet-module/resi-hall/resi-hall-client/src/main/java/com/epmet/dto/form/PublishSuggestionFormDTO.java
index 1261a5e83f..367a1590d3 100644
--- a/epmet-module/resi-hall/resi-hall-client/src/main/java/com/epmet/dto/form/PublishSuggestionFormDTO.java
+++ b/epmet-module/resi-hall/resi-hall-client/src/main/java/com/epmet/dto/form/PublishSuggestionFormDTO.java
@@ -30,6 +30,6 @@ public class PublishSuggestionFormDTO implements Serializable {
@NotNull(message = "是否匿名不能为空", groups = {AddUserInternalGroup.class})
private Boolean publicFlag;
- @Length(max = 500, message = "内容不能超过500字", groups = {AddUserShowGroup.class})
+ @Length(min = 1, max = 500, message = "内容不能为空,且不能超过500字", groups = {AddUserShowGroup.class})
private String suggestion;
}
diff --git a/epmet-user/epmet-user-server/src/main/resources/mapper/GovStaffRoleDao.xml b/epmet-user/epmet-user-server/src/main/resources/mapper/GovStaffRoleDao.xml
index 42ad1a45ab..7712a0b58c 100644
--- a/epmet-user/epmet-user-server/src/main/resources/mapper/GovStaffRoleDao.xml
+++ b/epmet-user/epmet-user-server/src/main/resources/mapper/GovStaffRoleDao.xml
@@ -132,11 +132,13 @@
gov_staff_role
WHERE
DEL_FLAG = 0
- AND (
-
- ID = #{roleId}
-
+
+ AND (
+
+ ID = #{roleId}
+
)
+