| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public int receiptPaymentAdd(ReceiptPayment receiptPayment) { |
| | | return receiptPaymentMapper.insert(receiptPayment); |
| | | public int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment) { |
| | | if(null==receiptPayment.getId()){ |
| | | return receiptPaymentMapper.insert(receiptPayment); |
| | | }else { |
| | | return receiptPaymentMapper.updateById(receiptPayment); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | public IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, ReceiptPaymentDto receiptPaymentDto) { |
| | | return receiptPaymentMapper.receiptPaymentListPage(page, receiptPaymentDto); |
| | | } |
| | | |
| | | /** |
| | | * 回款登记详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @Override |
| | | public ReceiptPaymentDto receiptPaymentInfo(Integer id) { |
| | | return receiptPaymentMapper.receiptPaymentInfo(id); |
| | | } |
| | | } |