From 366c74e39a5cab3fd64052f6ef5e9cd301cf5f9f Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 26 一月 2026 13:51:23 +0800
Subject: [PATCH] 工单bug

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

diff --git a/src/main/resources/mapper/production/ProductWorkOrderMapper.xml b/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
index 67e5bb6..d4bb406 100644
--- a/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
+++ b/src/main/resources/mapper/production/ProductWorkOrderMapper.xml
@@ -41,8 +41,8 @@
             <if test="c.planStartTime != null and c.planEndTime != null">
                 and DATE(pwo.create_time) between #{c.planStartTime} and #{c.planEndTime}
             </if>
-            <if test="c.orderId != null and c.orderId != ''">
-               and pwo.product_order_id = #{c.orderId}
+            <if test="c.productOrderId != null and c.productOrderId != ''">
+               and pwo.product_order_id = #{c.productOrderId}
             </if>
     </select>
     <select id="getProductWorkOrderFlowCard" resultType="com.ruoyi.production.dto.ProductWorkOrderDto">

--
Gitblit v1.9.3