From a303e40b2d843700f2b9045ca105c81dea97d964 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期一, 09 六月 2025 16:06:42 +0800 Subject: [PATCH] 回款登记记录修改 --- src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java | 41 +++++++++++++++++++++++++++++++++++------ 1 files changed, 35 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java b/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java index 3078365..3e3013e 100644 --- a/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java +++ b/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java @@ -1,7 +1,11 @@ package com.ruoyi.sales.controller; +import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.ruoyi.framework.web.controller.BaseController; import com.ruoyi.framework.web.domain.AjaxResult; +import com.ruoyi.framework.web.page.TableDataInfo; +import com.ruoyi.purchase.dto.InvoicePurchaseDto; import com.ruoyi.sales.dto.ReceiptPaymentDto; import com.ruoyi.sales.pojo.ReceiptPayment; import com.ruoyi.sales.service.ReceiptPaymentService; @@ -13,7 +17,7 @@ @RestController @RequestMapping("/receiptPayment") -public class ReceiptPaymentController { +public class ReceiptPaymentController extends BaseController { @Autowired private ReceiptPaymentService receiptPaymentService; @@ -50,14 +54,13 @@ } /** - * 鍥炴鐧昏鍒嗛〉鏌ヨ - * @param page + * 瀹㈡埛寰�鏉ヨ褰曟煡璇� * @param receiptPaymentDto * @return */ - @GetMapping("/listPage") - public AjaxResult receiptPaymentListPage (Page page, ReceiptPaymentDto receiptPaymentDto) { - return AjaxResult.success(receiptPaymentService.receiptPaymentListPage(page,receiptPaymentDto)); + @GetMapping("/customerInteractions") + public AjaxResult customerInteractions (ReceiptPaymentDto receiptPaymentDto) { + return AjaxResult.success(receiptPaymentService.customerInteractions(receiptPaymentDto)); } /** @@ -111,4 +114,30 @@ public AjaxResult getAmountMouth() { return AjaxResult.success(receiptPaymentService.getAmountMouth()); } + + /** + * 鏌ヨ鍥炴璁板綍 + */ + @GetMapping("/receiptPaymentHistoryList") + public TableDataInfo receiptPaymentHistoryList(ReceiptPaymentDto receiptPaymentDto) { + startPage(); + List<ReceiptPaymentDto> list = receiptPaymentService.receiptPaymentHistoryList(receiptPaymentDto); + return getDataTable(list); + } + + /** + * 鏌ヨ鍥炴璁板綍 + */ + @GetMapping("/receiptPaymentHistoryListPage") + public IPage<ReceiptPaymentDto> receiptPaymentHistoryListPage(Page page, ReceiptPaymentDto receiptPaymentDto) { + return receiptPaymentService.receiptPaymentHistoryListPage(page,receiptPaymentDto); + } + + /** + * 鏌ヨ鍥炴璁板綍涓嶅垎椤� + */ + @GetMapping("/receiptPaymentHistoryListNoPage") + public List<ReceiptPaymentDto> receiptPaymentHistoryListNoPage(ReceiptPaymentDto receiptPaymentDto) { + return receiptPaymentService.receiptPaymentHistoryListNoPage(receiptPaymentDto); + } } -- Gitblit v1.9.3