类 UserServiceImpl
java.lang.Object
plus.hiver.common.base.HiverBaseServiceImpl<User,Long,UserDao>
plus.hiver.common.serviceimpl.UserServiceImpl
- 所有已实现的接口:
HiverBaseService<User,,Long> UserService
@Service
@Transactional
@CacheConfig(cacheNames="user")
public class UserServiceImpl
extends HiverBaseServiceImpl<User,Long,UserDao>
implements UserService
用户接口实现
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
字段概要
从类继承的字段 plus.hiver.common.base.HiverBaseServiceImpl
dao -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明通过条件获得用户列表org.springframework.data.domain.Page<User>findByCondition(User user, SearchVo searchVo, org.springframework.data.domain.Pageable pageable) 多条件分页获取用户findByDeletedAndStatusAndDepartmentId(Integer delFlag, Integer status, Long departmentId) 通过部门获得员工列表findByDepartmentId(Long departmentId) 通过部门id获取findByEmail(String email) 通过邮件和状态获取用户findByMobile(String mobile) 通过手机获取用户findByUsername(String username) 通过用户名获取用户findByUsernameLikeAndStatus(String username, Integer status) 通过用户名模糊搜索findByUsernameOrEmailOrMobile(String username, String email, String mobile) 搜索用户voidupdateDepartmentTitle(Long departmentId, String departmentTitle) 更新部门名称从类继承的方法 plus.hiver.common.base.HiverBaseServiceImpl
count, delete, delete, delete, deleteAllById, findAll, findAll, findAll, findById, flush, get, getAll, getTotalCount, save, saveOrUpdateAll, update从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 plus.hiver.common.base.HiverBaseService
count, delete, delete, delete, deleteAllById, findAll, findAll, findAll, findById, flush, get, getAll, getTotalCount, save, saveOrUpdateAll, update
-
构造器详细资料
-
UserServiceImpl
-
-
方法详细资料
-
findByUsername
从接口复制的说明:UserService通过用户名获取用户- 指定者:
findByUsername在接口中UserService
-
findByMobile
从接口复制的说明:UserService通过手机获取用户- 指定者:
findByMobile在接口中UserService
-
findByEmail
从接口复制的说明:UserService通过邮件和状态获取用户- 指定者:
findByEmail在接口中UserService
-
userToDTO
-
findByCondition
public org.springframework.data.domain.Page<User> findByCondition(User user, SearchVo searchVo, org.springframework.data.domain.Pageable pageable) 从接口复制的说明:UserService多条件分页获取用户- 指定者:
findByCondition在接口中UserService
-
findByDepartmentId
从接口复制的说明:UserService通过部门id获取- 指定者:
findByDepartmentId在接口中UserService
-
findByUsernameLikeAndStatus
从接口复制的说明:UserService通过用户名模糊搜索- 指定者:
findByUsernameLikeAndStatus在接口中UserService
-
updateDepartmentTitle
从接口复制的说明:UserService更新部门名称- 指定者:
updateDepartmentTitle在接口中UserService
-
findByDeletedAndStatusAndDepartmentId
public List<User> findByDeletedAndStatusAndDepartmentId(Integer delFlag, Integer status, Long departmentId) 从接口复制的说明:UserService通过部门获得员工列表 -
findByAll
从接口复制的说明:UserService通过条件获得用户列表- 指定者:
findByAll在接口中UserService
-
findByUsernameOrEmailOrMobile
从接口复制的说明:UserService搜索用户- 指定者:
findByUsernameOrEmailOrMobile在接口中UserService- 返回:
-