作者 tangxvhui

调整赋值错误

不能预览此文件类型
@@ -769,7 +769,7 @@ func (srv StaffAssessServeice) GetAssessSelfInfoV2(param *query.GetExecutorSelfA @@ -769,7 +769,7 @@ func (srv StaffAssessServeice) GetAssessSelfInfoV2(param *query.GetExecutorSelfA
769 // 如果评估类型为自评、目标是登录用户时,获取所有任务记录数据 769 // 如果评估类型为自评、目标是登录用户时,获取所有任务记录数据
770 if param.UserId == param.TargetUserId { 770 if param.UserId == param.TargetUserId {
771 taskRecordRepository := factory.CreateTaskRecordRepository(map[string]interface{}{"transactionContext": transactionContext}) 771 taskRecordRepository := factory.CreateTaskRecordRepository(map[string]interface{}{"transactionContext": transactionContext})
772 - _, taskRecords, err := taskRecordRepository.Find(map[string]interface{}{"staffAssessId": assessData.Id}) 772 + _, taskRecords, err = taskRecordRepository.Find(map[string]interface{}{"staffAssessId": assessData.Id})
773 if err != nil { 773 if err != nil {
774 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取里程碑数据:"+err.Error()) 774 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "获取里程碑数据:"+err.Error())
775 } 775 }
@@ -661,6 +661,7 @@ func (srv TaskService) ListTreeTaskAnomaly2(param *command.ListTaskAnomalyComman @@ -661,6 +661,7 @@ func (srv TaskService) ListTreeTaskAnomaly2(param *command.ListTaskAnomalyComman
661 // var treeList []*adapter.TaskAnomalyItem2 661 // var treeList []*adapter.TaskAnomalyItem2
662 // for _, val := range taskAnomalyList { 662 // for _, val := range taskAnomalyList {
663 // leader, ok := leaderMap[val.Leader] 663 // leader, ok := leaderMap[val.Leader]
  664 +
664 // } 665 // }
665 return nil, nil 666 return nil, nil
666 } 667 }