package com.jeesharp.business.modules.member.mapper;

import com.jeesharp.business.modules.member.entity.AppIapOrder;
import com.jeesharp.business.modules.member.vo.AppIapOrderQueryVO;
import com.jeesharp.framework.mybatis.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 华为 IAP 业务订单 Mapper
 *
 * @author jeesharp
 */
@Mapper
public interface AppIapOrderMapper extends BaseMapper<AppIapOrder, AppIapOrderQueryVO> {

    AppIapOrder selectByOrderNo(@Param("orderNo") String orderNo);

    AppIapOrder selectByPurchaseToken(@Param("purchaseToken") String purchaseToken);

    AppIapOrder selectByHuaweiPurchaseOrderId(@Param("huaweiPurchaseOrderId") String huaweiPurchaseOrderId);
}
