wzy
2021-11-30 0e5aaeba97021c289485a652ec6af0bb37f92af7
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
package com.xzx.gc.role.mapper;
 
 
import com.xzx.gc.entity.CoreRole;
import com.xzx.gc.entity.CoreRoleMenu;
import com.xzx.gc.model.query.RoleQuery;
import com.xzx.gc.util.GcMapper;
import com.xzx.gc.util.SqlResource;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface RoleConsoleMapper  extends GcMapper<CoreRole>{
 
    /**
     * 根据条件分页查询
     * @param query 查询条件
     */
    List<CoreRole> queryByCondtion(RoleQuery query);
 
    /**
     * 批量删除角色
     * @param ids 角色id
     */
    void batchDelByIds(List<Long> ids);
    
    void batchDeleteRoleFunction(List<Long> ids);
    void batchDeleteRoleMenu(List<Long> ids);
    void batchDeleteUserRole(List<Long> ids);
    
    
 
 
 
   
}