public interface GasWellDailyDataRecordDao extends JpaRepository<GasWellDailyDataRecord, Integer> {
} public interface GasWellHourlyDataRecordDao extends JpaRepository<GasWellHourlyDataRecord, Integer> {
} public interface OilWellDailyDataRecordDao extends JpaRepository<OilWellDailyDataRecord, Integer> {
} public interface OilWellHourlyDataRecordDao extends JpaRepository<OilWellHourlyDataRecord, Integer> {
} public interface WaterWellDailyDataRecordDao extends JpaRepository<WaterWellDailyDataRecord, Integer> {
} public interface WaterWellHourlyDataRecordDao extends JpaRepository<WaterWellHourlyDataRecord, Integer> {
} public interface ZengYaZhanDailyDataRecordDao extends JpaRepository<ZengYaZhanDailyDataRecord, Integer> {
} public interface ZhuQiDailyDataRecordDao extends JpaRepository<ZhuQiDailyDataRecord, Integer> {
} public interface ZhuQiHourlyDataRecordDao extends JpaRepository<ZhuQiHourlyDataRecord, Integer> {
} public interface ZhuShuiDailyDataRecordDao extends JpaRepository<ZhuShuiDailyDataRecord, Integer> {
} public interface ZhuShuiHourlyDataRecordDao extends JpaRepository<ZhuShuiHourlyDataRecord, Integer> {
} @Entity
@Table(name="T_Gaswell_Daily_Record")
public class GasWellDailyDataRecord extends AbstractPersistable<Integer> {

	/**
	 * 井编号
	 */
	private String code;
	
	/**
	 * 产气量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float gasProduct;
	
	/**
	 * 一日开井状态(1为开井，0为停井。开井时间大于23就认为开井)
	 */
	private int runStatus;
        /**
	 * 日开井时间（小时）
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float runTime;
	/**
	 * 用电量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float eleConsume;
	


	/**
	 * 统计日期
	 */
        @Temporal(javax.persistence.TemporalType.DATE)
	private Date statisticsDate;
        
        /**
         * 插入时间
         */
        @Temporal(javax.persistence.TemporalType.TIMESTAMP)
        private Date saveDatetime;


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public float getGasProduct() {
		return gasProduct;
	}


	public void setGasProduct(float gasProduct) {
		this.gasProduct = gasProduct;
	}


	public int getRunStatus() {
		return runStatus;
	}


	public void setRunStatus(int runStatus) {
		this.runStatus = runStatus;
	}


	public float getEleConsume() {
		return eleConsume;
	}


	public void setEleConsume(float eleConsume) {
		this.eleConsume = eleConsume;
	}

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

    public float getRunTime() {
        return runTime;
    }

    public void setRunTime(float runTime) {
        this.runTime = runTime;
    }


	

	
} @Entity
@Table(name="T_Gaswell_Hourly_Record")
public class GasWellHourlyDataRecord extends AbstractPersistable<Integer> {

	/**
	 * 油井编号
	 */
	private String code;
	
	/**
	 * 产气量
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float gasProduct;
	
	/**
	 * 开井时间（分钟，即存储间隔）
	 */
	private int runTime;
         /**
	 * 启停状态(1为启，0为停)
	 */
	private int runStatus;
	/**
	 * 用电量
	 */
        @Column(columnDefinition = "DECIMAL(10,3)") 
	private float eleConsume;
	
	

	/**
	 * 统计日期
	 */
        @Temporal(javax.persistence.TemporalType.DATE)
	private Date statisticsDate;
        
        /**
         * 统计时间
         */
        @Temporal(javax.persistence.TemporalType.TIME)
        private Date statisticsTime;

        /**
         * 插入时间
         */
        @Temporal(javax.persistence.TemporalType.TIMESTAMP)
        private Date saveDatetime;


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public float getGasProduct() {
		return gasProduct;
	}


	public void setGasProduct(float gasProduct) {
		this.gasProduct = gasProduct;
	}


	public int getRunTime() {
		return runTime;
	}


	public void setRunTime(int runTime) {
		this.runTime = runTime;
	}


	public float getEleConsume() {
		return eleConsume;
	}


