瀏覽代碼

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

chao 3 年之前
父節點
當前提交
4bb81baf4c
共有 1 個文件被更改,包括 2 次插入1 次删除
  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}