From ebf08431bb703086da2129f59d11d5bce25ffb49 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 27 四月 2026 09:32:47 +0800
Subject: [PATCH] fix(mapper): 修正生产产品主表查询中的工单ID关联字段

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

diff --git a/src/main/resources/mapper/production/ProductionProductMainMapper.xml b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
index 7c1cd0a..d363dde 100644
--- a/src/main/resources/mapper/production/ProductionProductMainMapper.xml
+++ b/src/main/resources/mapper/production/ProductionProductMainMapper.xml
@@ -52,7 +52,7 @@
                 and ppm.audit_status = #{c.auditStatus}
             </if>
             <if test="c.workOrderId != ''">
-                and pot.work_order_id = #{c.workOrderId}
+                and ppm.work_order_id = #{c.workOrderId}
             </if>
         </where>
         order by ppm.id

--
Gitblit v1.9.3