hdy
2025-03-18 3f23422c13226ce37150afed0b4d8d0309da45d3
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>