package com.loan.system.repository;

import com.loan.system.domain.entity.ApprovalRecord;
import com.loan.system.domain.entity.DisbursementRecord;
import com.loan.system.domain.vo.DisbursementRecordVO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author EdwinXu
 * @date 2020/9/2 - 15:35
 * @Description
 */
public interface DisbursementRecordRepository extends JpaRepository<DisbursementRecord,Long> {
    List<DisbursementRecord> findByDisbursementIdAndIsDelete(Long id, boolean isDelete);
}