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();
|
}
|