Newer
Older
huludao / src / main / java / com / newfiber / api / pc / dao / WaterQuality / WaterQualityDataDao.java
@新烽开发者 新烽开发者 on 22 Jul 723 bytes init
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);

}