package com.yn.bftl.thirdparty.common.repository;

import com.yn.bftl.common.modules.account.entity.ReimbursementRecord;
import com.yn.bftl.common.modules.account.enums.TransferState;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 还款记录
 * @Author: DoubleHuang
 * @Create: 2021-05-19 15:55
 */
public interface ReimbursementRecordRepository extends JpaRepository<ReimbursementRecord, Long> {

    ReimbursementRecord findByOrderNo(String orderNo);

    List<ReimbursementRecord> findByState(TransferState state);
}
