package com.dbnt.faisp.fipTarget.repository;


import com.dbnt.faisp.fipTarget.model.PartInfoFile;
import com.dbnt.faisp.fipTarget.model.PartWorkFile;
import com.dbnt.faisp.publicBoard.model.PublicFile;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;



public interface PartWorkFileRepository extends JpaRepository<PartWorkFile, PartWorkFile.PartWorkFileId> {

	PartWorkFile findTopByPwSeqAndPiSeqOrderByFileSeqDesc(Integer piSeq, Integer piSeq2);

	List<PartWorkFile> findByPwSeqAndPiSeqOrderByFileSeqAsc(Integer pwSeq, Integer piSeq);

	List<PartWorkFile> findByPwSeqAndPiSeq(Integer pwSeq, Integer piSeq);













}
