...
|
...
|
@@ -97,6 +97,14 @@ func (srv *SummaryEvaluationService) EditEvaluationHRBP(param *command.EditEvalu |
|
|
if !param.IsTemporary {
|
|
|
//变更评估状态为已填写
|
|
|
summaryEvaluation.Status = domain.EvaluationCompleted
|
|
|
//删除旧的填写值,使用新的填写内容
|
|
|
err = itemValueRepo.RemoveBySummaryEvaluationId(summaryEvaluation.Id)
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
}
|
|
|
for _, val := range itemValueList {
|
|
|
val.Id = 0
|
|
|
}
|
|
|
}
|
|
|
//保存填写值
|
|
|
for _, v := range itemValueList {
|
...
|
...
|
|