作者 tangxvhui

更新字段拼写错误

... ... @@ -9,7 +9,7 @@ type TaskInfoAdapter struct {
Status int `json:"status"` // 任务的状态
StatusDescription string `json:"statusDescription"` //
Level int `json:"level"` // 优先级,值越小优先级越高
LevalName string `json:"levalName"` // 优先级名称
LevelName string `json:"levelName"` // 优先级名称
RelatedUserId []string `json:"relatedUserId"` // 相关的员工id
RelatedUser []UserData `json:"relatedUser"` // 相关的员工id
StageList []TaskStage `json:"stageList"`
... ...
... ... @@ -263,7 +263,7 @@ func (srv TaskService) UpdateTask(param *command.UpdateTaskCommand) (map[string]
oldStage.SortBy = i + 1
oldStage.Name = val2.Name
oldStage.PlanCompleted(t)
//TODO 修改里程碑计划完成时间,特殊处理
}
stageList = append(stageList, newStageList...)
... ... @@ -344,7 +344,7 @@ func (srv TaskService) GetTaskInfo(param *command.GetTaskCommand) (*adapter.Task
Status: int(taskData.Status),
StatusDescription: taskData.StatusDescription(),
Level: taskData.Level,
LevalName: taskData.LevelName,
LevelName: taskData.LevelName,
RelatedUserId: []string{},
RelatedUser: []adapter.UserData{},
StageList: []adapter.TaskStage{},
... ...