From cb4e543d5e4236ad3fc95ff4ed21a4a1f683062e Mon Sep 17 00:00:00 2001
From: admin <15939171744@163.com>
Date: 星期二, 15 十月 2024 09:33:58 +0800
Subject: [PATCH] 优化

---
 jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml b/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml
index 7e77647..60d5a4d 100644
--- a/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml
+++ b/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml
@@ -82,6 +82,8 @@
             <if test="resultCode != null  and resultCode != ''"> and result_code = #{resultCode}</if>
             <if test="sfResult != null  and sfResult != ''"> and sf_result = #{sfResult}</if>
             <if test="onlineCompletionMark != null  and sfResult != ''"> and online_completion_mark = #{onlineCompletionMark}</if>
+            <if test="trolleyYard != null  and trolleyYard != ''"> and trolley_yard = #{trolleyYard}</if>
+
 
         </where>
         ORDER BY stream_number DESC
@@ -262,4 +264,12 @@
     <select id="getLastOrder" resultMap="OmProductionOrdeInfoResult">
         select top 1 * from om_production_orde_info order by id desc
     </select>
+
+    <select id="listLoopLine" parameterType="OmProductionOrdeInfo" resultMap="OmProductionOrdeInfoResult">
+        <include refid="selectOmProductionOrdeInfoVo"/>
+        <where>
+            <if test="productNum != null  and productNum != ''"> and product_num like concat('%', #{productNum}, '%')</if>
+        </where>
+        ORDER BY stream_number DESC
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.3