...
|
...
|
@@ -251,7 +251,7 @@ func (srv *SummaryEvaluationService) GetEvaluation360(param *command.QueryEvalua |
|
|
// 评估项截止时间
|
|
|
endTime := sEvaluation.EndTime.Local().Format("2006-01-02 15:04:05")
|
|
|
result := map[string]interface{}{"endTime": endTime, "version": sEvaluation.Version, "status": sEvaluation.Status, "list": itemValuesAdapter}
|
|
|
if sEvaluation.CompletedAt == 0 {
|
|
|
if sEvaluation.Status == domain.EvaluationUncompleted {
|
|
|
result["status"] = string(domain.EvaluationUncompleted) //未完成
|
|
|
} else {
|
|
|
if sEvaluation.EndTime.Unix() < sEvaluation.CompletedAt {
|
...
|
...
|
@@ -560,7 +560,7 @@ func (srv *SummaryEvaluationService) GetEvaluationHRBP(param *command.QueryEvalu |
|
|
// 评估项截止时间
|
|
|
endTime := sEvaluation.EndTime.Local().Format("2006-01-02 15:04:05")
|
|
|
result := map[string]interface{}{"endTime": endTime, "version": sEvaluation.Version, "status": "", "list": itemValuesAdapter}
|
|
|
if sEvaluation.CompletedAt == 0 {
|
|
|
if sEvaluation.Status == domain.EvaluationUncompleted {
|
|
|
result["status"] = string(domain.EvaluationUncompleted) //未完成
|
|
|
} else {
|
|
|
if sEvaluation.EndTime.Unix() < sEvaluation.CompletedAt {
|
...
|
...
|
|