自动化立体仓库 - WMS系统
#
lsh
2024-06-08 21e9b4b7d15e10cec7c8ad0b14006f225e16de1c
src/main/resources/mapper/OrderMapper.xml
@@ -66,4 +66,13 @@
        INSERT INTO man_order_log SELECT * FROM man_order WHERE id = #{id}
    </insert>
    <select id="selectorderNoL" resultMap="BaseResultMap">
        select top 10 *
        from man_order
        where 1=1
        <if test="orderNo != null">
            and order_no = #{orderNo}
        </if>
    </select>
</mapper>