| 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); | 
|      | 
|      | 
|   | 
|   | 
|   | 
|     | 
| } |