From 778d3d8b387ca0a8d1b51ef68f783fb0b407ef20 Mon Sep 17 00:00:00 2001 From: wujian <14790700720@163.com> Date: 星期五, 26 七月 2024 11:52:34 +0800 Subject: [PATCH] fix6 --- jcdm-main/src/main/resources/mapper/om/productionOrde/OmProductionOrdeInfoMapper.xml | 9 +++++++++ 1 files changed, 9 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 daf203e..983bd68 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,15 @@ <include refid="selectOmProductionOrdeInfoVo"/> where id = #{id} </select> + + <select id="selectOmProductionOrdeInfoByIds" parameterType="String" resultMap="OmProductionOrdeInfoResult"> + select type_z,product_code,line_code,route_code, bom_code, recipe_code, sum(plan_qty) plan_qty,serial_number, order_status from om_production_orde_info + where id in + <foreach item="id" collection="array" open="(" separator="," close=")"> + #{id} + </foreach> + GROUP BY type_z,product_code,line_code,route_code, bom_code, recipe_code,serial_number, order_status + </select> <insert id="insertOmProductionOrdeInfo" parameterType="OmProductionOrdeInfo"> insert into om_production_orde_info -- Gitblit v1.9.3