|
|
@@ -903,10 +903,10 @@
|
|
|
from t_order where delete_sign = 0
|
|
|
<choose>
|
|
|
<when test="intentionStatus == 0"><!-- 意向订单 -->
|
|
|
- and intention_status = 0 and (buyer_id = #{uid,jdbcType=VARCHAR} or seller_id = #{uid,jdbcType=VARCHAR})
|
|
|
+ and order_status = 0 and (buyer_id = #{uid,jdbcType=VARCHAR} or seller_id = #{uid,jdbcType=VARCHAR})
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
- and intention_status != 0 and (buyer_id = #{uid,jdbcType=VARCHAR} or seller_id = #{uid,jdbcType=VARCHAR})
|
|
|
+ and order_status != 0 and (buyer_id = #{uid,jdbcType=VARCHAR} or seller_id = #{uid,jdbcType=VARCHAR})
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
order by create_time desc
|
|
|
@@ -921,10 +921,10 @@
|
|
|
from t_order where delete_sign = 0
|
|
|
<choose>
|
|
|
<when test="intentionStatus == 0"><!-- 意向订单 -->
|
|
|
- and intention_status = 0 and (buyer_id = #{uid,jdbcType=VARCHAR} or seller_id = #{uid,jdbcType=VARCHAR})
|
|
|
+ and order_status = 0 and (buyer_id = #{uid,jdbcType=VARCHAR} or seller_id = #{uid,jdbcType=VARCHAR})
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
- and intention_status != 0 and buyer_id = #{uid,jdbcType=VARCHAR}
|
|
|
+ and order_status != 0 and buyer_id = #{uid,jdbcType=VARCHAR}
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
</select>
|