From 164d1bace8b1fd0f1be79428b5b15df9c10bec72 Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期六, 10 一月 2026 10:30:36 +0800
Subject: [PATCH] yys 修改成品出库管理
---
src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
index dd03d4d..3c7e470 100644
--- a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
+++ b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
@@ -246,6 +246,7 @@
t3.sales_contract_no,
t3.customer_name,
t2.product_category,
+ group_concat(t1.id) as ids,
t1.id,
t1.sales_ledger_product_id,
t1.create_user,
@@ -268,7 +269,7 @@
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 t3 on t3.id = t2.sales_ledger_id
- left join procurement_record_out t4 on t4.procurement_record_storage_id = t1.id and t1.type = 2
+ left join procurement_record_out t4 on t4.procurement_record_storage_id = t1.id and t4.type = 2
<where>
t1.type = 2
<if test="req.customerName != null and req.customerName != ''">
--
Gitblit v1.9.3