From aac591782bef5f9eedbd96ed3de8c4c7a0967776 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 09 三月 2026 17:26:26 +0800
Subject: [PATCH] 报工bug修改

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

diff --git a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
index e1d9381..6fc731f 100644
--- a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
+++ b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
@@ -258,7 +258,7 @@
         t2.warn_num,
         t2.product_id
         from  procurement_record_storage t1
-        left join sales_ledger_product t2 on t2.id = t1.sales_ledger_product_id and t2.type = 1
+        left join sales_ledger_product t2 on t2.id = t1.sales_ledger_product_id and t2.type = 3
         left join sales_ledger t3 on t3.id = t2.sales_ledger_id
         <where>
             t1.type = 2 and t1.sales_ledger_product_id != 0

--
Gitblit v1.9.3