正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -164,7 +164,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | @@ -164,7 +164,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | ||
164 | if err != nil { | 164 | if err != nil { |
165 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 165 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
166 | } | 166 | } |
167 | - evalutionHrbp.Status = domain.EvaluationCompleted | 167 | + |
168 | evalutionHrbp.HrCheckResult = domain.EvaluationCheckCompleted | 168 | evalutionHrbp.HrCheckResult = domain.EvaluationCheckCompleted |
169 | err = evaluationRepo.Save(evalutionHrbp) | 169 | err = evaluationRepo.Save(evalutionHrbp) |
170 | if err != nil { | 170 | if err != nil { |
@@ -185,7 +185,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | @@ -185,7 +185,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | ||
185 | if err != nil { | 185 | if err != nil { |
186 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 186 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
187 | } | 187 | } |
188 | - val.Status = domain.EvaluationCompleted | 188 | + |
189 | val.HrCheckResult = domain.EvaluationCheckCompleted | 189 | val.HrCheckResult = domain.EvaluationCheckCompleted |
190 | err = evaluationRepo.Save(val) | 190 | err = evaluationRepo.Save(val) |
191 | if err != nil { | 191 | if err != nil { |
@@ -206,7 +206,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | @@ -206,7 +206,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | ||
206 | if err != nil { | 206 | if err != nil { |
207 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 207 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
208 | } | 208 | } |
209 | - evaluationSuper.Status = domain.EvaluationCompleted | 209 | + |
210 | evaluationSuper.HrCheckResult = domain.EvaluationCheckCompleted | 210 | evaluationSuper.HrCheckResult = domain.EvaluationCheckCompleted |
211 | err = evaluationRepo.Save(evaluationSuper) | 211 | err = evaluationRepo.Save(evaluationSuper) |
212 | if err != nil { | 212 | if err != nil { |
@@ -227,7 +227,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | @@ -227,7 +227,7 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit | ||
227 | if err != nil { | 227 | if err != nil { |
228 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) | 228 | return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error()) |
229 | } | 229 | } |
230 | - evalutionFinish.Status = domain.EvaluationCompleted | 230 | + |
231 | evalutionFinish.HrCheckResult = domain.EvaluationCheckCompleted | 231 | evalutionFinish.HrCheckResult = domain.EvaluationCheckCompleted |
232 | err = evaluationRepo.Save(evalutionFinish) | 232 | err = evaluationRepo.Save(evalutionFinish) |
233 | if err != nil { | 233 | if err != nil { |
-
请 注册 或 登录 后发表评论