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

import java.util.List;

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

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

}
