|
@@ -112,7 +112,7 @@ public class UserCouponServiceImpl extends ServiceImpl<UserCouponMapper, UserCou
|
|
|
.le("t1.valid_start", DateUtils.getToday()).ge("t1.valid_end", DateUtils.getToday())
|
|
|
.le("t2.min_order_amt", orderAmt)
|
|
|
.le("t2.discount", orderAmt)
|
|
|
- .orderByDesc("t2.discount"));
|
|
|
+ .orderByDesc("t2.discount","t1.id"));
|
|
|
return userCouponVOList;
|
|
|
}
|
|
|
}
|