自动化立体仓库 - WMS系统
pang.jiabao
2024-08-27 2d0226ea3dd2116cfcc9ec307f17edf191458aad
src/main/resources/mapper/OrderMapper.xml
@@ -52,6 +52,17 @@
        where 1=1
        and id = #{orderId}
    </update>
    <update id="updateSettleByOrderNo">
        update man_order
        set settle = #{status}
        ,update_time = getdate()
        <if test="userId != null">
            ,update_by = #{userId}
        </if>
        where 1=1
        and order_no = #{orderNo}
        and settle != #{status}
    </update>
    <select id="selectComplete" resultMap="BaseResultMap">
        select