Explorar o código

我的订单列表排序改为时间倒叙

anderx %!s(int64=7) %!d(string=hai) anos
pai
achega
f1da4720d9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/main/java/com/goafanti/common/mapper/JtOrderMapper.xml

+ 1 - 0
src/main/java/com/goafanti/common/mapper/JtOrderMapper.xml

@@ -572,6 +572,7 @@ count(0)
   <if test="orderType!=null ">
   and (x.commodityType=#{orderType,jdbcType=INTEGER} or (#{orderType,jdbcType=INTEGER}=10 and (x.commodityType=1 or x.commodityType=0)))
   </if>
+  order by x.createTime desc
   <if test="page_sql!=null">
 			${page_sql}
 	</if>