| package com.xzx.gc.role.mapper;  | 
|   | 
|   | 
| import com.xzx.gc.entity.CoreOrg;  | 
| import com.xzx.gc.model.query.OrgQuery;  | 
| import com.xzx.gc.util.GcMapper;  | 
| import com.xzx.gc.util.SqlResource;  | 
| import org.springframework.stereotype.Repository;  | 
|   | 
| import java.util.List;  | 
|   | 
| public interface CoreOrgMapper extends GcMapper<CoreOrg> {  | 
|   | 
|     List<CoreOrg> queryOrgByUser(Long userId);  | 
|   | 
|   | 
|     List<String> queryAllOrgCode(List<Long> orgIds);  | 
|   | 
|     CoreOrg getRoot();  | 
|   | 
|     List<CoreOrg> queryByCondtion(OrgQuery query);  | 
| //    void batchDelByIds(List<Long> ids);  | 
|   | 
| }  |