| | |
| | | void deletePurchaseInvoice(Long id); |
| | | |
| | | /** |
| | | * 更新来票的状态(审核/反审核) |
| | | * |
| | | * @param id 编号 |
| | | * @param status 状态 |
| | | */ |
| | | void updatePurchaseInvoiceStatus(Long id, Integer status); |
| | | |
| | | /** |
| | | * 获得来票 |
| | | * |
| | | * @param id 编号 |
| | |
| | | PageResult<ErpPurchaseInvoiceDO> getPurchaseInvoicePage(ErpPurchaseInvoicePageReqVO pageReqVO); |
| | | |
| | | /** |
| | | * 根据采购订单编号和审批状态获得来票列表 |
| | | * 根据采购订单编号获得来票列表 |
| | | * |
| | | * @param orderId 采购订单编号 |
| | | * @param auditStatuses 审批状态集合 |
| | | * @return 来票列表 |
| | | */ |
| | | List<ErpPurchaseInvoiceDO> getPurchaseInvoiceListByOrderIdAndStatus(Long orderId, Collection<Integer> auditStatuses); |
| | | List<ErpPurchaseInvoiceDO> getPurchaseInvoiceListByOrderId(Long orderId); |
| | | |
| | | /** |
| | | * 根据供应商编号和审批状态获得来票列表 |
| | | * 根据供应商编号获得来票列表 |
| | | * |
| | | * @param supplierId 供应商编号 |
| | | * @param auditStatuses 审批状态集合 |
| | | * @return 来票列表 |
| | | */ |
| | | List<ErpPurchaseInvoiceDO> getPurchaseInvoiceListBySupplierIdAndStatus(Long supplierId, Collection<Integer> auditStatuses); |
| | | |
| | | /** |
| | | * 获得待审核来票数量 |
| | | * |
| | | * @return 数量 |
| | | */ |
| | | Long getAuditInvoiceCount(); |
| | | List<ErpPurchaseInvoiceDO> getPurchaseInvoiceListBySupplierId(Long supplierId); |
| | | |
| | | } |