| 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 org.springframework.web.multipart.MultipartFile; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 系统用户业务处理 | 
|  * @author Eva.Caesar Liu | 
|  * @date 2023/03/21 14:49 | 
|  */ | 
| public interface SystemUserBiz { | 
|   | 
|     /** | 
|      * 删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 批量删除 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 修改密码 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void updatePwd(UpdatePwdDto dto); | 
|   | 
|     /** | 
|      * 重置密码 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void resetPwd(ResetSystemUserPwdDTO dto); | 
|   | 
|     /** | 
|      * 创建用户 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void create(CreateSystemUserDTO systemUser); | 
|   | 
|     /** | 
|      * 修改用户信息 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void updateById(CreateSystemUserDTO systemUser); | 
|   | 
|     /** | 
|      * 创建用户角色 | 
|      * @author Eva.Caesar Liu | 
|      * @date 2023/03/21 14:49 | 
|      */ | 
|     void createUserRole(CreateUserRoleDTO dto); | 
|   | 
|     /** | 
|      * 用户批量导入 | 
|      * @param file | 
|      * @return | 
|      */ | 
|     Integer importSystemUserBatch(MultipartFile file); | 
| } |