彭雪彬
2025-07-15 a0801ab3f16bd3d967c220c5925ad02673ce1baa
oying-system/src/main/java/com/oying/modules/system/mapper/UserMapper.java
@@ -29,6 +29,8 @@
    User findByOpenid(@Param("openid") String openid);
    User findByRiderOpenId(@Param("riderOpenId") String riderOpenId);
    User findByEmail(@Param("email") String email);
    User findByPhone(@Param("phone") String phone);
@@ -41,15 +43,12 @@
    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);
    void resetPwd(@Param("userIds") Set<Long> userIds, @Param("pwd") String pwd);
}