作者 陈志颖

fix:编写错误

... ... @@ -1327,10 +1327,11 @@ func (cashPoolService *CashPoolService) ImportCreateExchangeCashPerson(createExc
cashDecrement := suMoneyDecrement * activityFound.Rate
// 更新兑换素币清单命令
updateExchangeCashPersonCommand := command.UpdateExchangeCashPersonCommand{
updateExchangeCashPersonCommand := &command.UpdateExchangeCashPersonCommand{
ListId: peopleFound[0].ListId,
ExchangedSuMoney: personFoundExchangedSuMoney - suMoneyDecrement,
ExchangedCash: (personFoundExchangedSuMoney - suMoneyDecrement) * activityFound.Rate,
ExchangedCash: (personFoundExchangedSuMoney - suMoneyDecrement) * activityFound.Rate,
Operator: createExchangeCashPersonCommand.Operator,
}
// 更新兑换素币清单
... ... @@ -1469,7 +1470,7 @@ func (cashPoolService *CashPoolService) ImportCreateExchangeCashPerson(createExc
}
// 更新素币兑换活动命令
updateExchangeCashActivityCommand := &command.UpdateExchangeCashActivityCommand{
updateExchangeCashActivityCommand := &command.UpdateExchangeCashActivityCommand{
ExchangeCashActivityId: peopleFound[0].ExchangeCashActivityId,
ExchangedSuMoney: activityFound.ExchangedSuMoney + suMoneyIncrement,
ExchangedCash: activityFound.ExchangedCash + cashIncrement,
... ...