From 7e8edd4b59fb22146b90d01ca38f75148f3fd774 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期一, 20 四月 2026 17:57:18 +0800
Subject: [PATCH] feat(bom): 添加BOM管理功能模块,工序 管理,基础 - 新增CustomerPrivatePoolMapper.xml实现客户私池映射 - 添加SysLoginController支持登录验证和用户信息获取 - 创建TechnologyBomController提供BOM的增删改查接口 - 定义TechnologyBomDto数据传输对象 - 实现TechnologyBomMapper和相关XML映射文件 - 开发TechnologyBomService业务逻辑层 - 添加TechnologyBomStructure结构管理功能 - 集成Excel导入导出BOM数据功能 - 实现BOM结构树形展示和维护功能

---
 src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java b/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java
index 0801107..aa10b54 100644
--- a/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java
+++ b/src/main/java/com/ruoyi/sales/controller/ReceiptPaymentController.java
@@ -10,6 +10,7 @@
 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.InvoiceLedgerDto;
 import com.ruoyi.sales.dto.ReceiptPaymentDto;
 import com.ruoyi.sales.dto.ReceiptPaymentRecordDto;
 import com.ruoyi.sales.dto.SalesLedgerDto;
@@ -18,6 +19,7 @@
 import com.ruoyi.sales.service.ReceiptPaymentService;
 import io.swagger.annotations.ApiModelProperty;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.*;
 
 import javax.servlet.http.HttpServletResponse;
@@ -40,7 +42,7 @@
      * @return
      */
     @PostMapping("/saveOrUpdate")
-    public AjaxResult receiptPaymentSaveOrUpdate (@RequestBody ReceiptPayment receiptPayment) {
+    public AjaxResult receiptPaymentSaveOrUpdate (@RequestBody List<ReceiptPayment> receiptPayment) {
         receiptPaymentService.receiptPaymentSaveOrUpdate(receiptPayment);
         return AjaxResult.success();
     }
@@ -51,6 +53,7 @@
      * @return
      */
     @PostMapping("/update")
+    @Transactional(rollbackFor = Exception.class)
     public AjaxResult receiptPaymentUpdate (@RequestBody ReceiptPayment receiptPayment) {
         return AjaxResult.success(receiptPaymentService.receiptPaymentUpdate(receiptPayment));
     }
@@ -61,6 +64,7 @@
      * @return
      */
     @DeleteMapping("/del")
+    @Transactional(rollbackFor = Exception.class)
     public AjaxResult receiptPaymentDel (@RequestBody List<Integer> ids) {
         return AjaxResult.success(receiptPaymentService.receiptPaymentDel(ids));
     }
@@ -71,7 +75,7 @@
      * @return
      */
     @GetMapping("/customerInteractions")
-    public AjaxResult customerInteractions (ReceiptPaymentDto receiptPaymentDto) {
+    public AjaxResult customerInteractions (InvoiceLedgerDto receiptPaymentDto) {
         return AjaxResult.success(receiptPaymentService.customerInteractions(receiptPaymentDto));
     }
 
@@ -174,7 +178,7 @@
         List<ReceiptPaymentRecordDto> receiptPaymentRecordDtos = new ArrayList<>();
         salesLedgerIPage.getRecords().forEach(receiptPaymentRecordDto -> {
             ReceiptPaymentRecordDto receiptPaymentRecordDto1 = new ReceiptPaymentRecordDto();
-            BeanUtils.copyBeanProp(receiptPaymentRecordDto, receiptPaymentRecordDto1);
+            BeanUtils.copyProperties(receiptPaymentRecordDto, receiptPaymentRecordDto1);
             receiptPaymentRecordDtos.add(receiptPaymentRecordDto1);
         });
         util.exportExcel(response, receiptPaymentRecordDtos, "瀵煎嚭寮�绁ㄧ櫥璁板垪琛�");

--
Gitblit v1.9.3