Authored by mali

订单排序优化

... ... @@ -250,6 +250,12 @@
<when test="buyerOrderReq.sortRule!=null and buyerOrderReq.sortRule=='asc'">
order by a.create_time asc
</when>
<when test="buyerOrderReq.maxCurrentSecondMinusHours != null">
order by a.seller_delivery_deal asc, a.create_time desc
</when>
<when test="buyerOrderReq.currentSecondMinus24Hours != null and buyerOrderReq.maxCurrentSecondMinusHours == null">
order by a.seller_delivery_deal_again asc, a.create_time desc
</when>
<otherwise>
order by a.create_time desc
</otherwise>
... ...