作者 tangxvhui

调整赋值错误

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