From d4f4376ab5aef071cb841de0f9a9b7f6cb16c651 Mon Sep 17 00:00:00 2001 From: yyt <306727702@qq.com> Date: 星期一, 20 五月 2024 09:39:48 +0800 Subject: [PATCH] 增加380新产品 --- 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