package com.softwarebr.nunu.dao.pay;

import com.brframework.commondb.core.CommonRepository;
import com.softwarebr.nunu.entity.pay.PayInfo;
import org.springframework.stereotype.Repository;

/**
 * @Author ljr
 * @Date 2020/01/08 15:41:59
 */

@Repository
public interface PayInfoDao extends CommonRepository<Long, PayInfo> {

    PayInfo findTopByPayOrderNo(String payOrderNo);

    PayInfo findTopByMemberIdAndTypeAndTargetId(Long memberId, Integer type, Long targetId);
}