xin
2025-07-14 a5a0a3c29a97c807cda8846994d1d8df6adeb9e5
oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java
@@ -27,6 +27,8 @@
    User findByUsername(@Param("username") String username);
    User findByOpenid(@Param("openid") String openid);
    User findByEmail(@Param("email") String email);
    User findByPhone(@Param("phone") String phone);
@@ -39,13 +41,9 @@
    List<User> findByRoleId(@Param("roleId") Long roleId);
    List<User> findByRoleDeptId(@Param("deptId") Long deptId);
    List<User> findByMenuId(@Param("menuId") Long menuId);
    int countByJobs(@Param("jobIds") Set<Long> jobIds);
    int countByDepts(@Param("deptIds") Set<Long> deptIds);
    int countByRoles(@Param("roleIds") Set<Long> roleIds);