|
@@ -443,9 +443,9 @@ func (srv StaffAssessServeice) buildTaskRecord(staffAssess *domain.StaffAssess) |
|
@@ -443,9 +443,9 @@ func (srv StaffAssessServeice) buildTaskRecord(staffAssess *domain.StaffAssess) |
443
|
if err != nil {
|
443
|
if err != nil {
|
444
|
return nil, application.ThrowError(application.ARG_ERROR, "获取评估项EvaluationItemUsed信息"+err.Error())
|
444
|
return nil, application.ThrowError(application.ARG_ERROR, "获取评估项EvaluationItemUsed信息"+err.Error())
|
445
|
}
|
445
|
}
|
446
|
- if len(evaluationItemList) == 0 {
|
|
|
447
|
- return nil, nil
|
|
|
448
|
- }
|
446
|
+ // if len(evaluationItemList) == 0 {
|
|
|
447
|
+ // return nil, nil
|
|
|
448
|
+ // }
|
449
|
taskRecordList := []*domain.TaskRecord{}
|
449
|
taskRecordList := []*domain.TaskRecord{}
|
450
|
for _, val := range evaluationItemList {
|
450
|
for _, val := range evaluationItemList {
|
451
|
_, taskList, err := taskRepo.Find(map[string]interface{}{
|
451
|
_, taskList, err := taskRepo.Find(map[string]interface{}{
|