92c6c4d0f4d7acee4cf7d424c57e382f907031ae.svn-base
1.0 KB
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
package com.espeed.dao.impl;
import java.util.List;
import com.espeed.dao.XLicenceFunDao;
import com.espeed.webmail.pojo.XLicenceFun;
/***
*
* @author 谢勇
* 企业授权dao
*/
public class XLicenceFunDaoImpl extends WebmailHibernateBaseDAOImpl<XLicenceFun, Long> implements XLicenceFunDao {
/**实体插入*/
public int addPojo(XLicenceFun o)throws Exception{
return super.add(o);
}
/**实体编辑*/
public void updatePojo(XLicenceFun o)throws Exception{
super.update(o);
}
/**HQL查询*/
public List<XLicenceFun> findByHql(String hql)throws Exception{
return super.getAll(hql);
}
/**HQL查询数量*/
public int findByHqlCount(String hql)throws Exception{
return super.count(hql);
}
/**SQL查询*/
public List findBySqlFind(String sql)throws Exception{
return super.findBySql(sql);
}
/**HQL更新*/
public void updateByHql(String hql)throws Exception{
super.updateorDelBySql(hql);
}
/**sql更新*/
public void updateBySql(String sql)throws Exception{
super.updateorDelSql(sql);
}
}