|
@@ -14,12 +14,13 @@
|
14
|
14
|
and user_id = #{userId}
|
15
|
15
|
</if>
|
16
|
16
|
<if test="ordersNo !=null and ordersNo !=''">
|
17
|
|
- and orders_no LIKE = #{ordersNo}
|
|
17
|
+ and orders_no = #{ordersNo}
|
18
|
18
|
</if>
|
19
|
19
|
<if test="customerId !=null and customerId !=''">
|
20
|
|
- and customer_id LIKE = #{customerId}
|
|
20
|
+ and customer_id = #{customerId}
|
21
|
21
|
</if>
|
22
|
22
|
</where>
|
|
23
|
+ order by create_date desc
|
23
|
24
|
</select>
|
24
|
25
|
<select id="getRecentOrder" resultType="com.huiju.welcome.model.TaGoodsOrders">
|
25
|
26
|
SELECT
|