...
|
...
|
@@ -166,6 +166,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
}
|
|
|
|
|
|
evalutionHrbp.HrCheckResult = domain.EvaluationCheckCompleted
|
|
|
evalutionHrbp.Status = domain.EvaluationCompleted
|
|
|
err = evaluationRepo.Save(evalutionHrbp)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
...
|
...
|
@@ -206,7 +207,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
|
|
|
|
|
evalutionHrbp.Status = domain.EvaluationCompleted
|
|
|
evaluationSuper.HrCheckResult = domain.EvaluationCheckCompleted
|
|
|
err = evaluationRepo.Save(evaluationSuper)
|
|
|
if err != nil {
|
...
|
...
|
@@ -227,7 +228,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
|
|
|
|
|
evalutionHrbp.Status = domain.EvaluationCompleted
|
|
|
evalutionFinish.HrCheckResult = domain.EvaluationCheckCompleted
|
|
|
err = evaluationRepo.Save(evalutionFinish)
|
|
|
if err != nil {
|
...
|
...
|
|