|
|
@@ -1804,6 +1804,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
}
|
|
|
|
|
|
private Map<String, Object> convertProduct (List<ReleaseProductByBatch> releaseProductByBatchList, boolean isAPerson , boolean isPcb) {
|
|
|
+ System.err.println("测试信息的convertProduct1" + "---------------------");
|
|
|
if (CollectionUtils.isEmpty(releaseProductByBatchList)) {
|
|
|
return null;
|
|
|
}
|
|
|
@@ -1873,6 +1874,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ System.err.println("测试信息的convertProduct 2" + "---------------------");
|
|
|
List<ReleaseProductByBatch> reList = new ArrayList<>();
|
|
|
if (productsfromRelease.size() != 0) {
|
|
|
System.err.println("需要插入的新的物料的信息" + productsfromRelease.size());
|
|
|
@@ -1896,13 +1898,15 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ System.err.println("测试信息的convertProduct 3" + "---------------------");
|
|
|
if (CollectionUtils.isNotEmpty(reList)) {
|
|
|
udpatePridAndRrodnum(reList);
|
|
|
}
|
|
|
+ System.err.println("测试信息的convertProduct 4" + "---------------------");
|
|
|
if (CollectionUtils.isNotEmpty(productPrivates)) {
|
|
|
commonDao.save(productPrivates, ProductPrivate.class);
|
|
|
}
|
|
|
+ System.err.println("测试信息的convertProduct 5" + "---------------------");
|
|
|
if (reIds.size() > 0) {
|
|
|
map.put("reIds", reIds);
|
|
|
}
|