| package com.xzx.gc.role.mapper;  | 
|   | 
|   | 
| import com.xzx.gc.entity.CoreUser;  | 
| import com.xzx.gc.role.model.CoreUserModel;  | 
| import com.xzx.gc.util.GcMapper;  | 
| import com.xzx.gc.util.SqlResource;import org.apache.ibatis.annotations.Param;  | 
|   | 
| import java.util.List;  | 
| public interface CoreUserMapper extends GcMapper<CoreUser> {  | 
|   | 
|     /**  | 
|      * 根据角色编码查询用户集合  | 
|      * @param roleCode 角色编码  | 
|      * @return  | 
|      */  | 
|     List<CoreUser> getUserByRole(String roleCode);  | 
|   | 
|     List<CoreUserModel> queryByCondtion(CoreUserModel model);  | 
|   | 
|     void batchDelUserByIds(@Param("ids")List<Long> ids);  | 
|   | 
|   | 
| }  |