| | |
| | | |
| | | /** |
| | | * 回款登记新增 |
| | | * @param receiptPaymentList |
| | | * @param receiptPayment |
| | | * @return |
| | | */ |
| | | @Override |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public int receiptPaymentSaveOrUpdate(List<ReceiptPayment> receiptPaymentList) { |
| | | for (ReceiptPayment receiptPayment : receiptPaymentList) { |
| | | public int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment) { |
| | | ReceiptPayment byId = receiptPayment; |
| | | if (!ObjectUtils.isEmpty(receiptPayment.getId())){ |
| | | receiptPayment = this.getById(receiptPayment.getId()); |
| | |
| | | } |
| | | } |
| | | salesLedgerProductMapper.updateById(salesLedgerProduct); |
| | | } |
| | | return 1; |
| | | } |
| | | |