提交代码

dev-discount
胡锐 2 years ago
parent af13557b67
commit 7ba59cd240
  1. 2
      hai-service/src/main/java/com/hai/service/impl/HighCouponServiceImpl.java

@ -380,7 +380,7 @@ public class HighCouponServiceImpl implements HighCouponService {
criteria.andCouponSourceNotEqualTo(MapUtils.getInteger(map, "notCouponSource")); criteria.andCouponSourceNotEqualTo(MapUtils.getInteger(map, "notCouponSource"));
} }
example.setOrderByClause("display_area desc"); example.setOrderByClause("create_time");
List<HighCoupon> coupons = highCouponMapper.selectByExample(example); List<HighCoupon> coupons = highCouponMapper.selectByExample(example);
if (coupons != null && coupons.size() > 0) { if (coupons != null && coupons.size() > 0) {
for (HighCoupon highCoupon : coupons) { for (HighCoupon highCoupon : coupons) {

Loading…
Cancel
Save