src/main/java/com/whyc/service/WorksheetLinkService.java
@@ -161,8 +161,9 @@ .filter(currentHistory -> !approvingUpdateSubNameList.contains(currentHistory.getSubName())) .collect(Collectors.toList()); newVersionCurrentHistoryList.forEach(history->{history.setEVersion(nextVersion);}); if(newVersionCurrentHistoryList.size()!=0) { historyService.updateVersionBatch(newVersionCurrentHistoryList); } /*更新到product_bom*/ //查询新的版本 List<ProductBomHistory> newBomList = historyService.getListByParentModel(approvingList.get(0).getParentModel(), nextVersion);