src/main/resources/mapper/OrderMapper.xml
@@ -109,6 +109,17 @@ and order_no = #{orderNo} </if> </select> <select id="selectorderNoL2" resultMap="BaseResultMap"> SELECT TOP 10 * FROM man_order WHERE 1=1 <if test="orderNo != null and orderNo != ''"> AND order_no COLLATE Chinese_PRC_CI_AS LIKE CONCAT('%', #{orderNo}, '%') </if> AND doc_type IN (34, 36, 37, 39, 40) AND status IN (1, 2) ORDER BY create_time DESC </select> <select id="selectOrderMoveStatus" resultMap="BaseResultMap"> select top 1 *