...
|
...
|
@@ -90,6 +90,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
|
//查找我的绩效
|
|
|
_, selfEvaluation, err := evaluationRepo.Find(map[string]interface{}{
|
|
|
"types": int(domain.EvaluationSelf),
|
|
|
"cycleId": param.CycleId,
|
|
|
"executorId": param.UserId,
|
|
|
"limit": 1,
|
|
|
})
|
...
|
...
|
@@ -101,6 +102,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
|
"types": int(domain.Evaluation360),
|
|
|
"executorId": param.UserId,
|
|
|
"limit": 1,
|
|
|
"cycleId": param.CycleId,
|
|
|
"status": string(domain.EvaluationUncompleted),
|
|
|
})
|
|
|
if err != nil {
|
...
|
...
|
@@ -108,9 +110,10 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
|
}
|
|
|
//查询上级评估,统计未完成
|
|
|
cntSuper, _, err := evaluationRepo.Find(map[string]interface{}{
|
|
|
"types": int(domain.EvaluationSelf),
|
|
|
"types": int(domain.EvaluationSuper),
|
|
|
"executorId": param.UserId,
|
|
|
"limit": 1,
|
|
|
"cycleId": param.CycleId,
|
|
|
"status": string(domain.EvaluationUncompleted),
|
|
|
})
|
|
|
if err != nil {
|
...
|
...
|
@@ -121,6 +124,7 @@ func (srv *SummaryEvaluationService) GetMenu(param *command.QueryMenu) (map[stri |
|
|
"types": int(domain.EvaluationHrbp),
|
|
|
"executorId": param.UserId,
|
|
|
"limit": 1,
|
|
|
"cycleId": param.CycleId,
|
|
|
"status": string(domain.EvaluationUncompleted),
|
|
|
})
|
|
|
if err != nil {
|
...
|
...
|
|