| | |
| | | void deletePurchaseInvoice(Long id); |
| | | |
| | | /** |
| | | * 提交来票审批 |
| | | * |
| | | * @param id 编号 |
| | | * @param userId 用户编号 |
| | | */ |
| | | void submitPurchaseInvoice(Long id, Long userId); |
| | | |
| | | /** |
| | | * 更新来票审批结果(BPM 回调) |
| | | * |
| | | * @param id 编号 |
| | | * @param bpmResult BPM 审批结果 |
| | | */ |
| | | void updatePurchaseInvoiceAuditStatus(Long id, Integer bpmResult); |
| | | |
| | | /** |
| | | * 获得来票 |
| | | * |
| | | * @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); |
| | | |
| | | } |