xin
2025-06-24 b5e0a4f030f4741825b7a8d3d65bc1c2ba616ea1
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);