Commit 5f3e7f21 authored by shiyu's avatar shiyu

减少用户交换商品库存

parent 55326942
......@@ -277,6 +277,7 @@ public class ExchangeServiceImpl implements ExchangeService {
exchangeOrderSnapshot.setCreateTime(new Date());
exchangeOrderSnapshot.setUpdateTime(new Date());
exchangeOrderSnapshotDao.insert(exchangeOrderSnapshot);
supplierItemService.reduceStock(itemSimpleDto.getItemId(), itemSimpleDto.getItemNum());
}
//减少库存
supplierItemService.reduceStock(exchangeItemId, dto.getExchangeItemNum());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment