public void savep(String roleId,String functionid, String ids) {
//String hql = "from TSRoleFunction t where" + " t.TSRole.id=" + oConvertUtils.getInt(roleId,0)
// + " " + "and t.TSFunction.id=" + oConvertUtils.getInt(functionid,0);
CriteriaQuery cq=new CriteriaQuery(TSRoleFunction.class);
cq.eq("TSRole.id",roleId);
cq.eq("TSFunction.id",functionid);
cq.add();
List<TSRoleFunction> rFunctions =systemService.getListByCriteriaQuery(cq,false);
if (rFunctions.size() > 0) {
TSRoleFunction roleFunction = rFunctions.get(0);
roleFunction.setOperation(ids);