Esempio 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);
 }
Esempio n. 2
0
 @Override
 public Long lv1Add(Latitude latitude) {
   return dataBaseDaoHelper.persist("s_latitude", latitude, "latiId");
 }
Esempio n. 3
0
 // 增加
 @Override
 public Long addbfjl(bfjl bfjl) {
   return dataBaseDaoHelper.persist("S_BFJL", bfjl, "bfjlid");
 }
Esempio n. 4
0
 // 增加
 @Override
 public Long addyggl(Employee Employee) {
   return dataBaseDaoHelper.persist("S_EMPLOYEE", Employee, "employeeId");
 }