cjl
2023-09-26 36a11d78a2517b523fcf6b6ec622f3f0767f553f
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
74
75
76
77
package com.moral.api.service;
 
import com.moral.api.entity.ManageRole;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;
 
import java.util.List;
import java.util.Map;
 
/**
 * <p>
 * 后台角色表 服务类
 * </p>
 *
 * @author moral
 * @since 2021-03-09
 */
@Transactional
public interface ManageRoleService extends IService<ManageRole> {
 
    /**
     * @Description: 分页查询角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    Map<String,Object> getAllWithPagingQuery(Map map);
 
    /**
     * @Description: 添加角色
     * @Param: [ManageRole, List]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    @Transactional
    Map<String,Object> insertOne(ManageRole manageRole,List list);
 
    /**
     * @Description: 更新角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    @Transactional
    Map<String,Object> updateManageRole(Map map);
 
    /**
     * @Description: 模糊查询角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    Map<String,Object> getManageRoleByNameFuzzy(Map map);
 
    /**
     * @Description: 删除角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    @Transactional
    Map<String,Object> deleteManageRole(Map map);
 
    /**
     * @Description: 通过用户id查询角色查询角色
     * @Param: [Map]
     * @return: Map
     * @Author: 李子杰
     * @Date: 2021/7/26
     */
    ManageRole getRoleByAccountId(Integer accountId);
}