leomon
2025-06-05 57b1a48ab07ad479600e1e1f5f9e661f6a9c9b6e
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);