|
|
|
@ -90,8 +90,8 @@ public class CostGiftRewardDomainService { |
|
|
|
walletAccountAggregate.save(toWalletAccount); |
|
|
|
} |
|
|
|
|
|
|
|
if (CollUtil.isNotEmpty(toWalletAccount.getRecordList())){ |
|
|
|
toWalletAccount.getRecordList().forEach(record -> { |
|
|
|
if (CollUtil.isNotEmpty(toRevenueReward.getRecordList())){ |
|
|
|
toRevenueReward.getRecordList().forEach(record -> { |
|
|
|
eventList.add(TypeConvertUtils.convert(record, RevenueRewardRecordCreatedEvent.class)); |
|
|
|
}); |
|
|
|
} |
|
|
|
@ -107,8 +107,8 @@ public class CostGiftRewardDomainService { |
|
|
|
walletAccountAggregate.save(anchorWalletAccount); |
|
|
|
} |
|
|
|
|
|
|
|
if (CollUtil.isNotEmpty(anchorWalletAccount.getRecordList())){ |
|
|
|
anchorWalletAccount.getRecordList().forEach(record -> { |
|
|
|
if (CollUtil.isNotEmpty(anchorRevenueReward.getRecordList())){ |
|
|
|
anchorRevenueReward.getRecordList().forEach(record -> { |
|
|
|
eventList.add(TypeConvertUtils.convert(record, RevenueRewardRecordCreatedEvent.class)); |
|
|
|
}); |
|
|
|
} |
|
|
|
|