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

import java.util.List;

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

import com.yeejoin.amos.supervision.dao.entity.Measure;

@Repository("measuresDao")
public interface IMeasuresDao  extends BaseDao<Measure, Long>{
	@Query(value = "select * from p_measures where point_id = ?1 and is_del = 0", nativeQuery = true)
	public List<Measure> queryMeasuresByPointID(int pointID);

}
