wlzboy
2 天以前 8cb5d3440208a3be3e772e65f1bd0ec63031ba62
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
33
34
35
36
37
38
39
40
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;
import java.util.Map;
 
/**
 * 部门同步Mapper接口
 * 
 * @author ruoyi
 * @date 2025-10-18
 */
@DataSource(DataSourceType.SQLSERVER)
public interface DepartmentSyncMapper
{
    /**
     * 查询合作单位下的所有分公司
     * 
     * @return 分公司列表
     */
    List<DepartmentSyncDTO> selectBranchDepartments();
    
    /**
     * 查询转运部下的所有子部门
     * 
     * @return 转运部子部门列表
     */
    List<DepartmentSyncDTO> selectTransportDepartments();
    
    /**
     * 查询部门地址信息
     * 
     * @return 部门地址信息列表
     */
    List<Map<String, Object>> selectDepartAddress();
}