package com.doumee.biz.system; import com.doumee.dao.system.dto.CreateSystemUserDTO; import com.doumee.dao.system.dto.CreateUserRoleDTO; import com.doumee.dao.system.dto.ResetSystemUserPwdDTO; import com.doumee.dao.system.dto.UpdatePwdDto; import java.util.List; /** * 系统用户业务处理 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ public interface SystemUserBiz { /** * 删除 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void deleteById(String id); /** * 批量删除 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void deleteByIdInBatch(List ids); /** * 修改密码 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void updatePwd(UpdatePwdDto dto); /** * 重置密码 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void resetPwd(ResetSystemUserPwdDTO dto); /** * 创建用户 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void create(CreateSystemUserDTO systemUser); /** * 修改用户信息 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void updateById(CreateSystemUserDTO systemUser); /** * 创建用户角色 * @author Eva.Caesar Liu * @date 2022/03/15 09:54 */ void createUserRole(CreateUserRoleDTO dto); void updateAvatar(String tempFileName); }