...
|
...
|
@@ -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{}
|
|
|
//查询已有的考核结果评估内容
|
...
|
...
|
|