|  |  | 
 |  |  | package com.zy.asrs.wms.system.service; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.extension.service.IService; | 
 |  |  | import com.zy.asrs.wms.common.domain.BaseParam; | 
 |  |  | import com.zy.asrs.wms.common.domain.PageParam; | 
 |  |  | import com.zy.asrs.wms.common.domain.PageResult; | 
 |  |  | import com.zy.asrs.wms.system.entity.User; | 
 |  |  |  | 
 |  |  | public interface UserService extends IService<User> { | 
 |  |  |  | 
 |  |  |     PageResult<User> pageRel(PageParam<User, BaseParam> pageParam); | 
 |  |  |  | 
 |  |  |     User getByUsername(String username, Long hostId); | 
 |  |  |  | 
 |  |  |     User getByIdRel(Long userId); | 
 |  |  |  | 
 |  |  |     boolean comparePassword(String dbPassword, String inputPassword); | 
 |  |  |  | 
 |  |  |     String encodePassword(String password); | 
 |  |  |  | 
 |  |  |     User superGetById(Long id); | 
 |  |  |  | 
 |  |  | } | 
 |  |  | package com.zy.asrs.wms.system.service;
 | 
 |  |  | 
 | 
 |  |  | import com.baomidou.mybatisplus.extension.service.IService;
 | 
 |  |  | import com.zy.asrs.wms.common.domain.BaseParam;
 | 
 |  |  | import com.zy.asrs.wms.common.domain.PageParam;
 | 
 |  |  | import com.zy.asrs.wms.common.domain.PageResult;
 | 
 |  |  | import com.zy.asrs.wms.system.entity.User;
 | 
 |  |  | 
 | 
 |  |  | public interface UserService extends IService<User> {
 | 
 |  |  | 
 | 
 |  |  |     PageResult<User> pageRel(PageParam<User, BaseParam> pageParam);
 | 
 |  |  | 
 | 
 |  |  |     User getByUsername(String username, Long hostId);
 | 
 |  |  | 
 | 
 |  |  |     User getByIdRel(Long userId);
 | 
 |  |  | 
 | 
 |  |  |     boolean comparePassword(String dbPassword, String inputPassword);
 | 
 |  |  | 
 | 
 |  |  |     String encodePassword(String password);
 | 
 |  |  | 
 | 
 |  |  |     User superGetById(Long id);
 | 
 |  |  | 
 | 
 |  |  |     int removeByHostId(Long hostId);
 | 
 |  |  | 
 | 
 |  |  | }
 |