jiangping
2024-09-09 c47f7b9c4899036c52ad0e4f46c4aff7102110bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
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);
}