正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -1604,6 +1604,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | @@ -1604,6 +1604,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | ||
1604 | 1604 | ||
1605 | // 获取兑换清单员工已兑换素币 | 1605 | // 获取兑换清单员工已兑换素币 |
1606 | personFoundExchangedSuMoney := personFound.ExchangedSuMoney | 1606 | personFoundExchangedSuMoney := personFound.ExchangedSuMoney |
1607 | + personFoundExchangedCash := personFound.ExchangedCash | ||
1607 | 1608 | ||
1608 | // 获取相关兑换活动 | 1609 | // 获取相关兑换活动 |
1609 | activityFound, err := exchangeCashActivityRepository.FindOne(map[string]interface{}{"activityId": personFound.ExchangeCashActivityId}) | 1610 | activityFound, err := exchangeCashActivityRepository.FindOne(map[string]interface{}{"activityId": personFound.ExchangeCashActivityId}) |
@@ -1618,7 +1619,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | @@ -1618,7 +1619,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | ||
1618 | updateExchangeCashActivityCommand := &command.UpdateExchangeCashActivityCommand{ | 1619 | updateExchangeCashActivityCommand := &command.UpdateExchangeCashActivityCommand{ |
1619 | ExchangeCashActivityId: personFound.ExchangeCashActivityId, | 1620 | ExchangeCashActivityId: personFound.ExchangeCashActivityId, |
1620 | ExchangedSuMoney: activityFound.ExchangedSuMoney - personFoundExchangedSuMoney, | 1621 | ExchangedSuMoney: activityFound.ExchangedSuMoney - personFoundExchangedSuMoney, |
1621 | - ExchangedCash: activityFound.ExchangedCash - personFoundExchangedSuMoney, | 1622 | + ExchangedCash: activityFound.ExchangedCash - personFoundExchangedCash, |
1622 | Deadline: activityFound.Deadline, | 1623 | Deadline: activityFound.Deadline, |
1623 | CountDown: activityFound.CountDown, | 1624 | CountDown: activityFound.CountDown, |
1624 | ExchangeRate: activityFound.Rate, | 1625 | ExchangeRate: activityFound.Rate, |
-
请 注册 或 登录 后发表评论