|
@@ -109,8 +109,8 @@ public class SeckillActivityTimeServiceImpl extends ServiceImpl<SeckillActivityT
|
|
lqw.select(SeckillActivityTime::getId, SeckillActivityTime::getSeckillId);
|
|
lqw.select(SeckillActivityTime::getId, SeckillActivityTime::getSeckillId);
|
|
lqw.le(SeckillActivityTime::getStartDate, dateInt);
|
|
lqw.le(SeckillActivityTime::getStartDate, dateInt);
|
|
lqw.ge(SeckillActivityTime::getEndDate, dateInt);
|
|
lqw.ge(SeckillActivityTime::getEndDate, dateInt);
|
|
- lqw.le(SeckillActivityTime::getStartTime, timeInt);
|
|
|
|
- lqw.ge(SeckillActivityTime::getEndTime, timeInt);
|
|
|
|
|
|
+// lqw.le(SeckillActivityTime::getStartTime, timeInt);
|
|
|
|
+// lqw.ge(SeckillActivityTime::getEndTime, timeInt);
|
|
lqw.groupBy(SeckillActivityTime::getSeckillId);
|
|
lqw.groupBy(SeckillActivityTime::getSeckillId);
|
|
List<SeckillActivityTime> timeList = dao.selectList(lqw);
|
|
List<SeckillActivityTime> timeList = dao.selectList(lqw);
|
|
return timeList.stream().map(SeckillActivityTime::getSeckillId).collect(Collectors.toList());
|
|
return timeList.stream().map(SeckillActivityTime::getSeckillId).collect(Collectors.toList());
|