From 94f452cff44cf83cc35e2fd427c3f136ffaada84 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 18 五月 2026 16:32:21 +0800
Subject: [PATCH] 新增编辑销售合同号,可以自动生成,也可自定义

---
 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