wlzboy
2025-12-04 4f2925f1974844b66225ac70ae35065b8262b315
ruoyi-system/src/main/java/com/ruoyi/system/service/IDepartmentSyncService.java
@@ -2,7 +2,10 @@
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.DepartmentSyncDTO;
import com.ruoyi.system.domain.OrderClassDTO;
import java.util.List;
import java.util.Map;
/**
 * 部门同步Service接口
@@ -26,8 +29,10 @@
     * @param branchDepts 外部传入的分公司数据列表
     * @return 同步结果
     */
    AjaxResult syncBranchDepartments(List<DepartmentSyncDTO> branchDepts);
    AjaxResult syncBranchDepartments(List<DepartmentSyncDTO> branchDepts, List<OrderClassDTO> orderClassDTOs,List<OrderClassDTO> dispatchClassDTOs,List<Map<String,Object>> addressList );
    public void syncDeptAddress(List<Map<String,Object>> addressList);
    /**
     * 同步转运部和子部门数据(使用外部传入的数据源)
     * 
@@ -38,5 +43,5 @@
     * @param transportDepts 外部传入的转运部子部门数据列表
     * @return 同步结果
     */
    AjaxResult syncTransportDepartments(List<DepartmentSyncDTO> transportDepts);
    AjaxResult syncTransportDepartments(List<DepartmentSyncDTO> transportDepts,List<Map<String,Object>> addressList);
}