作者 tangxvhui

调整判断条件

... ... @@ -41,7 +41,7 @@ func (srv *SummaryEvaluationService) ExportAllEvaluationSuper(param *command.Que
"parentId": param.UserId,
"limit": 1,
})
if len(parentUser) == 0 {
if len(parentUser) == 0 && flagHrbp != 1 {
return nil, application.ThrowError(application.BUSINESS_ERROR, "暂无数据")
}
evaluationRepo := factory.CreateSummaryEvaluationRepository(map[string]interface{}{
... ...