package com.vincent.rsf.server.api.service; 
 | 
  
 | 
  
 | 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; 
 | 
import com.vincent.rsf.framework.common.R; 
 | 
import com.vincent.rsf.server.api.controller.erp.params.*; 
 | 
import com.vincent.rsf.server.common.domain.BaseParam; 
 | 
import com.vincent.rsf.server.common.domain.PageParam; 
 | 
import com.vincent.rsf.server.manager.entity.Loc; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * @author Ryan 
 | 
 * @version 1.0 
 | 
 * @title ErpApiService 
 | 
 * @description 
 | 
 * @create 2025/3/4 16:23 
 | 
 */ 
 | 
public interface ReceiveMsgService { 
 | 
  
 | 
    /** 
 | 
     * 采购单同步 
 | 
     * @param orders 
 | 
     * @return 
 | 
     */ 
 | 
    boolean syncPurchasee(List<OrderParams> orders); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/15 
 | 
     * @description: 同步基础物料信息 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    void syncMatnrs(List<BaseMatParms> matnrs); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/15 
 | 
     * @description: 订单信息查询 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R queryOrderStatus(QueryOrderParam queryParams); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/15 
 | 
     * @description: 库位明细同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncLocsDetl(PageParam<Loc, BaseParam> pageParam, QueryWrapper<Loc> wrapper); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/18 
 | 
     * @description: 库位同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncLocs(List<SyncLocsParams> locs); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/18 
 | 
     * @description: 物料分组信息同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncMatGroups(List<SyncMatGroupsParams> matGroupsParams); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/18 
 | 
     * @description: 库区同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncWarehouseAreas(List<LocAreasParams> areasParams); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/18 
 | 
     * @description: 仓库信息同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncWarehouse(List<WarehouseParams> warehouses); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/19 
 | 
     * @description: 同步企业信息 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncCompanies(List<CompaniesParam> companyParams); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/19 
 | 
     * @description: 单据同步--收货通知单/出库单/盘点单 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncCheckOrder(List<SyncOrderParams>  syncOrders, Long loginUserId); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/19 
 | 
     * @description: 调拔单据同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncTransfer(SyncTransferParams transferParams, Long loginUserId); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/20 
 | 
     * @description: 库存调整单同步 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncLocRevise(SyncLocReviseParams reviseParams, Long loginUserId); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/20 
 | 
     * @description: 单据修改--收货通知单/出库单/盘点单 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncOrderUpdate(List<SyncOrderParams> orders); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/21 
 | 
     * @description: 单据删除 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncOrderDelete(List<SyncOrderParams> orders); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/21 
 | 
     * @description: 调拔单明细查询 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R queryTransfer(QueryOrderParam transferParams); 
 | 
  
 | 
    /** 
 | 
     * @author Ryan 
 | 
     * @date 2025/8/22 
 | 
     * @description: 上报盘点差异单 
 | 
     * @version 1.0 
 | 
     */ 
 | 
    R syncCheckDiffs(SyncCheckDiffParams syncParams); 
 | 
} 
 |