|
|
@@ -29,9 +29,7 @@ import com.cyksj.service.register.RegisterOrderDonService;
|
|
|
import com.cyksj.service.register.SpotifyService;
|
|
|
import com.cyksj.service.relation.GroupRelationClearService;
|
|
|
import com.cyksj.service.sms.SmsService;
|
|
|
-import com.cyksj.service.template.TemplateCommonService;
|
|
|
import com.cyksj.service.user.UserPointsService;
|
|
|
-import com.cyksj.service.wechat.WeChatService;
|
|
|
import com.ejlchina.searcher.BeanSearcher;
|
|
|
import com.ejlchina.searcher.param.Operator;
|
|
|
import com.ejlchina.searcher.util.MapUtils;
|
|
|
@@ -452,7 +450,7 @@ public class Scheduler {
|
|
|
@Scheduled(cron = "0 0 0 * * ?")
|
|
|
public void closeGroupsTrips() {
|
|
|
DateTime now = DateTime.now();
|
|
|
- DateTime nextDay = DateUtil.offsetDay(DateUtil.beginOfDay(now), 1);
|
|
|
+ DateTime nextDay = DateUtil.offsetDay(DateUtil.beginOfDay(now), 3);
|
|
|
List<CloseGroupsTripsView> closeGroupsTripsViews = Optional.ofNullable(beanSearcher.searchAll(CloseGroupsTripsView.class, MapUtils.builder()
|
|
|
.field(CloseGroupsTripsView::getExpiryTime, nextDay).op(Operator.LessThan)
|
|
|
.field(CloseGroupsTripsView::getGoodsId, List.of(18, 26)).op(Operator.InList)
|