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

import com.yn.bftl.common.modules.subaccount.entity.TemporaryStatementLine;
import com.yn.bftl.common.modules.subaccount.enums.SubaccountType;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 临时服务费Repository
 *
 * @author chendehuihuo
 * @date 2021/11/22
 **/
@Repository
public interface TemporaryStatementLineRepository extends JpaRepository<TemporaryStatementLine, Long> {

    List<TemporaryStatementLine> findAllByCompanyIdAndSeparateStatus(Long companyId, Integer separateStatus);

    Page<TemporaryStatementLine> findAllByCompanyIdAndSeparateStatus(Long companyId, Integer separateStatus, Pageable pageable);
}
