wlzboy
2025-10-18 b46065a201c09ce69f111806f2bda4a5f476bc4e
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
package com.ruoyi.system.mapper;
 
import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.DepartmentSyncDTO;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 部门同步Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-18
 */
@DataSource(DataSourceType.SQLSERVER)
public interface DepartmentSyncMapper
{
    /**
     * 查询合作单位下的所有分公司
     * 
     * @return 分公司列表
     */
    List<DepartmentSyncDTO> selectBranchDepartments();
    
    /**
     * 查询转运部下的所有子部门
     * 
     * @return 转运部子部门列表
     */
    List<DepartmentSyncDTO> selectTransportDepartments();
}