Commit 62b09c0676a828ba61b4f1239c68a0e9ffec2f25

Authored by litao@lymsh.com
1 parent b78e61f8da

孕期、产后、儿童优惠券使用统计三个模块儿,使用券数明细应按照使用人、使用时间降序排列

Showing 1 changed file with 1 additions and 0 deletions

platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml View file @ 62b09c0
... ... @@ -376,6 +376,7 @@
376 376 <if test="endDate != null">
377 377 and a.use_date <![CDATA[ < ]]> #{endDate}
378 378 </if>
  379 + order by a.user_id desc, a.use_date desc
379 380 <if test="needPage == true">
380 381 limit #{currentPage},#{pageSize}
381 382 </if>