From 0994009a6d6184839359505d99fdf7be68ee1b19 Mon Sep 17 00:00:00 2001 From: hdy <1105738590@qq.com> Date: 星期五, 14 三月 2025 12:51:12 +0800 Subject: [PATCH] 工单界面新增按钮 --- billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml b/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml index b529c21..f0705b9 100644 --- a/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml +++ b/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml @@ -41,6 +41,7 @@ SELECT TOP 1 * FROM om_production_order_info WHERE body_status IN (0,1) + AND body_qty != plan_qty ORDER BY plan_start_time ASC </select> <select id="updateBodyStatus1" resultType="OmProductionOrderInfo"> @@ -68,6 +69,7 @@ SELECT TOP 1 * FROM om_production_order_info WHERE head_status IN (0,1) + AND head_qty != plan_qty ORDER BY plan_start_time ASC </select> <select id="updateHeadStatus1" resultType="OmProductionOrderInfo"> @@ -95,6 +97,7 @@ SELECT TOP 1 * FROM om_production_order_info WHERE pre_status IN (0,1) + AND pre_qty != plan_qty ORDER BY plan_start_time ASC </select> <select id="updatePreStatus1" resultType="OmProductionOrderInfo"> @@ -188,6 +191,12 @@ <if test="updateBy != null">update_by = #{updateBy},</if> <if test="remarks != null">remarks = #{remarks},</if> <if test="delFlag != null">del_flag = #{delFlag},</if> + <if test="bodyQty != null">body_qty = #{bodyQty},</if> + <if test="headQty != null">head_qty = #{headQty},</if> + <if test="preQty != null">pre_qty = #{preQty},</if> + <if test="bodyStatus != null">body_status = #{bodyStatus},</if> + <if test="headStatus != null">head_status = #{headStatus},</if> + <if test="preStatus != null">pre_status = #{preStatus},</if> </trim> where id = #{id} </update> -- Gitblit v1.9.3