package com.yeejoin.amos.patrol.business.dao.repository;

import com.yeejoin.amos.patrol.dao.entity.TaskDetail;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("taskDetailDao")
public interface ITaskDetailDao extends BaseDao<TaskDetail, Long> {
	
	@Query("select u from TaskDetail u where u.taskId = ?1")
	List<TaskDetail> findByTaskId(long l);

}
