Merge pull request 'develop' (#149) from develop into main
All checks were successful
CD - Deploy on main / deploy (push) Successful in 48s
All checks were successful
CD - Deploy on main / deploy (push) Successful in 48s
Reviewed-on: #149
This commit was merged in pull request #149.
This commit is contained in:
@@ -163,11 +163,12 @@ public class ImpositionsTfuServiceImpl implements ImpositionsTfuService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ImpositionsTfuPaylaodWeb> getImpositionsTfuByUserIdIds(Long userId) {
|
public List<ImpositionsTfuPaylaodWeb> getImpositionsTfuByUserIdIds(Long userId) {
|
||||||
|
System.out.println(userId);
|
||||||
List<Structure> structures = structureService.getListStructureUserId(userId);
|
List<Structure> structures = structureService.getListStructureUserId(userId);
|
||||||
List<Long> structureIds = structures.stream()
|
List<Long> structureIds = structures.stream()
|
||||||
.map(Structure::getId)
|
.map(Structure::getId)
|
||||||
.toList();
|
.toList();
|
||||||
|
System.out.println(structureIds.get(0));
|
||||||
return impositionsTfuRepository.findByStructureIdsToDto(structureIds);
|
return impositionsTfuRepository.findByStructureIdsToDto(structureIds);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user