Merge branch 'feature/RefactoringGestioneColli' into master-beta
All checks were successful
WMS - Android (New)/pipeline/head This commit looks good

This commit is contained in:
2025-06-03 11:48:15 +02:00
2 changed files with 11 additions and 9 deletions

View File

@@ -16,6 +16,6 @@ public class JwtUtils {
.build()
.parseSignedClaims(token);
return jws.getBody();
return jws.getPayload();
}
}

View File

@@ -44,14 +44,16 @@ public class ProdRecuperoMaterialeRESTConsumer extends _BaseRESTConsumer {
List<HistoryVersamentoProdULDTO> newUlList = new ArrayList<>();
Map<HashMap<String, Object>, List<HistoryVersamentoProdULRestDTO>> ulListGrouped = ulList.stream()
.collect(Collectors.groupingBy(x -> new HashMap<>() {{
put("gestione", x.getGestione());
put("data_collo", x.getDataCollo());
put("ser_collo", x.getSerCollo());
put("num_collo", x.getNumCollo());
put("cod_mart", x.getCodMart());
put("barcode_ul_out", x.getBarcodeUlOut());
}}, Collectors.toList()));
.collect(Collectors.groupingBy(x -> {
var keyMap = new HashMap<String, Object>();
keyMap.put("gestione", x.getGestione());
keyMap.put("data_collo", x.getDataCollo());
keyMap.put("ser_collo", x.getSerCollo());
keyMap.put("num_collo", x.getNumCollo());
keyMap.put("cod_mart", x.getCodMart());
keyMap.put("barcode_ul_out", x.getBarcodeUlOut());
return keyMap;
}, Collectors.toList()));
ulListGrouped.forEach((key, value) -> {