Browse Source

普通优惠券添加会员标志bugfix

chao 3 years ago
parent
commit
4bb81baf4c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/resources/mappings/modules/super/CmCouponVipMapper.xml

+ 2 - 1
src/main/resources/mappings/modules/super/CmCouponVipMapper.xml

@@ -99,7 +99,8 @@
                 </foreach>
             </if>
         </where>
-        GROUP BY a.id DESC
+        GROUP BY a.id
+        ORDER BY a.createDate DESC
     </select>
     <delete id="deleteByMonthId">
         UPDATE cm_svip_coupon SET delFlag=1 WHERE montId = #{montId}