package com.northglass.repository;
|
|
import java.util.List;
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
import org.springframework.data.jpa.repository.Query;
|
|
import com.northglass.entity.GalssTask;
|
import com.northglass.entity.GalssTaskBuffer;
|
import com.northglass.entity.PatternTaskBuffer;
|
|
public interface GalssTaskBufferDao extends JpaRepository<GalssTaskBuffer, Long>{
|
|
|
@Query("select t from GalssTaskBuffer t where t.engineeringId = ?1 ")
|
public List<GalssTaskBuffer> findgetEnd(String fileName);
|
|
@Query("select count(t) from GalssTaskBuffer t where t.engineeringId = ?1 ")
|
public int findbygalsstaskcount(String fileName);
|
|
|
|
|
|
}
|