| | |
| | | * @param receiptPayment |
| | | * @return |
| | | */ |
| | | @PostMapping("/add") |
| | | public AjaxResult receiptPaymentAdd (@RequestBody ReceiptPayment receiptPayment) { |
| | | receiptPaymentService.receiptPaymentAdd(receiptPayment); |
| | | @PostMapping("/saveOrUpdate") |
| | | public AjaxResult receiptPaymentSaveOrUpdate (@RequestBody ReceiptPayment receiptPayment) { |
| | | receiptPaymentService.receiptPaymentSaveOrUpdate(receiptPayment); |
| | | return AjaxResult.success(); |
| | | } |
| | | |
| | |
| | | return AjaxResult.success(receiptPaymentService.receiptPaymentListPage(page,receiptPaymentDto)); |
| | | } |
| | | |
| | | /** |
| | | * 回款登记详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/info") |
| | | public AjaxResult receiptPaymentInfo (Integer id) { |
| | | return AjaxResult.success(receiptPaymentService.receiptPaymentInfo(id)); |
| | | } |
| | | |
| | | |
| | | } |