作者 陈志颖

fix:编写错误

@@ -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,