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

import com.yeejoin.amos.supervision.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);

}
