From 1717a12c83db01e3b31ea9ed913e5bacaf9edbf3 Mon Sep 17 00:00:00 2001
From: hdy <1105738590@qq.com>
Date: 星期六, 29 三月 2025 14:24:06 +0800
Subject: [PATCH] 修改

---
 billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml b/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml
index a4b609c..c6ad2c2 100644
--- a/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml
+++ b/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml
@@ -33,7 +33,10 @@
     </resultMap>
 
     <sql id="selectOmProductionOrderInfoVo">
-        select id,body_status,head_status,pre_status,body_qty,head_qty,pre_qty,work_order_no, sales_order_code, product_code, line_code, plan_qty, plan_start_time, plan_end_time, order_status, create_time, update_time, create_by, update_by, remarks, del_flag from om_production_order_info
+        select id,body_status,head_status,pre_status,body_qty,head_qty,pre_qty,
+               work_order_no, sales_order_code, product_code, line_code, plan_qty,
+               plan_start_time, plan_end_time, order_status, create_time, update_time, create_by,
+               update_by, remarks, del_flag,engine_type,engine_name,flag from om_production_order_info
     </sql>
 
     <!-- 鏌ヨ order_status 涓� 1 涓� plan_start_time 鏈�鏃╃殑涓�鏉¤褰� -->
@@ -128,6 +131,7 @@
             <if test="salesOrderCode != null  and salesOrderCode != ''"> and sales_order_code = #{salesOrderCode}</if>
             <if test="productCode != null  and productCode != ''"> and product_code = #{productCode}</if>
             <if test="orderStatus != null  and orderStatus != ''"> and order_status = #{orderStatus}</if>
+            <if test="engineName != null  and engineName != ''"> and engine_name = #{engineName}</if>
             and del_flag = 0
         </where>
     </select>

--
Gitblit v1.9.3