	public void setEleConsume(float eleConsume) {
		this.eleConsume = eleConsume;
	}

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }

} @Entity
@Table(name="T_Oilwell_Daily_Record")
public class OilWellDailyDataRecord extends AbstractPersistable<Integer> {

	/**
	 * 油井编号
	 */
	private String code;
	
	/**
	 * 产油量
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float oilProduct;
	/**
	 * 产液量
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float liquidProduct;
	/**
	 * 一日开井状态(1为开井，0为停井。开井时间大于23就认为开井)
	 */
	private int runStatus;
	/**
	 * 用电量
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float eleConsume;
	
	/**
	 * 含水
	 */
        @Column(columnDefinition="DECIMAL(10,4)") 
	private float hanShui;
	/**
	 * 注汽量
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float zhuShui;
	/**
	 * 注水量
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float zhuQi;


	/**
	 * 统计日期
	 */
        @Temporal(javax.persistence.TemporalType.DATE)
	private Date statisticsDate;
        
        /**
         * 插入时间
         */
        @Temporal(javax.persistence.TemporalType.TIMESTAMP)
        private Date saveDatetime;
        
        
	
	/************** 补充日报表 *****************/
	
	/**
	 * 冲程
	 */
        @Column(columnDefinition="DECIMAL(10,2)") 
	private float chongCheng;
	/**
	 * 冲次
	 */
        @Column(columnDefinition="DECIMAL(10,2)") 
	private float chongCi;
	/**
	 * 油压
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float youYa;
	/**
	 * 套压
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float taoYa;
	/**
	 * 回压
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float huiYa;
	/**
	 * 动液面
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float dongYeMian;
	/**
	 * 泵效
	 */
        @Column(columnDefinition="DECIMAL(10,4)") 
	private float bengXiao;
	/**
	 * 平衡度
	 */
        @Column(columnDefinition="DECIMAL(10,3)") 
	private float pingHengDu;
	/**
	 * 井口温度
	 */
        @Column(columnDefinition="DECIMAL(10,2)") 
	private float jingKouWenDu;
	/**
	 * 日平均电压
	 */
        @Column(columnDefinition="DECIMAL(10,2)") 
	private float avgU;
	/**
	 * 日平均电流
	 */
        @Column(columnDefinition="DECIMAL(10,2)") 
	private float avgI;
	/**
	 * 日开井时间（小时）
	 */
        @Column(columnDefinition="DECIMAL(10,2)") 
	private float runTime;
	
	


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public float getOilProduct() {
		return oilProduct;
	}


	public void setOilProduct(float oilProduct) {
		this.oilProduct = oilProduct;
	}


	public float getLiquidProduct() {
		return liquidProduct;
	}


	public void setLiquidProduct(float liquidProduct) {
		this.liquidProduct = liquidProduct;
	}


	public int getRunStatus() {
		return runStatus;
	}


	public void setRunStatus(int runStatus) {
		this.runStatus = runStatus;
	}


	public float getEleConsume() {
		return eleConsume;
	}


	public void setEleConsume(float eleConsume) {
		this.eleConsume = eleConsume;
	}


	public float getHanShui() {
		return hanShui;
	}


	public void setHanShui(float hanShui) {
		this.hanShui = hanShui;
	}


	public float getZhuShui() {
		return zhuShui;
	}


	public void setZhuShui(float zhuShui) {
		this.zhuShui = zhuShui;
	}


	public float getZhuQi() {
		return zhuQi;
	}


	public void setZhuQi(float zhuQi) {
		this.zhuQi = zhuQi;
	}




	public float getChongCheng() {
		return chongCheng;
	}


	public void setChongCheng(float chongCheng) {
		this.chongCheng = chongCheng;
	}


	public float getChongCi() {
		return chongCi;
	}


	public void setChongCi(float chongCi) {
		this.chongCi = chongCi;
	}


	public float getYouYa() {
		return youYa;
	}


	public void setYouYa(float youYa) {
		this.youYa = youYa;
	}


	public float getTaoYa() {
		return taoYa;
	}


	public void setTaoYa(float taoYa) {
		this.taoYa = taoYa;
	}


	public float getHuiYa() {
		return huiYa;
	}


	public void setHuiYa(float huiYa) {
		this.huiYa = huiYa;
	}


	public float getDongYeMian() {
		return dongYeMian;
	}


