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
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> {
 
    Map<String,Object> getAllWithPagingQuery(Map map);
 
    @Transactional
    Map<String,Object> insertOne(ManageRole manageRole,List list);
 
    @Transactional
    Map<String,Object> updateManageRole(Map map);
 
    Map<String,Object> getManageRoleByNameFuzzy(Map map);
 
    @Transactional
    Map<String,Object> deleteManageRole(Map map);
 
    ManageRole getRoleByAccountId(Integer accountId);
}