Commit 5ef7c17a by 江和松

零件构建计划物料明细时bug修改

parent fca70dd0
...@@ -471,7 +471,7 @@ public class HGSCTools { ...@@ -471,7 +471,7 @@ public class HGSCTools {
Map<Long,Optional<HGSC005A>> oldObjMap = Optional.ofNullable(oldObjFilterList).orElse(new ArrayList<>()).stream() Map<Long,Optional<HGSC005A>> oldObjMap = Optional.ofNullable(oldObjFilterList).orElse(new ArrayList<>()).stream()
.collect(Collectors.groupingBy(HGSC005A::getInventProcessId,Collectors.maxBy( .collect(Collectors.groupingBy(HGSC005A::getInventProcessId,Collectors.maxBy(
Comparator.comparingInt(HGSC005A::getQuantity)))); Comparator.comparingInt(HGSC005A::getQuantity))));
oldObjMap.putAll(oldObjMap); returnOldObjMap.putAll(oldObjMap);
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment