From 616068b49ed7ca709877a30d8abc56ecb6454218 Mon Sep 17 00:00:00 2001 From: admin <15939171744@163.com> Date: 星期六, 14 九月 2024 21:00:30 +0800 Subject: [PATCH] 230优化 --- jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml | 8 ++++++++ 1 files changed, 8 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..63fac1b 100644 --- a/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml +++ b/jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml @@ -262,4 +262,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