|
|
|
@ -1099,9 +1099,8 @@ public class IoAddInoutService {
|
|
|
|
|
.filter(person -> IntUtil.value(person.getRelId()) == IntUtil.value(codeTempEntity.getRelId())
|
|
|
|
|
&& StrUtil.trimToEmpty(person.getBatchNo()).equals(StrUtil.trimToEmpty(codeTempEntity.getBatchNo()))
|
|
|
|
|
)
|
|
|
|
|
.sorted(Comparator.comparing(IoCodeTempEntity::getInBatchNo))
|
|
|
|
|
.sorted(Comparator.comparing(IoCodeTempEntity::getInBatchNo, Comparator.nullsLast(Comparator.naturalOrder())))
|
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
|
Map<String, List<IoCodeTempEntity>> stringListMap = null;
|
|
|
|
|
if (CollUtil.isNotEmpty(filteredAndSorted)) {
|
|
|
|
|
stringListMap = filteredAndSorted.stream()
|
|
|
|
|