From c29e0d624eaceb5d7db1bd078a9b9b4a72d7ef49 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 28 三月 2026 17:42:51 +0800
Subject: [PATCH] fix(supplier): 修复供应商白名单查询条件判断

---
 src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
index c378c6a..36f7267 100644
--- a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
+++ b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
@@ -48,7 +48,9 @@
         t1.create_time,
         t1.update_time,
         t1.create_by,
-        t2.warn_num
+        t2.warn_num,
+        t1.out_stock_quantity as outStockQuantity,
+        t1.shortage_description as shortageDescription
         from  procurement_record_storage t1
                   left join sales_ledger_product t2 on t2.id = t1.sales_ledger_product_id
                   left join purchase_ledger t3 on t3.id = t2.sales_ledger_id

--
Gitblit v1.9.3