package yxy.timer.dao; import java.util.List; import yxy.timer.pojo.YxyReadingInfo; /* * 点读DAO */ public interface YxyReadDao { /**HQL查询*/ public List<YxyReadingInfo> findByHql(String hql)throws Exception; /**插入*/ public int insertRead(YxyReadingInfo o)throws Exception; /**批量插入*/ public void insertReadPi(List<YxyReadingInfo> o)throws Exception; /**HQL查询指定条数据*/ public List findByHqlNum(String hql)throws Exception; public int findByHqlCount(String hql)throws Exception; /**sql查询*/ public List<Object> findBySql(String sql) throws Exception; /**sql更新*/ public void updateSql(String sql) throws Exception; /**HQL更新*/ public void updateByHql(String hql)throws Exception; }