|
@@ -319,7 +319,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
|
|
|
List<Goods> tempGoodsList = goodsDao.lockGoods(new ArrayList<>(goodsIds));
|
|
|
Map<Integer, Goods> idTempGoodsMap = tempGoodsList.stream().collect(Collectors.toMap(Goods::getId, g -> g));
|
|
|
- List<GoodsProcurement> goodsBatchNoDtos = new ArrayList<>();
|
|
|
+ List<SellOrder> goodsBatchNoDtos = new ArrayList<>();
|
|
|
for (Integer goodsId : goodsIds) {
|
|
|
Goods tempGoods = idTempGoodsMap.get(goodsId);
|
|
|
List<Goods> childGoods = new ArrayList<>();
|
|
@@ -358,7 +358,7 @@ public class GoodsServiceImpl extends BaseServiceImpl<Integer, Goods> implement
|
|
|
goodsProcurement.setParentGoodsId(tempGoods.getId());
|
|
|
}
|
|
|
|
|
|
- goodsBatchNoDtos.add(goodsProcurement);
|
|
|
+// goodsBatchNoDtos.add(goodsProcurement);
|
|
|
}
|
|
|
// goodsDao.update(tempGoods);
|
|
|
}
|