...
|
...
|
@@ -300,10 +300,12 @@ func (srv *SummaryEvaluationService) EditEvaluationSelfV2(param *command.EditEva |
|
|
continue
|
|
|
}
|
|
|
if !param.IsTemporary {
|
|
|
//除了综合自评,其他的评估任务 评估项直接全部按必填项处理
|
|
|
if len(v.Value) == 0 {
|
|
|
e := fmt.Sprintf("%s-%s 未填写", evaluationItem.Category, evaluationItem.Name)
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, e)
|
|
|
if evaluationItem.Required == domain.NodeRequiredYes {
|
|
|
// 除了综合自评,其他的评估任务 评估项直接全部按必填项处理
|
|
|
if len(v.Value) == 0 {
|
|
|
e := fmt.Sprintf("%s-%s 未填写", evaluationItem.Category, evaluationItem.Name)
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, e)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
//填充评估填写值
|
...
|
...
|
|