ソースを参照

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

anderx 3 年 前
コミット
a78b39e898
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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;
 			}
 		}