正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
@@ -1064,7 +1064,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | @@ -1064,7 +1064,7 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | ||
1064 | } | 1064 | } |
1065 | 1065 | ||
1066 | // 获取待删除人员 | 1066 | // 获取待删除人员 |
1067 | - person, err := exchangeCashPersonListRepository.FindOne(map[string]interface{}{"id": removeExchangeCashPersonCommand.ListId}) | 1067 | + person, err := exchangeCashPersonListRepository.FindOne(map[string]interface{}{"listId": removeExchangeCashPersonCommand.ListId}) |
1068 | if err != nil { | 1068 | if err != nil { |
1069 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 1069 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
1070 | } | 1070 | } |
@@ -1072,7 +1072,6 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | @@ -1072,7 +1072,6 @@ func (cashPoolService *CashPoolService) RemoveExchangeCashPerson(removeExchangeC | ||
1072 | return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(removeExchangeCashPersonCommand.ListId))) | 1072 | return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(removeExchangeCashPersonCommand.ListId))) |
1073 | } | 1073 | } |
1074 | 1074 | ||
1075 | - | ||
1076 | var exchangeCashActivityRepository domain.ExchangeActivityRepository | 1075 | var exchangeCashActivityRepository domain.ExchangeActivityRepository |
1077 | if value, err := factory.CreateExchangeCashActivityRepository(map[string]interface{}{ | 1076 | if value, err := factory.CreateExchangeCashActivityRepository(map[string]interface{}{ |
1078 | "transactionContext": transactionContext, | 1077 | "transactionContext": transactionContext, |
-
请 注册 或 登录 后发表评论