	public void setDongYeMian(float dongYeMian) {
		this.dongYeMian = dongYeMian;
	}


	public float getBengXiao() {
		return bengXiao;
	}


	public void setBengXiao(float bengXiao) {
		this.bengXiao = bengXiao;
	}


	public float getPingHengDu() {
		return pingHengDu;
	}


	public void setPingHengDu(float pingHengDu) {
		this.pingHengDu = pingHengDu;
	}


	public float getJingKouWenDu() {
		return jingKouWenDu;
	}


	public void setJingKouWenDu(float jingKouWenDu) {
		this.jingKouWenDu = jingKouWenDu;
	}


	public float getAvgU() {
		return avgU;
	}


	public void setAvgU(float avgU) {
		this.avgU = avgU;
	}


	public float getAvgI() {
		return avgI;
	}


	public void setAvgI(float avgI) {
		this.avgI = avgI;
	}


	public float getRunTime() {
		return runTime;
	}


	public void setRunTime(float runTime) {
		this.runTime = runTime;
	}

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

} @Entity
@Table(name = "T_Oilwell_Hourly_Record")
public class OilWellHourlyDataRecord extends AbstractPersistable<Integer> {

    /**
     * 油井编号
     */
    private String code;
    /**
     * 产油量
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private float oilProduct;
    /**
     * 产液量
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private float liquidProduct;
    /**
     * 开井时间（分钟，即存储间隔）
     */
    private int runTime;
    /**
     * 启停状态(1为启，0为停)
     */
    private int runStatus;
    /**
     * 用电量
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private float eleConsume;
    /**
     * 含水
     */
    @Column(columnDefinition = "DECIMAL(10,4)")
    private float hanShui;
    /**
     * 注汽
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private float zhuShui;
    /**
     * 注水
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private float zhuQi;
    /**
     * 统计日期
     */
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date statisticsDate;
    /**
     * 统计时间
     */
    @Temporal(javax.persistence.TemporalType.TIME)
    private Date statisticsTime;
    /**
     * 插入时间
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    private Date saveDatetime;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public float getOilProduct() {
        return oilProduct;
    }

    public int getRunTime() {
        return runTime;
    }

    public void setRunTime(int runTime) {
        this.runTime = runTime;
    }

    public void setOilProduct(float oilProduct) {
        this.oilProduct = oilProduct;
    }

    public float getLiquidProduct() {
        return liquidProduct;
    }

    public void setLiquidProduct(float liquidProduct) {
        this.liquidProduct = liquidProduct;
    }

    public float getEleConsume() {
        return eleConsume;
    }

    public void setEleConsume(float eleConsume) {
        this.eleConsume = eleConsume;
    }

    public float getHanShui() {
        return hanShui;
    }

    public void setHanShui(float hanShui) {
        this.hanShui = hanShui;
    }

    public float getZhuShui() {
        return zhuShui;
    }

    public void setZhuShui(float zhuShui) {
        this.zhuShui = zhuShui;
    }

    public float getZhuQi() {
        return zhuQi;
    }

    public void setZhuQi(float zhuQi) {
        this.zhuQi = zhuQi;
    }

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }
} @Entity
@Table(name = "T_Waterwell_Daily_Record")
public class WaterWellDailyDataRecord extends AbstractPersistable<Integer> {

    /**
     * 井编号
     */
    private String code;
    /**
     * 水量
     */
    @Column(columnDefinition="DECIMAL(10,3)")
    private float waterProduct;
    /**
     * 一日开井状态(1为开井，0为停井。开井时间大于23就认为开井)
     */
    private int runStatus;
    /**
     * 用电量
     */
    @Column(columnDefinition="DECIMAL(10,3)")
    private float eleConsume;
    /**
     * 统计日期
     */
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date statisticsDate;
    /**
     * 插入时间
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    private Date saveDatetime;
    /**
     * *****************补充生产管理**********************
     */
    /**
     * 日均外输压力
     */
    @Column(columnDefinition="DECIMAL(10,2)")
    private float yaLi;
    /**
     * 日均井口压力
     */
    @Column(columnDefinition="DECIMAL(10,2)")
    private float jingYa;
    /**
     * 日均水温
     */
    @Column(columnDefinition="DECIMAL(10,2)")
    private float wenDu;
    /**
     * 日均液位
     */
    @Column(columnDefinition="DECIMAL(10,2)")
    private float yeWei;
    /**
     * 日均瞬时流量
     */
    @Column(columnDefinition="DECIMAL(10,2)")
    private float ssll;
    /**
     * 日开井时间
     */
    @Column(columnDefinition="DECIMAL(10,2)")
    private float runTime;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public float getWaterProduct() {
        return waterProduct;
    }

