|
|
@@ -221,7 +221,7 @@
|
|
|
</select>
|
|
|
|
|
|
<update id="cancelOrders">
|
|
|
- update tz_order set `hb_order_status`=60,cancel_time = NOW(),update_time=NOW() where order_id in
|
|
|
+ update tz_order set `hb_order_status`=60,cancel_time = NOW(),update_time=NOW(),close_type=4 where order_id in
|
|
|
<foreach collection="orders" item="order" open="(" close=")" separator=",">
|
|
|
#{order.orderId}
|
|
|
</foreach>
|
|
|
@@ -482,8 +482,8 @@
|
|
|
<if test="orderParam.receiver != null">
|
|
|
and b.receiver LIKE concat("%",#{orderParam.receiver},"%")
|
|
|
</if>
|
|
|
- <if test="orderParam.mobile != null">
|
|
|
- and b.mobile LIKE concat("%",#{orderParam.mobile},"%")
|
|
|
+ <if test="orderParam.userMobile != null">
|
|
|
+ and b.mobile LIKE concat("%",#{orderParam.userMobile},"%")
|
|
|
</if>
|
|
|
|
|
|
<if test="orderParam.orderStatus != null and orderParam.orderStatus != ''">
|
|
|
@@ -537,8 +537,8 @@
|
|
|
<if test="orderParam.receiver != null">
|
|
|
and b.receiver LIKE concat("%",#{orderParam.receiver},"%")
|
|
|
</if>
|
|
|
- <if test="orderParam.mobile != null">
|
|
|
- and b.mobile LIKE concat("%",#{orderParam.mobile},"%")
|
|
|
+ <if test="orderParam.userMobile != null">
|
|
|
+ and b.mobile LIKE concat("%",#{orderParam.userMobile},"%")
|
|
|
</if>
|
|
|
|
|
|
<if test="orderParam.orderStatus != null and orderParam.orderStatus != ''">
|