...
|
...
|
@@ -110,8 +110,8 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
if evalutionHrbp != nil && val.EvaluatorId == -1 {
|
|
|
newItemValue := domain.SummaryEvaluationValue{}
|
|
|
newItemValue.SetBlankValue(evalutionHrbp, val)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
evalutionHrbp.FillItemValue(val, &newItemValue, itemValueParam[val.Id].Value)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
newItemValue.HrCheck = param.ExecutorId
|
|
|
newHrbpItemValueList = append(newHrbpItemValueList, &newItemValue)
|
|
|
temp = newItemValue
|
...
|
...
|
@@ -126,8 +126,8 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
}
|
|
|
newItemValue := domain.SummaryEvaluationValue{}
|
|
|
newItemValue.SetBlankValue(evaluation360, val)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
evaluation360.FillItemValue(val, &newItemValue, itemValueParam[val.Id].Value)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
newItemValue.HrCheck = param.ExecutorId
|
|
|
itemValue360List = append(itemValue360List, &newItemValue)
|
|
|
new360ItemValueList[evaluation360.Executor.UserId] = itemValue360List
|
...
|
...
|
@@ -138,8 +138,8 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
if evaluationSuper != nil {
|
|
|
newItemValue := domain.SummaryEvaluationValue{}
|
|
|
newItemValue.SetBlankValue(evaluationSuper, val)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
evaluationSuper.FillItemValue(val, &newItemValue, itemValueParam[val.Id].Value)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
newItemValue.HrCheck = param.ExecutorId
|
|
|
newSuperItemValueList = append(newSuperItemValueList, &newItemValue)
|
|
|
temp = newItemValue
|
...
|
...
|
@@ -148,8 +148,8 @@ func (srv *SummaryEvaluationService) EditEvaluationByHrCheck(param *command.Edit |
|
|
if evalutionFinish != nil {
|
|
|
newItemValue := domain.SummaryEvaluationValue{}
|
|
|
newItemValue.SetBlankValue(evalutionFinish, val)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
evalutionFinish.FillItemValue(val, &newItemValue, itemValueParam[val.Id].Value)
|
|
|
newItemValue.Remark = itemValueParam[val.Id].Remark
|
|
|
newItemValue.HrCheck = param.ExecutorId
|
|
|
newFinishItemValueList = append(newFinishItemValueList, &newItemValue)
|
|
|
}
|
...
|
...
|
|