From 3f23422c13226ce37150afed0b4d8d0309da45d3 Mon Sep 17 00:00:00 2001
From: hdy <1105738590@qq.com>
Date: 星期二, 25 三月 2025 19:24:40 +0800
Subject: [PATCH] 修改

---
 billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 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..a4b609c 100644
--- a/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml
+++ b/billion-main/src/main/resources/mapper/om/OmProductionOrderInfoMapper.xml
@@ -56,7 +56,7 @@
     </select>
     <select id="updateBodyStatus2" resultType="OmProductionOrderInfo">
         UPDATE om_production_order_info
-        SET body_status = 2
+        SET body_status = 4
         WHERE id = (
             SELECT TOP 1 id
             FROM om_production_order_info
@@ -83,7 +83,7 @@
     </select>
     <select id="updateHeadStatus2" resultType="OmProductionOrderInfo">
         UPDATE om_production_order_info
-        SET head_status = 2
+        SET head_status = 4
         WHERE id = (
             SELECT TOP 1 id
             FROM om_production_order_info
@@ -110,7 +110,7 @@
     </select>
     <select id="updatePreStatus2" resultType="OmProductionOrderInfo">
         UPDATE om_production_order_info
-        SET pre_status = 2
+        SET pre_status = 4
         WHERE id = (
             SELECT TOP 1 id
             FROM om_production_order_info
@@ -188,6 +188,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