| | |
| | | } |
| | | |
| | | /** |
| | | * 删除付款登记 |
| | | */ |
| | | @Log(title = "付款登记", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/delete") |
| | | public AjaxResult delete(@RequestBody Long[] ids) { |
| | | return toAjax(paymentRegistrationService.delete(ids)); |
| | | } |
| | | |
| | | /** |
| | | * 获取付款登记详细信息 |
| | | */ |
| | | @GetMapping(value = "/byPurchaseId/{id}") |
| | |
| | | List<PaymentHistoryRecordVo> paymentRecordList = paymentRegistrationService.getPaymentRecordList(supplierId); |
| | | return success(paymentRecordList); |
| | | } |
| | | |
| | | /** |
| | | * 查询付款登记列表 |
| | | * |
| | | * @param paymentRegistrationDto 付款登记 |
| | | * @return 付款登记集合 |
| | | */ |
| | | @GetMapping("/paymentHistoryListPage") |
| | | public IPage<PaymentRegistrationDto> paymentHistoryListPage(Page page, PaymentRegistrationDto paymentRegistrationDto) { |
| | | return paymentRegistrationService.paymentHistoryListPage(page,paymentRegistrationDto); |
| | | } |
| | | } |