Commit ca3b0817 authored by shiyu's avatar shiyu

创建交换单

parent 3225594a
......@@ -174,7 +174,7 @@ public class ExchangeApplyOrderServiceImpl implements ExchangeApplyOrderService
receiveItemSimpleDtoList.add(itemSimpleDto);
receiveExchangeDto.setItemList(receiveItemSimpleDtoList);
receiveExchangeDto.setUserId(exchangeApplyOrder.getUserId());
receiveExchangeDto.setUserId(exchangeApplyOrder.getTargetUserId());
User receiveUser = cacheUtil.getAppletUserById(exchangeApplyOrder.getTargetUserId());
receiveExchangeDto.setUserOpenId(receiveUser.getWeixinOpenid());
Result receiveExchangeOrderResult = exchangeService.exchange(receiveExchangeDto);
......
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