Commit edf70399 by wuwenlong

批量生成生产计划bugfix

parent ab82e8bf
...@@ -495,7 +495,7 @@ public class HGSCTools { ...@@ -495,7 +495,7 @@ public class HGSCTools {
public static List<HGSC005A> saveList(List<HGSC005A> hgsc005aList){ public static List<HGSC005A> saveList(List<HGSC005A> hgsc005aList){
checkUpdateData(hgsc005aList); checkUpdateData(hgsc005aList);
constructObj(hgsc005aList); hgsc005aList = constructObj(hgsc005aList);
List<HGSC005A> hgsc005AList = generatorNewPlanDetail(hgsc005aList); List<HGSC005A> hgsc005AList = generatorNewPlanDetail(hgsc005aList);
// Map<Long,Optional<HGSC005A>> oldObjMap = queryOldPlanDetail(hgsc005aList); // Map<Long,Optional<HGSC005A>> oldObjMap = queryOldPlanDetail(hgsc005aList);
// List<HGSC005A> createList = new ArrayList<>(); // List<HGSC005A> createList = new ArrayList<>();
...@@ -672,7 +672,7 @@ public class HGSCTools { ...@@ -672,7 +672,7 @@ public class HGSCTools {
if(MapUtils.isNotEmpty(hgsc005AMap)){ if(MapUtils.isNotEmpty(hgsc005AMap)){
result.addAll(hgsc005AMap.values().stream().collect(Collectors.toList())); result.addAll(hgsc005AMap.values().stream().collect(Collectors.toList()));
} }
return hgsc005aList; return result;
} }
/** /**
......
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