| 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  dm | 
|  * @since 2025/03/31 16:44 | 
|  */ | 
| public interface SystemUserBiz { | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param id 用户ID | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 批量删除 | 
|      * | 
|      * @param ids 用户ID列表 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 修改密码 | 
|      * | 
|      * @param dto 详见UpdatePwdDto | 
|      */ | 
|     void updatePwd(UpdatePwdDto dto); | 
|   | 
|     /** | 
|      * 重置密码 | 
|      * | 
|      * @param dto 详见ResetSystemUserPwdDTO | 
|      */ | 
|     void resetPwd(ResetSystemUserPwdDTO dto); | 
|   | 
|     /** | 
|      * 创建用户 | 
|      * | 
|      * @param systemUser 详见CreateSystemUserDTO | 
|      */ | 
|     void create(CreateSystemUserDTO systemUser); | 
|   | 
|     /** | 
|      * 修改用户信息 | 
|      * | 
|      * @param systemUser 详见CreateSystemUserDTO | 
|      */ | 
|     void updateById(CreateSystemUserDTO systemUser); | 
|   | 
|     /** | 
|      * 创建用户角色 | 
|      * | 
|      * @param dto 详见CreateUserRoleDTO | 
|      */ | 
|     void createUserRole(CreateUserRoleDTO dto); | 
| } |