    public void setWaterProduct(float waterProduct) {
        this.waterProduct = waterProduct;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }

    public float getEleConsume() {
        return eleConsume;
    }

    public void setEleConsume(float eleConsume) {
        this.eleConsume = eleConsume;
    }

    public float getYaLi() {
        return yaLi;
    }

    public void setYaLi(float yaLi) {
        this.yaLi = yaLi;
    }

    public float getJingYa() {
        return jingYa;
    }

    public void setJingYa(float jingYa) {
        this.jingYa = jingYa;
    }

    public float getWenDu() {
        return wenDu;
    }

    public void setWenDu(float wenDu) {
        this.wenDu = wenDu;
    }

    public float getYeWei() {
        return yeWei;
    }

    public void setYeWei(float yeWei) {
        this.yeWei = yeWei;
    }

    public float getSsll() {
        return ssll;
    }

    public void setSsll(float ssll) {
        this.ssll = ssll;
    }

    public float getRunTime() {
        return runTime;
    }

    public void setRunTime(float runTime) {
        this.runTime = runTime;
    }

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }
} @Entity
@Table(name="T_Waterwell_Hourly_Record")
public class WaterWellHourlyDataRecord extends AbstractPersistable<Integer> {

	/**
	 * 油井编号
	 */
	private String code;
	
	/**
	 * 水量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float waterProduct;
	
	/**
	 * 开井时间（分钟，即存储间隔）
	 */
	private int runTime;
         /**
	 * 启停状态(1为启，0为停)
	 */
	private int runStatus;
	/**
	 * 用电量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float eleConsume;
	
	

	/**
	 * 统计日期
	 */
        @Temporal(javax.persistence.TemporalType.DATE)
	private Date statisticsDate;
        
        /**
         * 统计时间
         */
        @Temporal(javax.persistence.TemporalType.TIME)
        private Date statisticsTime;

        /**
         * 插入时间
         */
        @Temporal(javax.persistence.TemporalType.TIMESTAMP)
        private Date saveDatetime;


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}




	public float getWaterProduct() {
		return waterProduct;
	}


	public void setWaterProduct(float waterProduct) {
		this.waterProduct = waterProduct;
	}


	public int getRunTime() {
		return runTime;
	}


	public void setRunTime(int runTime) {
		this.runTime = runTime;
	}


	public float getEleConsume() {
		return eleConsume;
	}


	public void setEleConsume(float eleConsume) {
		this.eleConsume = eleConsume;
	}

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }


	


	

} @Entity
@Table(name = "T_Zengyazhan_Daily_Record")
public class ZengYaZhanDailyDataRecord extends AbstractPersistable<Integer> {

