73c2c62292db220671fd5a44896347b9587e95b7.svn-base
1016 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package yxy.timer.dao.impl;
import java.util.List;
import yxy.timer.dao.YxyLinkInfoDao;
import yxy.timer.dao.YxyReplyInfoDao;
import yxy.timer.pojo.YxyLinkInfo;
import yxy.timer.pojo.YxyReplyInfo;
/**
*
* 回复dao实现类
*
*/
public class YxyLinkInfoDaoImpl extends HibernateBaseDAOImpl<YxyLinkInfo, Long> implements YxyLinkInfoDao{
/**实体插入*/
public int addPojo(YxyLinkInfo reply)throws Exception{
return super.add(reply);
}
/**查询指定量数据*/
public List<YxyLinkInfo> findByHqlSet(String hql,int num)throws Exception
{
return super.findBySet(hql, num);
}
/**统计条数*/
public int count(String hql)throws Exception
{
return super.count(hql);
}
/**根据sql查询*/
public List<Object> findBySql(String sql)throws Exception
{
return super.findBySql(sql);
}
/**hql更新*/
public void updateByHql(String hql)throws Exception
{
super.updateorDelByHql(hql);
}
/**实体编辑*/
public void updatePojo(YxyLinkInfo o)throws Exception{
super.update(o);
}
}