自动化立体仓库 - WMS系统
#
lsh
2023-12-20 cd280ead41b98ee60154038e36d9b83cc25e7d16
src/main/resources/mapper/OrderMapper.xml
@@ -53,4 +53,17 @@
        and id = #{orderId}
    </update>
    <select id="selectComplete" resultMap="BaseResultMap">
        select top 5 *
        from man_order
        where 1=1
        and settle = 4
        and status = 1
        order by create_time asc
    </select>
    <insert id="addToLogTable">
        INSERT INTO man_order_log SELECT * FROM man_order WHERE id = #{id}
    </insert>
</mapper>