Explorar o código

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

chao %!s(int64=3) %!d(string=hai) anos
pai
achega
4bb81baf4c

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