Exemplo n.º 1
0
 @Override
 public void addRights(Rights rights) {
   dataBaseDaoHelper.persist(rights);
   String sql =
       "insert into t_role_rights values (s_role_rights.nextval,'" + rights.getRightsId() + "',1)";
   dataBaseDaoHelper.executeNativeSQL(sql);
 }
Exemplo n.º 2
0
 @Override
 public Long lv1Add(Latitude latitude) {
   return dataBaseDaoHelper.persist("s_latitude", latitude, "latiId");
 }
Exemplo n.º 3
0
 // 增加
 @Override
 public Long addbfjl(bfjl bfjl) {
   return dataBaseDaoHelper.persist("S_BFJL", bfjl, "bfjlid");
 }
Exemplo n.º 4
0
 // 增加
 @Override
 public Long addyggl(Employee Employee) {
   return dataBaseDaoHelper.persist("S_EMPLOYEE", Employee, "employeeId");
 }