    /**
     * 编号
     */
    private String code;
    /**
     * 状态（1为开井，0为停井。开井时间大于23就认为开井）
     */
    private int runStatus;
    /**
     * 日运行时间
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float runTime;
    /**
     * 用电量
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private float eleConsume;
    /**
     * 统计日期
     */
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date statisticsDate;
    /**
     * 插入时间
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    private Date saveDatetime;
    /**
     * 日均入口温度
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float ruWenDu;
    /**
     * 日均出口温度
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float chuWenDu;
    /**
     * 日均压力
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float yaLi;
    /**
     * 日均累计流量
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float ljll;
    /**
     * 日均瞬时流量
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float ssll;
    /**
     * 日均缓冲罐液位
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float yeWei;
    /**
     * 环境温度1
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float wenDu1;
    /**
     * 环境温度2
     */
    @Column(columnDefinition = "DECIMAL(10,2)")
    private float wenDu2;
    /**
     * 电动蝶阀值
     */
    @Column(columnDefinition = "DECIMAL(10,3)")
    private int dddf;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }

    public float getRunTime() {
        return runTime;
    }

    public void setRunTime(float runTime) {
        this.runTime = runTime;
    }

    public float getEleConsume() {
        return eleConsume;
    }

    public void setEleConsume(float eleConsume) {
        this.eleConsume = eleConsume;
    }

    public float getRuWenDu() {
        return ruWenDu;
    }

    public void setRuWenDu(float ruWenDu) {
        this.ruWenDu = ruWenDu;
    }

    public float getChuWenDu() {
        return chuWenDu;
    }

    public void setChuWenDu(float chuWenDu) {
        this.chuWenDu = chuWenDu;
    }

    public float getYaLi() {
        return yaLi;
    }

    public void setYaLi(float yaLi) {
        this.yaLi = yaLi;
    }

    public float getLjll() {
        return ljll;
    }

    public void setLjll(float ljll) {
        this.ljll = ljll;
    }

    public float getSsll() {
        return ssll;
    }

    public void setSsll(float ssll) {
        this.ssll = ssll;
    }

    public float getYeWei() {
        return yeWei;
    }

    public void setYeWei(float yeWei) {
        this.yeWei = yeWei;
    }

    public float getWenDu1() {
        return wenDu1;
    }

    public void setWenDu1(float wenDu1) {
        this.wenDu1 = wenDu1;
    }

    public float getWenDu2() {
        return wenDu2;
    }

    public void setWenDu2(float wenDu2) {
        this.wenDu2 = wenDu2;
    }

    public int getDddf() {
        return dddf;
    }

    public void setDddf(int dddf) {
        this.dddf = dddf;
    }

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }
} @Entity
@Table(name="T_ZhuQi_Daily_Record")
public class ZhuQiDailyDataRecord extends AbstractPersistable<Integer> {

	/**
	 * 编号
	 */
	private String code;
	
	/**
	 * 注汽量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float gas;
	
	/**
	 * 状态（1为开井，0为停井。开井时间大于23就认为开井）
	 */
	private int runStatus;
	/**
	 * 用电量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float eleConsume;
	
	/**
	 * 统计日期
	 */
        @Temporal(javax.persistence.TemporalType.DATE)
	private Date statisticsDate;
        
        /**
         * 插入时间
         */
        @Temporal(javax.persistence.TemporalType.TIMESTAMP)
        private Date saveDatetime;
	
	/****************注汽报表补充*******************/
	/**
	 * 运行时间
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float runTime;
	/**
	 * 日均瞬时注汽流量
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float ssll;
	/**
	 * 日均压力
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float yaLi;
	/**
	 * 日均温度
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float wenDu;
	/**
	 * 日均干度
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float ganDu;

	

	public float getRunTime() {
		return runTime;
	}


	public void setRunTime(float runTime) {
		this.runTime = runTime;
	}


	public float getSsll() {
		return ssll;
	}


	public void setSsll(float ssll) {
		this.ssll = ssll;
	}


	public float getYaLi() {
		return yaLi;
	}


	public void setYaLi(float yaLi) {
		this.yaLi = yaLi;
	}


	public float getWenDu() {
		return wenDu;
	}


	public void setWenDu(float wenDu) {
		this.wenDu = wenDu;
	}


	public float getGanDu() {
		return ganDu;
	}


	public void setGanDu(float ganDu) {
		this.ganDu = ganDu;
	}


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}

	public float getGas() {
		return gas;
	}


	public void setGas(float gas) {
		this.gas = gas;
	}


	public int getRunStatus() {
		return runStatus;
	}


	public void setRunStatus(int runStatus) {
		this.runStatus = runStatus;
	}


	public float getEleConsume() {
		return eleConsume;
	}


	public void setEleConsume(float eleConsume) {
		this.eleConsume = eleConsume;
	}

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }


	
	

} @Entity
@Table(name = "T_Zhuqi_Hourly_Record")
public class ZhuQiHourlyDataRecord extends AbstractPersistable<Integer> {

    /**
     * 编号
     */
    private String code;
    /**
     * 注汽量
     */
    @Column(columnDefinition="DECIMAL(10,3)")
    private float gas;
    /**
     * 开井时间（分钟，即存储间隔）
     */
    private int runTime;
    /**
     * 启停状态(1为启，0为停)
     */
    private int runStatus;
    /**
     * 用电量
     */
    @Column(columnDefinition="DECIMAL(10,3)")
    private float eleConsume;
    /**
     * 统计日期
     */
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date statisticsDate;
    /**
     * 统计时间
     */
    @Temporal(javax.persistence.TemporalType.TIME)
    private Date statisticsTime;
    /**
     * 插入时间
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    private Date saveDatetime;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public float getGas() {
        return gas;
    }

    public void setGas(float gas) {
        this.gas = gas;
    }

    public int getRunTime() {
        return runTime;
    }

    public void setRunTime(int runTime) {
        this.runTime = runTime;
    }

    public float getEleConsume() {
        return eleConsume;
    }

    public void setEleConsume(float eleConsume) {
        this.eleConsume = eleConsume;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }
} @Entity
@Table(name="T_Zhushui_Daily_Record")
public class ZhuShuiDailyDataRecord extends AbstractPersistable<Integer> {

	/**
	 * 编号
	 */
	private String code;
	
