package com.red.circle.order.infra.database.rds.service.order;

import com.red.circle.framework.mybatis.service.BaseService;
import com.red.circle.order.infra.database.rds.entity.order.OrderPurchaseFriendshipRecord;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 购买订单朋友关系记录 服务类.
 * </p>
 *
 * @author pengshigang
 * @since 2022-01-20
 */
public interface OrderPurchaseFriendshipRecordService extends
    BaseService<OrderPurchaseFriendshipRecord> {

  /**
   * 订单Id.
   */
  Long getFriendId(Long orderId);

  /**
   * 获取一组指定orderId记录.
   */
  List<OrderPurchaseFriendshipRecord> listByOrderIds(Set<Long> orderIds);

}
