Fix su sorting partita mag nulla in Spedizione
This commit is contained in:
parent
fb6d206203
commit
b48b2fbac9
@ -942,7 +942,7 @@ public class SpedizioneViewModel {
|
|||||||
if (availableBatchLots.stream().anyMatch(x -> x.getDataScad() == null)) {
|
if (availableBatchLots.stream().anyMatch(x -> x.getDataScad() == null)) {
|
||||||
tmp.addAll(availableBatchLots.stream()
|
tmp.addAll(availableBatchLots.stream()
|
||||||
.filter(x -> x.getDataScad() == null)
|
.filter(x -> x.getDataScad() == null)
|
||||||
.sorted(Comparator.comparing(MtbPartitaMag::getPartitaMag))
|
.sorted(Comparator.comparing(x -> UtilityString.isNull(x.getPartitaMag(), "")))
|
||||||
.collect(Collectors.toList()));
|
.collect(Collectors.toList()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user