jinpengyong
2021-10-13 0197c2fcac5fdb701ff91dcea0d98ec226bc008d
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
package com.moral.api.service;
 
import com.moral.api.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moral.api.pojo.dto.user.UserDTO;
import com.moral.api.pojo.dto.user.UserQueryDTO;
import com.moral.api.pojo.form.user.UserDeleteForm;
import com.moral.api.pojo.form.user.UserInsertForm;
import com.moral.api.pojo.form.user.UserQueryForm;
import com.moral.api.pojo.form.user.UserUpdateForm;
 
/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author moral
 * @since 2021-03-09
 */
public interface UserService extends IService<User> {
 
    /**
    * @Description: 查询所有组织的admin用户
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.user.UserQueryDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    UserQueryDTO queryUsers(UserQueryForm form);
 
    /**
    * @Description: 更新组织的admin用户
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.user.UserDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    UserDTO updateUser(UserUpdateForm form);
 
    /**
    * @Description: 插入组织的admin用户
            * @Param: [form]
            * @return: com.moral.api.pojo.dto.user.UserDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    UserDTO insertUser(UserInsertForm form);
 
    /**
    * @Description: 删除组织的时候调用,删除组织下的所有用户
            * @Param: [organizationId]
            * @return: com.moral.api.pojo.dto.user.UserDTO
            * @Author: 陈凯裕
            * @Date: 2021/5/20
            */
    UserDTO deleteUsersByOrganizationId(Integer organizationId);
 
}