Browse Source

修改管理员名称审核人员名称修改开发

anderx 3 years ago
parent
commit
a78b39e898
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/goafanti/common/utils/AsyncUtils.java

+ 1 - 1
src/main/java/com/goafanti/common/utils/AsyncUtils.java

@@ -501,7 +501,7 @@ public class AsyncUtils {
 
 	private boolean Rolescontains(List<Role> roles, String roleType) {
 		for (Role role : roles) {
-			if (role.getRoleType().equals(roleType)){
+			if (role.getRoleType().equals(Integer.valueOf(roleType))){
 				return true;
 			}
 		}