src/main/resources/mapper/OrderMapper.xml
@@ -54,7 +54,7 @@ </update> <select id="selectComplete" resultMap="BaseResultMap"> select top 5 * select top 10 * from man_order where 1=1 and settle = 4 @@ -75,4 +75,13 @@ </if> </select> <select id="selectorderNoLT" resultMap="BaseResultMap"> select * from man_order where 1=1 <if test="orderNo != null"> and order_no = #{orderNo} </if> </select> </mapper>