| 1234567891011121314151617181920212223242526272829303132 |
- package com.cyksj.service.relation;
- import com.cyksj.model.entity.GroupsRelation;
- import com.cyksj.model.entity.OrderDonTicketRecord;
- import com.cyksj.model.entity.UserTicketClearedRecord;
- /*
- *项目名: netflix
- *文件名: GroupRelationClearService
- *创建者: JavaZou
- *创建时间:2023/2/23 15:31
- */
- public interface GroupRelationClearService {
- /**
- * 清除车票
- */
- void clearTicket(GroupsRelation relation, UserTicketClearedRecord.Source source);
- /**
- * Clears one ticket as part of a frozen multi-quantity whole-order refund.
- * The caller supplies the already locked slot so ownership is checked once
- * without issuing a duplicate FOR UPDATE query. This method must be called
- * inside the same transaction that acquired that slot lock.
- */
- void clearRefundTicket(GroupsRelation relation, OrderDonTicketRecord refundingTicket);
- /**
- * 续费换车票,清理之前的车票
- */
- void clearRenewGroupRelation(GroupsRelation relation);
- }
|