Début de la page admin

This commit is contained in:
jleroy
2024-04-25 16:58:47 +02:00
parent 85f4f52960
commit 658f1c3e9c
7 changed files with 108 additions and 4 deletions

View File

@@ -75,7 +75,9 @@ public class UserRepositoryImpl implements UserRepository {
@Override
public List<UserProfil> findAll() {
return List.of();
String sql = "SELECT * FROM UTILISATEURS WHERE isDelete = 0";
List<UserProfil> users = jdbcTemplate.query(sql, new UserRowMapper());
return users;
}
@Override