| | |
| | | void updateReceivable(@Valid CrmReceivableSaveReqVO updateReqVO); |
| | | |
| | | /** |
| | | * 更新回款流程审批结果 |
| | | * 更新回款的状态(审核/反审核) |
| | | * |
| | | * @param id 回款编号 |
| | | * @param bpmResult BPM 审批结果 |
| | | * @param id 编号 |
| | | * @param status 状态 |
| | | */ |
| | | void updateReceivableAuditStatus(Long id, Integer bpmResult); |
| | | void updateReceivableStatus(Long id, Integer status); |
| | | |
| | | /** |
| | | * 删除回款 |
| | |
| | | * @param id 编号 |
| | | */ |
| | | void deleteReceivable(Long id); |
| | | |
| | | /** |
| | | * 发起回款审批流程 |
| | | * |
| | | * @param id 回款编号 |
| | | * @param userId 用户编号 |
| | | */ |
| | | void submitReceivable(Long id, Long userId); |
| | | |
| | | /** |
| | | * 获得回款 |
| | |
| | | Map<Long, BigDecimal> getReceivablePriceMapByContractId(Collection<Long> contractIds); |
| | | |
| | | /** |
| | | * 获得开票已回款金额 Map(草稿 + 审批中 + 审批通过) |
| | | * |
| | | * @param invoiceIds 开票编号 |
| | | * @return 已回款金额 Map |
| | | */ |
| | | Map<Long, BigDecimal> getReceivablePriceMapByInvoiceId(Collection<Long> invoiceIds); |
| | | |
| | | /** |
| | | * 根据合同编号查询回款数量 |
| | | * |
| | | * @param contractId 合同编号 |