|
|
|
@ -193,7 +193,8 @@ public class InvProductsTrService {
|
|
|
|
|
invProductDetailEntities = buildInvProductDetail(orderId, erpOrderEntity, orderEntity, 2);
|
|
|
|
|
|
|
|
|
|
if (orderEntity.isPreCheck()) {
|
|
|
|
|
insetInv(bussinessTypeEntity, invProductDetailEntities);//2.插入当前库存
|
|
|
|
|
// insetInv(bussinessTypeEntity, invProductDetailEntities);//2.插入当前库存
|
|
|
|
|
invPreInProductDetailService.insertInvProducts(invProductDetailEntities);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (invProductDetailEntities != null && invProductDetailEntities.size() > 0) {
|
|
|
|
|