package com.keao.edu.user.service;

import com.keao.edu.common.service.BaseService;
import com.keao.edu.user.entity.ExamRegistrationPayment;

public interface ExamRegistrationPaymentService extends BaseService<Long, ExamRegistrationPayment> {

    /**
     * 获取用户未支付的订单
     * @param examinationBasicId
     * @param userId
     * @return
     */
    ExamRegistrationPayment getExamIngOrder(Integer examinationBasicId,Integer userId);

    /**
     * 根据订单号获取订单
     * @param OrderNo
     * @return
     */
    ExamRegistrationPayment getByOrderNo(String OrderNo);
}
