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