|
|
@@ -236,7 +236,7 @@ public class CenterOrderPlanServiceImpl extends ServiceImpl<CenterOrderPlanMappe
|
|
|
desc.setBrandItem(planItem.getPattern());
|
|
|
desc.setProductDescription(planItem.getGoodsDescription());
|
|
|
desc.setBalanceQuantity(planItem.getGoodsNum());
|
|
|
- desc.setInventoryAmount(planItem.getGoodsNum().multiply(planItem.getPrice()));
|
|
|
+ desc.setInventoryAmount(planItem.getGoodsNum().multiply(Objects.isNull(planItem.getPrice()) ? BigDecimal.ZERO : planItem.getPrice()));
|
|
|
desc.setDot(planItem.getDot());
|
|
|
desc.setVersion(1);
|
|
|
desc.setGoodsTypeId(planItem.getGoodsTypeId());
|