|
@@ -1258,7 +1258,7 @@ func (cashPoolService *CashPoolService) UpdateExchangeCashPerson(updateExchangeC |
|
@@ -1258,7 +1258,7 @@ func (cashPoolService *CashPoolService) UpdateExchangeCashPerson(updateExchangeC |
1258
|
}
|
1258
|
}
|
1259
|
|
1259
|
|
1260
|
// 获取兑换清单
|
1260
|
// 获取兑换清单
|
1261
|
- person, err := exchangeCashPersonListRepository.FindOne(map[string]interface{}{"id": updateExchangeCashPersonCommand.ListId})
|
1261
|
+ person, err := exchangeCashPersonListRepository.FindOne(map[string]interface{}{"listId": updateExchangeCashPersonCommand.ListId})
|
1262
|
if err != nil {
|
1262
|
if err != nil {
|
1263
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
1263
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
1264
|
}
|
1264
|
}
|
|
@@ -1271,8 +1271,6 @@ func (cashPoolService *CashPoolService) UpdateExchangeCashPerson(updateExchangeC |
|
@@ -1271,8 +1271,6 @@ func (cashPoolService *CashPoolService) UpdateExchangeCashPerson(updateExchangeC |
1271
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
1271
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
1272
|
}
|
1272
|
}
|
1273
|
|
1273
|
|
1274
|
- fmt.Print(person, "\n")
|
|
|
1275
|
-
|
|
|
1276
|
var exchangeCashActivityRepository domain.ExchangeActivityRepository
|
1274
|
var exchangeCashActivityRepository domain.ExchangeActivityRepository
|
1277
|
if value, err := factory.CreateExchangeCashActivityRepository(map[string]interface{}{
|
1275
|
if value, err := factory.CreateExchangeCashActivityRepository(map[string]interface{}{
|
1278
|
"transactionContext": transactionContext,
|
1276
|
"transactionContext": transactionContext,
|
|
@@ -1310,7 +1308,6 @@ func (cashPoolService *CashPoolService) UpdateExchangeCashPerson(updateExchangeC |
|
@@ -1310,7 +1308,6 @@ func (cashPoolService *CashPoolService) UpdateExchangeCashPerson(updateExchangeC |
1310
|
return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(updateExchangeCashActivityCommand.ExchangeCashActivityId)))
|
1308
|
return nil, application.ThrowError(application.RES_NO_FIND_ERROR, fmt.Sprintf("%s", string(updateExchangeCashActivityCommand.ExchangeCashActivityId)))
|
1311
|
}
|
1309
|
}
|
1312
|
|
1310
|
|
1313
|
-
|
|
|
1314
|
var cashPoolDao *dao.CashPoolDao
|
1311
|
var cashPoolDao *dao.CashPoolDao
|
1315
|
if value, err := factory.CreateCashPoolDao(map[string]interface{}{
|
1312
|
if value, err := factory.CreateCashPoolDao(map[string]interface{}{
|
1316
|
"transactionContext": transactionContext,
|
1313
|
"transactionContext": transactionContext,
|