From b9dfa11ffd1e27c527c9e36c5b9eefa78fc2d340 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 12 五月 2026 14:27:53 +0800
Subject: [PATCH] fix:采购审核新增编辑(对应库存修改)

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

diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index a122e90..4e482f2 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -22,8 +22,7 @@
         pm.model as productModelName,
         ppo.quantity,
         ppo.scrap_qty,
-        pm.unit,
-        sl.sales_contract_no salesContractNo
+        pm.unit
         from
         production_product_main ppm
         left join product_work_order pwo on pwo.id = ppm.work_order_id
@@ -33,7 +32,6 @@
         left join production_product_output ppo on ppm.id = ppo.product_main_id
         left join product_model pm on pm.id = ppo.product_model_id
         left join product p on p.id = pm.product_id
-        left join sales_ledger sl on sl.id = po.sales_ledger_id
         left join sys_user u on u.user_id = ppm.user_id
         <where>
             <if test="c.nickName != null and c.nickName != ''">

--
Gitblit v1.9.3