正在显示
1 个修改的文件
包含
9 行增加
和
9 行删除
@@ -402,15 +402,15 @@ func (statisticsService *StatisticsService) ContributionsWealthRanking(contribut | @@ -402,15 +402,15 @@ func (statisticsService *StatisticsService) ContributionsWealthRanking(contribut | ||
402 | transactionContext.RollbackTransaction() | 402 | transactionContext.RollbackTransaction() |
403 | }() | 403 | }() |
404 | 404 | ||
405 | - // 员工仓储初始化 | ||
406 | - var employeeRepository domain.EmployeeRepository | ||
407 | - if value, err := factory.CreateEmployeeRepository(map[string]interface{}{ | ||
408 | - "transactionContext": transactionContext, | ||
409 | - }); err != nil { | ||
410 | - return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | ||
411 | - } else { | ||
412 | - employeeRepository = value | ||
413 | - } | 405 | + //// 员工仓储初始化 |
406 | + //var employeeRepository domain.EmployeeRepository | ||
407 | + //if value, err := factory.CreateEmployeeRepository(map[string]interface{}{ | ||
408 | + // "transactionContext": transactionContext, | ||
409 | + //}); err != nil { | ||
410 | + // return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | ||
411 | + //} else { | ||
412 | + // employeeRepository = value | ||
413 | + //} | ||
414 | 414 | ||
415 | // 员工DAO初始化 | 415 | // 员工DAO初始化 |
416 | var employeeDao *dao.EmployeeDao | 416 | var employeeDao *dao.EmployeeDao |
-
请 注册 或 登录 后发表评论