作者 郑周

1. 优化

... ... @@ -914,7 +914,7 @@ func (srv TaskService) ReplyTaskStage(transactionContext application.Transaction
if err != nil {
return application.ThrowError(application.INTERNAL_SERVER_ERROR, "找不到任务数据"+err.Error())
}
_, stageList, err := taskStageRepo.Find(map[string]interface{}{"taskId": []int{val.TaskId}})
_, stageList, err := taskStageRepo.Find(map[string]interface{}{"taskId": val.TaskId})
if err != nil {
return application.ThrowError(application.INTERNAL_SERVER_ERROR, "找不到任务里程碑数据"+err.Error())
}
... ...