From ac6db1c4fddcb89c9668e34a35f023817a59f838 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 01 四月 2026 17:54:44 +0800
Subject: [PATCH] yys 1.产品导入新增excel错误提示 2.bom导入新增excel错误提示 3.仓储物流增加库位字段 4.修改发货出库-新增库位 5.修改采购入库审核-新增库位 6.生产入库-新增库位,审核

---
 src/main/java/com/ruoyi/purchase/controller/TicketRegistrationController.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/main/java/com/ruoyi/purchase/controller/TicketRegistrationController.java b/src/main/java/com/ruoyi/purchase/controller/TicketRegistrationController.java
index d3a230f..baefa12 100644
--- a/src/main/java/com/ruoyi/purchase/controller/TicketRegistrationController.java
+++ b/src/main/java/com/ruoyi/purchase/controller/TicketRegistrationController.java
@@ -88,7 +88,8 @@
 
     @ApiOperation("鍒犻櫎浠樻娴佹按")
     @DeleteMapping("/delPaymentRegistration")
-    public AjaxResult delPaymentRegistration(@RequestBody Long id) {
+    @Transactional(rollbackFor = Exception.class)
+    public AjaxResult delPaymentRegistration(@RequestBody List<Long> id) {
         return toAjax(paymentRegistrationService.delPaymentRegistration(id));
     }
 
@@ -138,12 +139,12 @@
     }
 
 
-    @GetMapping("/getProductRecordById")
-    public AjaxResult getProductRecordById(Long id) {
-        if (id == null) {
+    @PostMapping("/getProductRecordById")
+    public AjaxResult getProductRecordById(@RequestBody ProductRecordDto productRecordDto) {
+        if (productRecordDto.getId() == null) {
             return AjaxResult.error("鍙傛暟閿欒");
         }
-        return AjaxResult.success(productRecordService.getProductRecordById(id));
+        return AjaxResult.success(productRecordService.getProductRecordById(productRecordDto));
     }
 
     @ApiModelProperty("淇敼鏉ョエ鐧昏")

--
Gitblit v1.9.3