package com.newfiber.api.pc.dao.WaterQuality; import com.newfiber.api.core.base.BaseDao; import com.newfiber.api.pc.model.WaterQuality.WaterQualityData; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; /** * Created by XuChengChao on 2019/5/14. */ @Repository public interface WaterQualityDataDao extends BaseDao<WaterQualityData> { //根据采样点编号查询有哪些因子 List<String> getProBySiteNO(@Param("siteNO") String siteNO); //根据采样点编号查询数据 List<WaterQualityData> selectBySamPointId(@Param("siteNO") String siteNO); List<WaterQualityData> selectLatestData(@Param("siteNO") String siteNO); }