Przeglądaj źródła

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

anderx 7 lat temu
rodzic
commit
f1da4720d9

+ 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>