From 1d71388c969305b6c6fc73caa0b0a41cd7993b67 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 16 四月 2026 14:12:29 +0800
Subject: [PATCH] fix(purchase): 修复采购台账模板中产品类型设置问题

---
 src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java b/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java
index 2358caf..fe88789 100644
--- a/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java
+++ b/src/main/java/com/ruoyi/purchase/controller/PurchaseLedgerController.java
@@ -25,6 +25,7 @@
 import io.swagger.annotations.ApiParam;
 import lombok.AllArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
+import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.multipart.MultipartFile;
 
@@ -35,6 +36,7 @@
 import java.io.OutputStream;
 import java.math.BigDecimal;
 import java.net.URLEncoder;
+import java.util.Arrays;
 import java.util.List;
 import java.util.Optional;
 import java.util.stream.Collectors;
@@ -178,6 +180,7 @@
      */
     @PostMapping("/updateApprovalStatus")
     public AjaxResult addOrEditPurchase(@RequestBody PurchaseLedger purchaseLedger){
+
         return toAjax(purchaseLedgerService.updateById(purchaseLedger));
     }
     /**
@@ -262,6 +265,7 @@
         return AjaxResult.success(purchaseLedgerService.selectPurchaseLedgerListPage(page, purchaseLedger));
     }
 
+
     @ApiOperation("鐢熸垚閲囪喘搴忓垪鍙�")
     @GetMapping("/createPurchaseNo")
     @Log(title = "鐢熸垚閲囪喘搴忓垪鍙�", businessType = BusinessType.OTHER)

--
Gitblit v1.9.3