自动化立体仓库 - WMS系统
zwl
2025-10-13 0da03950e4e26ed5e8a16d1a6e0d352734519846
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>