From 593379b64d440c06887e8fbfa2803c70463dba19 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 30 三月 2026 19:27:57 +0800
Subject: [PATCH] fix: 产品入库的库存返回产品大类、规则型号、单位

---
 src/main/resources/mapper/procurementrecord/ProcurementPriceManagementMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/procurementrecord/ProcurementPriceManagementMapper.xml b/src/main/resources/mapper/procurementrecord/ProcurementPriceManagementMapper.xml
index 196adfa..8804ebf 100644
--- a/src/main/resources/mapper/procurementrecord/ProcurementPriceManagementMapper.xml
+++ b/src/main/resources/mapper/procurementrecord/ProcurementPriceManagementMapper.xml
@@ -11,6 +11,13 @@
             <if test="req.supplierName != null and req.supplierName != ''">
                 AND supplier_name = #{req.supplierName}
             </if>
+            <if test="req.supplierId != null">
+                AND supplier_id = #{req.supplierId}
+            </if>
+            <if test="req.productId != null">
+                AND product_id = #{req.productId}
+            </if>
         </where>
+        order by update_time desc
     </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3