修改批量出入库
This commit is contained in:
parent
c94c6e8611
commit
6629f09f98
|
|
@ -281,7 +281,7 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
|
|||
flow.setShopId(info.getShopId());
|
||||
flow.setConName(info.getConName());
|
||||
flow.setAmount(conInfos.getStockNumber());
|
||||
flow.setBalance(info.getStockNumber());
|
||||
flow.setBalance(info.getStockNumber().subtract(info.getStockConsume()));
|
||||
|
||||
flow.setCreateTime(new Timestamp(System.currentTimeMillis()));
|
||||
tbConsInfoFlowRepository.save(flow);
|
||||
|
|
|
|||
Loading…
Reference in New Issue