改的不彻底 fixd

pull/3/head
kouxian 2016-08-31 10:34:59 +08:00
parent d8ba3934e3
commit 46ff6bb7d0
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ public class SvnUserService extends BaseService<Usr> {
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;
}

View File

@ -63,7 +63,7 @@ public class UsrService extends BaseService<Usr> {
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;
}