	/**
	 * 注水量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float water;
	
	/**
	 * 状态（1为开井，0为停井。开井时间大于23就认为开井）
	 */
	private int runStatus;
	/**
	 * 用电量
	 */
        @Column(columnDefinition="DECIMAL(10,3)")
	private float eleConsume;
	
/**
	 * 统计日期
	 */
        @Temporal(javax.persistence.TemporalType.DATE)
	private Date statisticsDate;
        
        /**
         * 插入时间
         */
        @Temporal(javax.persistence.TemporalType.TIMESTAMP)
        private Date saveDatetime;
	
	/***************补充生产管理报表*****************/
	/**
	 * 运行时间
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float runTime;
	/**
	 * 日均瞬时流量
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float ssll;
	/**
	 * 日均压力
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float yaLi;
	/**
	 * 日均温度
	 */
        @Column(columnDefinition="DECIMAL(10,2)")
	private float wenDu;
	


	public String getCode() {
		return code;
	}


	public void setCode(String code) {
		this.code = code;
	}


	public float getWater() {
		return water;
	}


	public void setWater(float water) {
		this.water = water;
	}




	public int getRunStatus() {
		return runStatus;
	}


	public void setRunStatus(int runStatus) {
		this.runStatus = runStatus;
	}


	public float getEleConsume() {
		return eleConsume;
	}


	public void setEleConsume(float eleConsume) {
		this.eleConsume = eleConsume;
	}


	


	public float getRunTime() {
		return runTime;
	}


	public void setRunTime(float runTime) {
		this.runTime = runTime;
	}


	public float getSsll() {
		return ssll;
	}


	public void setSsll(float ssll) {
		this.ssll = ssll;
	}


	public float getYaLi() {
		return yaLi;
	}


	public void setYaLi(float yaLi) {
		this.yaLi = yaLi;
	}


	public float getWenDu() {
		return wenDu;
	}


	public void setWenDu(float wenDu) {
		this.wenDu = wenDu;
	}

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

} @Entity
@Table(name = "T_Zhushui_Hourly_Record")
public class ZhuShuiHourlyDataRecord extends AbstractPersistable<Integer> {

    /**
     * 编号
     */
    private String code;
    /**
     * 注水量
     */
    @Column(columnDefinition="DECIMAL(10,3)")
    private float water;
    /**
     * 开井时间（分钟，即存储间隔）
     */
    private int runTime;
    /**
     * 启停状态(1为启，0为停)
     */
    private int runStatus;
    /**
     * 用电量
     */
    @Column(columnDefinition="DECIMAL(10,3)")
    private float eleConsume;
    /**
     * 统计日期
     */
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date statisticsDate;
    /**
     * 统计时间
     */
    @Temporal(javax.persistence.TemporalType.TIME)
    private Date statisticsTime;
    /**
     * 插入时间
     */
    @Temporal(javax.persistence.TemporalType.TIMESTAMP)
    private Date saveDatetime;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public float getWater() {
        return water;
    }

    public void setWater(float water) {
        this.water = water;
    }

    public int getRunTime() {
        return runTime;
    }

    public void setRunTime(int runTime) {
        this.runTime = runTime;
    }

    public float getEleConsume() {
        return eleConsume;
    }

    public void setEleConsume(float eleConsume) {
        this.eleConsume = eleConsume;
    }

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public Date getSaveDatetime() {
        return saveDatetime;
    }

