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

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.yeejoin.amos.patrol.dao.entity.TaskDetail;

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

}
