Skip to content

Commit

Permalink
fixed PsupData
Browse files Browse the repository at this point in the history
  • Loading branch information
Numero7 committed Dec 20, 2024
1 parent 6152b13 commit c02796d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ public AdmissionStats buildStats() {

val bacsKeys = new HashSet<>(getBacs().stream().map(Bac::key).toList());
bacsKeys.add(TOUS_BACS_CODE_MPS);
val groups = getGtaToMpsIdMapping();

val groups = new HashMap<String, Collection<String>>();
getVoeuxGroupedByFormation(getFormationsMpsIds()).forEach((key, value) -> groups.put(key, value.stream().map(Voeu::id).distinct().sorted().toList()));

StatistiquesAdmisParGroupe statsAdmisParGroupe
= stats.createGroupAdmisStatistique(groups, bacsKeys);
Expand Down

0 comments on commit c02796d

Please sign in to comment.