接口 UserService

所有超级接口:
HiverBaseService<User,Long>
所有已知实现类:
UserServiceImpl

public interface UserService extends HiverBaseService<User,Long>
用户接口

尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负

作者:
Yazhi Li
  • 方法详细资料

    • findByUsername

      User findByUsername(String username)
      通过用户名获取用户
    • findByMobile

      User findByMobile(String mobile)
      通过手机获取用户
    • findByEmail

      User findByEmail(String email)
      通过邮件和状态获取用户
    • findByCondition

      org.springframework.data.domain.Page<User> findByCondition(User user, SearchVo searchVo, org.springframework.data.domain.Pageable pageable)
      多条件分页获取用户
    • findByDepartmentId

      List<User> findByDepartmentId(Long departmentId)
      通过部门id获取
    • findByUsernameLikeAndStatus

      List<User> findByUsernameLikeAndStatus(String username, Integer status)
      通过用户名模糊搜索
    • updateDepartmentTitle

      void updateDepartmentTitle(Long departmentId, String departmentTitle)
      更新部门名称
    • findByDeletedAndStatusAndDepartmentId

      List<User> findByDeletedAndStatusAndDepartmentId(Integer deleted, Integer status, Long departmentId)
      通过部门获得员工列表
    • findByAll

      List<User> findByAll(User user)
      通过条件获得用户列表
    • findByUsernameOrEmailOrMobile

      User findByUsernameOrEmailOrMobile(String username, String email, String mobile)
      搜索用户
      参数:
      username -
      email -
      mobile -
      返回: