Browse Source

archived = 0 archived的 client_details 不展示

2.0.2
monkeyk7 5 years ago
parent
commit
4eac66761b
  1. 2
      src/main/java/com/monkeyk/sos/infrastructure/jdbc/OauthRepositoryJdbc.java

2
src/main/java/com/monkeyk/sos/infrastructure/jdbc/OauthRepositoryJdbc.java

@ -45,7 +45,7 @@ public class OauthRepositoryJdbc implements OauthRepository {
@Override
public List<OauthClientDetails> findAllOauthClientDetails() {
final String sql = " select * from oauth_client_details order by create_time desc ";
final String sql = " select * from oauth_client_details where archived = 0 order by create_time desc ";
return this.jdbcTemplate.query(sql, oauthClientDetailsRowMapper);
}

Loading…
Cancel
Save