商品管理
This commit is contained in:
parent
1adafc0ad3
commit
1d65c07db7
|
|
@ -305,6 +305,10 @@ public class ProductServiceImpl extends ServiceImpl<ProductMapper, Product> impl
|
|||
flow.setInOutType(InOutTypeEnum.IN.value());
|
||||
flow.setInOutItem(InOutItemEnum.WIN_IN.value());
|
||||
}
|
||||
// 盘平
|
||||
if (NumberUtil.equals(inOutNumber, BigDecimal.ZERO)) {
|
||||
return;
|
||||
}
|
||||
flow.setAfterNumber(NumberUtil.toBigDecimal(entity.getStockNumber()));
|
||||
productStockFlowMapper.insert(flow);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue