package cn.com.victorysoft.business.sys.dao;

import cn.com.victorysoft.business.sys.entity.WellTest;
import cn.com.victorysoft.business.sys.param.WellDateParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface WellTestDao {
    WellTest selectByPrimaryKey(@Param("wellname") String wellname, @Param("testdate") Date testdate);

    /**
     * 查询多口井一天的日度生产数据
     */
    List<WellTest> selectOneDayList(@Param("wellnames") List<String> wellnames, @Param("testdate") Date testdate);

    /**
     * 根据油井查询井组内油井30天日度数据
     */
    List<WellTest> selectGroupWellTest(@Param("wellnames") List<String> wellnames, @Param("testdate") Date testdate);

}
