Gestion des barem #148

Merged
judaur2005 merged 1 commits from features/crud_entites into develop 2026-03-09 20:00:03 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 9b4edcdcea - Show all commits

View File

@@ -163,11 +163,12 @@ public class ImpositionsTfuServiceImpl implements ImpositionsTfuService {
@Override
public List<ImpositionsTfuPaylaodWeb> getImpositionsTfuByUserIdIds(Long userId) {
System.out.println(userId);
List<Structure> structures = structureService.getListStructureUserId(userId);
List<Long> structureIds = structures.stream()
.map(Structure::getId)
.toList();
System.out.println(structureIds.get(0));
return impositionsTfuRepository.findByStructureIdsToDto(structureIds);
}
}