Merge remote-tracking branch 'origin/test' into test
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -391,7 +391,7 @@ func (srv *SummaryEvaluationService) GetEvaluationSelfByCycle(param *command.Que | @@ -391,7 +391,7 @@ func (srv *SummaryEvaluationService) GetEvaluationSelfByCycle(param *command.Que | ||
391 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 391 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
392 | } | 392 | } |
393 | if len(evaluationList) == 0 { | 393 | if len(evaluationList) == 0 { |
394 | - return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 394 | + return &adapter.EvaluationInfoSelfAdapter{}, nil |
395 | } | 395 | } |
396 | evaluationData := evaluationList[0] | 396 | evaluationData := evaluationList[0] |
397 | if evaluationData.CompanyId != param.CompanyId { | 397 | if evaluationData.CompanyId != param.CompanyId { |
-
请 注册 或 登录 后发表评论