|
@@ -3013,6 +3013,14 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
TicketChangeDto ticketChangeDto = new TicketChangeDto();
|
|
TicketChangeDto ticketChangeDto = new TicketChangeDto();
|
|
|
ticketChangeDto.setOtherRelationId(relationId);
|
|
ticketChangeDto.setOtherRelationId(relationId);
|
|
|
ticketChangeDto.setOtherOrderId(otherOrderDon.getId());
|
|
ticketChangeDto.setOtherOrderId(otherOrderDon.getId());
|
|
|
|
|
+ //独立车位 车队下架
|
|
|
|
|
+ if (sku.getNum() != null && sku.getNum() == 1) {
|
|
|
|
|
+ GroupsTrips groupsTrips = groupsMapper.selectById(relation.getGroupsId());
|
|
|
|
|
+ if (groupsTrips.getStatus() == GroupsTrips.Status.validity) {
|
|
|
|
|
+ groupsTrips.setStatus(GroupsTrips.Status.down);
|
|
|
|
|
+ groupsMapper.updateById(groupsTrips);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
return ticketChangeDto;
|
|
return ticketChangeDto;
|
|
|
}
|
|
}
|
|
|
log.error("发送用户:{} GPT镜像车票失败,进行重试", userId);
|
|
log.error("发送用户:{} GPT镜像车票失败,进行重试", userId);
|