package com.fr.tx.common.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.SqlSession;

import com.fr.tx.common.entity.GunLogEntity;
import com.fr.tx.common.entity.RealDataEntity;

public interface GunLogDao {
	
    public SqlSession getSession();
    
    /**
     * 画面检索
     * @param en
     * @return 查询内容
     */
    public List<GunLogEntity> search();
    

    /**
     * 插入
     * @param en
     * @return result
     */
    public int insert(GunLogEntity en);
    
    /**
     * 画面查询当日开启的油枪数据
     * @param en
     * @return 查询内容
     */
    public List<GunLogEntity> searchGunLog(GunLogEntity en);
    
    /**
     *画面查询加油量 交易记录次数
     *@param en
     *@return 查询内容 
     */
    public List<RealDataEntity> searchGunJy(RealDataEntity en);
   
}
