| package com.xzx.gc.role.mapper;  | 
|   | 
|   | 
| import com.xzx.gc.entity.CoreUserRole;  | 
| import com.xzx.gc.util.GcMapper;  | 
| import com.xzx.gc.util.SqlResource;import org.apache.ibatis.annotations.Param;  | 
|   | 
| import java.util.List;  | 
| public interface CoreUserRoleMapper extends GcMapper<CoreUserRole> {  | 
|   | 
|   | 
|     List<CoreUserRole> queryRoleByUserId(@Param("userId")Long userId, @Param("orgId")Long orgId);  | 
|   | 
|     List<CoreUserRole> queryPartnerRoleByUserId(@Param("userId")Long userId);  | 
| }  |