自动化立体仓库 - WMS系统
#
Junjie
2025-09-27 9f83a9d589aaf22cb790515272a425216ea618b2
src/main/resources/mapper/OrderMapper.xml
@@ -53,4 +53,19 @@
        and id = #{orderId}
    </update>
    <select id="selectComplete" resultMap="BaseResultMap">
        select top 5 *
        from man_order
        where 1=1
        and settle = 4
        and status = 1
        and doc_type!=18
        and doc_type!=19
        order by create_time asc
    </select>
    <insert id="addToLogTable">
        INSERT INTO man_order_log SELECT * FROM man_order WHERE id = #{id}
    </insert>
</mapper>