From ffb54de25930d00f6224596c64a51541b0ffb8e9 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期六, 25 四月 2026 17:09:29 +0800
Subject: [PATCH] feat(mapper): 添加工单ID筛选条件

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

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

--
Gitblit v1.9.3