    public void setSaveDatetime(Date saveDatetime) {
        this.saveDatetime = saveDatetime;
    }

    public int getRunStatus() {
        return runStatus;
    }

    public void setRunStatus(int runStatus) {
        this.runStatus = runStatus;
    }
} public interface ReportService {
	void insertOilWellDailyDataRecord(OilWellDailyDataRecord oilWellDailyDataRecord);
	void insertOilWellHourlyDataRecord(OilWellHourlyDataRecord oilWellHourlyDataRecord);
	
	void insertGasWellDailyDataRecord(GasWellDailyDataRecord gasWellDailyDataRecord);
	void insertGasWellHourlyDataRecord(GasWellHourlyDataRecord gasWellHourlyDataRecord);
	
	void insertWaterWellDailyDataRecord(WaterWellDailyDataRecord waterWellDailyDataRecord);
	void insertWaterWellHourlyDataRecord(WaterWellHourlyDataRecord waterWellHourlyDataRecord);
	
	void insertZhuShuiDailyDataRecord(ZhuShuiDailyDataRecord zhuShuiDailyDataRecord);
	void insertZhuShuiHourlyDataRecord(ZhuShuiHourlyDataRecord zhuShuiHourlyDataRecord);
	
	void insertZhuQiDailyDataRecord(ZhuQiDailyDataRecord zhuQiDailyDataRecord);
	void insertZhuQiHourlyDataRecord(ZhuQiHourlyDataRecord zhuQiHourlyDataRecord);

	void insertZengYaZhanDailyDataRecord(ZengYaZhanDailyDataRecord zengYaZhanDailyDataRecord);
	
}
import javax.inject.Inject;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.ht.scada.oildata.dao.GasWellDailyDataRecordDao;
import com.ht.scada.oildata.dao.GasWellHourlyDataRecordDao;
import com.ht.scada.oildata.dao.OilWellDailyDataRecordDao;
import com.ht.scada.oildata.dao.OilWellHourlyDataRecordDao;
import com.ht.scada.oildata.dao.WaterWellDailyDataRecordDao;
import com.ht.scada.oildata.dao.WaterWellHourlyDataRecordDao;
import com.ht.scada.oildata.dao.ZengYaZhanDailyDataRecordDao;
import com.ht.scada.oildata.dao.ZhuQiDailyDataRecordDao;
import com.ht.scada.oildata.dao.ZhuQiHourlyDataRecordDao;
import com.ht.scada.oildata.dao.ZhuShuiDailyDataRecordDao;
import com.ht.scada.oildata.dao.ZhuShuiHourlyDataRecordDao;
import com.ht.scada.oildata.entity.GasWellDailyDataRecord;
import com.ht.scada.oildata.entity.GasWellHourlyDataRecord;
import com.ht.scada.oildata.entity.OilWellDailyDataRecord;
import com.ht.scada.oildata.entity.OilWellHourlyDataRecord;
import com.ht.scada.oildata.entity.WaterWellDailyDataRecord;
import com.ht.scada.oildata.entity.WaterWellHourlyDataRecord;
import com.ht.scada.oildata.entity.ZengYaZhanDailyDataRecord;
import com.ht.scada.oildata.entity.ZhuQiDailyDataRecord;
import com.ht.scada.oildata.entity.ZhuQiHourlyDataRecord;
import com.ht.scada.oildata.entity.ZhuShuiDailyDataRecord;
import com.ht.scada.oildata.entity.ZhuShuiHourlyDataRecord;
import com.ht.scada.oildata.service.ReportService;
package com.ht.scada.oildata.service.impl;




/**
 * @author 赵磊
 *
 */
@Transactional
@Service("reportService")
public class ReportServiceImpl implements ReportService {
	@Inject
	private OilWellDailyDataRecordDao oilWellDailyDataRecordDao;
	@Inject
	private OilWellHourlyDataRecordDao oilWellHourlyDataRecordDao;
	@Inject
	private GasWellDailyDataRecordDao gasWellDailyDataRecordDao;
	@Inject
	private GasWellHourlyDataRecordDao gasWellHourlyDataRecordDao;
	@Inject
	private WaterWellDailyDataRecordDao waterWellDailyDataRecordDao;
	@Inject
	private WaterWellHourlyDataRecordDao waterWellHourlyDataRecordDao;