Commit 8b9921a7 authored by shiyu's avatar shiyu

订单快照有效状态

parent f1c62211
...@@ -270,6 +270,7 @@ public class ExchangeServiceImpl implements ExchangeService { ...@@ -270,6 +270,7 @@ public class ExchangeServiceImpl implements ExchangeService {
exchangeOrderSnapshot.setItemId(itemSimpleDto.getItemId()); exchangeOrderSnapshot.setItemId(itemSimpleDto.getItemId());
exchangeOrderSnapshot.setItemNum(itemSimpleDto.getItemNum()); exchangeOrderSnapshot.setItemNum(itemSimpleDto.getItemNum());
exchangeOrderSnapshot.setItemName(userItem.getName()); exchangeOrderSnapshot.setItemName(userItem.getName());
exchangeOrderSnapshot.setIsValid(true);
exchangeOrderSnapshot.setCreateTime(new Date()); exchangeOrderSnapshot.setCreateTime(new Date());
exchangeOrderSnapshot.setUpdateTime(new Date()); exchangeOrderSnapshot.setUpdateTime(new Date());
exchangeOrderSnapshotDao.insert(exchangeOrderSnapshot); exchangeOrderSnapshotDao.insert(exchangeOrderSnapshot);
......
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