改的不彻底 fixd

pull/3/head
kouxian 8 years ago
parent d8ba3934e3
commit 46ff6bb7d0

@ -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;
}

@ -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;
}

Loading…
Cancel
Save