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

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

import java.util.List;

@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);

}
