Commit 44bc8b96 authored by liwei's avatar liwei

修改了互换微信的金币流水

parent f21dc5f4
......@@ -883,6 +883,7 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
memGoldCoinFlow.setEndCount(memInfo.getGoldCoinsCount() - acceptGoldCoinCount);
memGoldCoinFlow.setType("2");
memGoldCoinFlow.setActionType("23");
memGoldCoinFlow.setTargetId(BigInteger.valueOf(targetId));
memGoldCoinFlowRepository.insert(memGoldCoinFlow);
//修改用户金币数量
memInfo.setGoldCoinsCount(memInfo.getGoldCoinsCount() - acceptGoldCoinCount);
......@@ -926,6 +927,7 @@ public class MemInfoServiceImpl extends ServiceImpl<MemInfoRepository,MemInfo>
memGoldCoinFlow.setEndCount(memInfo.getGoldCoinsCount() - requestGoldCoinCount);
memGoldCoinFlow.setType("2");
memGoldCoinFlow.setActionType("24");
memGoldCoinFlow.setTargetId(BigInteger.valueOf(targetId));
memGoldCoinFlowRepository.insert(memGoldCoinFlow);
//修改用户金币数量
memInfo.setGoldCoinsCount(memInfo.getGoldCoinsCount() - requestGoldCoinCount);
......
......@@ -588,6 +588,7 @@
opc.comment_count,
opc.create_by AS userId,
opc.user_id AS commentedUserId,
opc.exam_status,
mi.mem_code as memCode,
mi.mem_nick_name as memNickName,
mi.avatar as avatarId,
......@@ -737,6 +738,7 @@
opc.comment_count,
opc.create_by AS userId,
opc.user_id AS commentedUserId,
opc.exam_status,
mi.mem_code as memCode,
mi.mem_nick_name as memNickName,
mi2.mem_code as commentedMemCode,
......
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