diff --git a/src/main/java/com/rekoe/service/SvnUserService.java b/src/main/java/com/rekoe/service/SvnUserService.java index bd9b792..543955b 100644 --- a/src/main/java/com/rekoe/service/SvnUserService.java +++ b/src/main/java/com/rekoe/service/SvnUserService.java @@ -113,7 +113,7 @@ public class SvnUserService extends BaseService { result.setUsr(rs.getString("usr")); result.setName(rs.getString("name")); result.setPsw(rs.getString("psw")); - result.setRole(SVNRoleType.valueOf(rs.getString("svn_role_type"))); + result.setRole(SVNRoleType.valueOf(rs.getString("role"))); result.setEmail(rs.getString("email")); return result; } diff --git a/src/main/java/com/rekoe/service/UsrService.java b/src/main/java/com/rekoe/service/UsrService.java index 96601fa..36a2939 100644 --- a/src/main/java/com/rekoe/service/UsrService.java +++ b/src/main/java/com/rekoe/service/UsrService.java @@ -63,7 +63,7 @@ public class UsrService extends BaseService { result.setUsr(rs.getString("usr")); result.setName(rs.getString("name")); result.setPsw(rs.getString("psw")); - result.setRole(SVNRoleType.valueOf(rs.getString("svn_role_type"))); + result.setRole(SVNRoleType.valueOf(rs.getString("role"))); return result; }