#
Junjie
2024-04-08 79603e53c78e535dba4bfbc69b8c3b5c184012c5
zy-asrs-common/src/main/resources/mapper/wms/OrderMapper.xml
@@ -14,4 +14,17 @@
        and id = #{orderId}
    </update>
    <update id="updateSettle">
        update wms_order
        set settle = #{settle}
        ,update_time = getdate()
        <if test="userId != null">
            ,update_by = #{userId}
        </if>
        where 1=1
        and id = #{orderId}
        and host_id = #{hostId}
    </update>
</mapper>