package com.lyms.cm.service.sys; import com.baomidou.mybatisplus.plugins.Page; import com.lyms.cm.entity.sys.SysUsers; import com.lyms.exception.SystemException; import com.lyms.web.service.BaseService; /** *

* 用户服务类 *

* * @author maliang * @since 2017-03-02 */ public interface SysUsersService extends BaseService { /** * 添加用户 * * @param user * @return * @author maliang */ public boolean addUser(SysUsers user) throws SystemException; /** * 修改用户信息 * * @param user * @return * @author maliang */ public boolean updateUser(SysUsers user) throws SystemException; /** * 根据ID获取用户信息 * * @param userId * @return * @author maliang */ public SysUsers getUserById(String userId) throws SystemException; /** * 分页获取用户数据信息 *

* 该方法不携带任何过滤信息 * * @param page * 分页对象 * @return * @throws SystemException */ public Page getUserByPage(Page page) throws SystemException; /** * 启用/停用 *

* 根据用户ID操作 *

* * @param userId * @return * @author maliang */ public boolean enabled(String userId) throws SystemException; /** * 删除用户信息 * * @param userId * @return * @throws SystemException */ public boolean delete(String userId) throws SystemException; }