liyong
2026-07-10 80ddf4c9c0bcb0f6c31524e0d9f5599c8001e904
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
41
package cn.iocoder.yudao.module.erp.api.purchase;
 
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.erp.api.purchase.dto.ErpPurchaseOrderRespDTO;
 
import java.util.List;
 
/**
 * ERP 采购订单 API 接口
 *
 * @author 芋道源码
 */
public interface ErpPurchaseOrderApi {
 
    String PREFIX = "/rpc-api/erp/purchase-order";
 
    /**
     * 获取采购订单
     *
     * @param id 订单编号
     * @return 采购订单
     */
    CommonResult<ErpPurchaseOrderRespDTO> getPurchaseOrder(Long id);
 
    /**
     * 根据供应商编号获取采购订单列表(已审核状态)
     *
     * @param supplierId 供应商编号
     * @return 采购订单列表
     */
    CommonResult<List<ErpPurchaseOrderRespDTO>> getPurchaseOrderListBySupplierId(Long supplierId);
 
    /**
     * 根据编号列表获取采购订单列表
     *
     * @param ids 编号列表
     * @return 采购订单列表
     */
    CommonResult<List<ErpPurchaseOrderRespDTO>> getPurchaseOrderList(List<Long> ids);
 
}