作者 tangxvhui

调整 上级评估同步考据结果

... ... @@ -198,6 +198,9 @@ func (srv *SummaryEvaluationService) syncEvaluationFinishValue(
if len(updateValue) == 0 {
return nil
}
if evaluationData.CheckResult == domain.EvaluationCheckCompleted {
return nil
}
evaluationRepo := factory.CreateSummaryEvaluationRepository(map[string]interface{}{
"transactionContext": transactionContext,
})
... ... @@ -214,7 +217,6 @@ func (srv *SummaryEvaluationService) syncEvaluationFinishValue(
if err != nil {
return application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
//填写项的map EvaluationItemId =>SummaryEvaluationValue
oldEvaluationValue := map[int]*domain.SummaryEvaluationValue{}
//查询已有的考核结果评估内容
... ...