|
@@ -587,11 +587,16 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
relation = getSimilarExpiredGroupRelation(sku, null, ip);
|
|
relation = getSimilarExpiredGroupRelation(sku, null, ip);
|
|
|
if (relation == null) {
|
|
if (relation == null) {
|
|
|
//TODO 如果没指定座位,等待逻辑确认
|
|
//TODO 如果没指定座位,等待逻辑确认
|
|
|
- groups = groupsMapper.selectTicketGroups(sku.getId(), GroupsTrips.Status.validity, maxNum, ip);
|
|
|
|
|
|
|
+ DateTime filterAccountTime = null;
|
|
|
|
|
+ //奈飞过滤6月23号之前的车队
|
|
|
|
|
+ if (sku.getGoodsId() == Constant.NETFLIX_GID) {
|
|
|
|
|
+ filterAccountTime = DateUtil.parse("2025-06-23");
|
|
|
|
|
+ }
|
|
|
|
|
+ groups = groupsMapper.selectTicketGroups(sku.getId(), GroupsTrips.Status.validity, maxNum, ip, filterAccountTime);
|
|
|
|
|
|
|
|
if (groups == null) {
|
|
if (groups == null) {
|
|
|
//待发车
|
|
//待发车
|
|
|
- groups = groupsMapper.selectTicketGroups(sku.getId(), GroupsTrips.Status.waiting, maxNum, ip);
|
|
|
|
|
|
|
+ groups = groupsMapper.selectTicketGroups(sku.getId(), GroupsTrips.Status.waiting, maxNum, ip, null);
|
|
|
}
|
|
}
|
|
|
//新增空车队
|
|
//新增空车队
|
|
|
if (groups == null) {
|
|
if (groups == null) {
|