diff --git a/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java b/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java index 82e74a7..37866c5 100644 --- a/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java +++ b/src/main/java/com/guaiguailang/harmony/service/impl/UserServiceImpl.java @@ -116,6 +116,9 @@ public class UserServiceImpl implements UserService { Map queryConditions = new HashMap<>(); queryConditions.put("excludeUid", uid); queryConditions.put("currentLevel", currentLevel); // 添加当前用户的等级作为查询条件 + System.out.println("==============================" + + queryConditions.toString() + + "============================"); List userInfos; log.info("要查询的用户类型是:{}", userListParam.getUserType()); if (Objects.equals(userListParam.getUserType(), "activate")) { diff --git a/src/main/resources/mapper/UserMapper.xml b/src/main/resources/mapper/UserMapper.xml index 3b47e49..60e11e5 100644 --- a/src/main/resources/mapper/UserMapper.xml +++ b/src/main/resources/mapper/UserMapper.xml @@ -41,24 +41,40 @@ + + + + + + + + + + + + + + + + + -