Commit 4552e428 authored by liwei's avatar liwei

修改了充值bug

parent 1a591f1e
......@@ -1198,6 +1198,8 @@ public class CmsOrderServiceImpl extends ServiceImpl<CmsOrderRepository,CmsOrder
memGoldCoinFlow.setEndCount(memGoldCoinFlow.getCount() + memInfo.getGoldCoinsCount());
memGoldCoinFlow.setOrderId(BigInteger.valueOf(orderDetail.getBusinessId()));
memGoldCoinFlow.setTargetId(BigInteger.valueOf(orderDetail.getUserId()));
memGoldCoinFlow.setCreateBy(String.valueOf(orderDetail.getUserId()));
memGoldCoinFlow.setUpdateBy(String.valueOf(orderDetail.getUserId()));
memGoldCoinFlowRepository.insert(memGoldCoinFlow);
//修改会员表的金币余额
memInfo.setGoldCoinsCount(memGoldCoinFlow.getCount() + memInfo.getGoldCoinsCount());
......
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