|
@@ -56,7 +56,7 @@ public class CouponServiceImpl extends ServiceImpl<CouponMapper, Coupon>
|
|
|
}
|
|
|
Course course = courseMapper.selectById(primary.getCouponId());
|
|
|
List<Coupon> list=new ArrayList<>();
|
|
|
-
|
|
|
+ System.err.println(course);
|
|
|
for (Long i:objects){
|
|
|
Date date1=new Date();
|
|
|
list.add(this.baseMapper.selectOne(new QueryWrapper<Coupon>().eq("id",i).ge("condition_amount",course.getPrice()).apply("start_time <= now()")));
|