You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stringsql = "select * from users where user_type like '" + User.ADMINISTRATOR + "' " + orderBy;
115
+
Stringsql = "select u.*, m.profile_id from users u left join user_map m on m.user_id = u.id where u.user_type like '" + User.ADMINISTRATOR + "' " + orderBy;
114
116
115
117
Connectioncon = null;
116
118
try {
@@ -127,6 +129,11 @@ public static SortedSet getAdminUserSet(SortedSet sortedSet) {
127
129
user.setPassword(rs.getString(PASSWORD));
128
130
user.setAuthType(rs.getString(AUTH_TYPE));
129
131
user.setUserType(rs.getString(USER_TYPE));
132
+
if (profileId != null && profileId.equals(rs.getLong(PROFILE_ID))) {
0 commit comments