正在显示
1 个修改的文件
包含
4 行增加
和
3 行删除
@@ -1327,10 +1327,11 @@ func (cashPoolService *CashPoolService) ImportCreateExchangeCashPerson(createExc | @@ -1327,10 +1327,11 @@ func (cashPoolService *CashPoolService) ImportCreateExchangeCashPerson(createExc | ||
1327 | cashDecrement := suMoneyDecrement * activityFound.Rate | 1327 | cashDecrement := suMoneyDecrement * activityFound.Rate |
1328 | 1328 | ||
1329 | // 更新兑换素币清单命令 | 1329 | // 更新兑换素币清单命令 |
1330 | - updateExchangeCashPersonCommand := command.UpdateExchangeCashPersonCommand{ | 1330 | + updateExchangeCashPersonCommand := &command.UpdateExchangeCashPersonCommand{ |
1331 | ListId: peopleFound[0].ListId, | 1331 | ListId: peopleFound[0].ListId, |
1332 | ExchangedSuMoney: personFoundExchangedSuMoney - suMoneyDecrement, | 1332 | ExchangedSuMoney: personFoundExchangedSuMoney - suMoneyDecrement, |
1333 | - ExchangedCash: (personFoundExchangedSuMoney - suMoneyDecrement) * activityFound.Rate, | 1333 | + ExchangedCash: (personFoundExchangedSuMoney - suMoneyDecrement) * activityFound.Rate, |
1334 | + Operator: createExchangeCashPersonCommand.Operator, | ||
1334 | } | 1335 | } |
1335 | 1336 | ||
1336 | // 更新兑换素币清单 | 1337 | // 更新兑换素币清单 |
@@ -1469,7 +1470,7 @@ func (cashPoolService *CashPoolService) ImportCreateExchangeCashPerson(createExc | @@ -1469,7 +1470,7 @@ func (cashPoolService *CashPoolService) ImportCreateExchangeCashPerson(createExc | ||
1469 | } | 1470 | } |
1470 | 1471 | ||
1471 | // 更新素币兑换活动命令 | 1472 | // 更新素币兑换活动命令 |
1472 | - updateExchangeCashActivityCommand := &command.UpdateExchangeCashActivityCommand{ | 1473 | + updateExchangeCashActivityCommand := &command.UpdateExchangeCashActivityCommand{ |
1473 | ExchangeCashActivityId: peopleFound[0].ExchangeCashActivityId, | 1474 | ExchangeCashActivityId: peopleFound[0].ExchangeCashActivityId, |
1474 | ExchangedSuMoney: activityFound.ExchangedSuMoney + suMoneyIncrement, | 1475 | ExchangedSuMoney: activityFound.ExchangedSuMoney + suMoneyIncrement, |
1475 | ExchangedCash: activityFound.ExchangedCash + cashIncrement, | 1476 | ExchangedCash: activityFound.ExchangedCash + cashIncrement, |
-
请 注册 或 登录 后发表评论