作者 tangxvhui

修正sql错误

... ... @@ -368,3 +368,8 @@ func (d *TaskAnomalyDao) List3(userId int, companyId int, taskName string, categ
return cnt, result, err
}
func (srv TaskAnomalyDao) Search(userId int, companyId int, taskName string) []ListTaskAnomaly {
return nil
}
... ...
... ... @@ -13,9 +13,9 @@ type TaskAnomaly struct {
CreatedAt time.Time `pg:"created_at"` //
UpdatedAt time.Time `pg:"updated_at"` //
CompanyId int `pg:"company_id"` //
TaskId int `pg:"task_id"` // 任务id
TaskRecordId int `pg:"task_record_id"` //
Category int `pg:"category"` // 异常任务的分类
TaskId int `pg:"task_id,use_zero"` // 任务id
TaskRecordId int `pg:"task_record_id,use_zero"` //
Category int `pg:"category,use_zero"` // 异常任务的分类
CurrentStage domain.TaskStage `pg:"current_stage"` // 计划完成的里程碑
LastStage domain.TaskStage `pg:"last_stage"` // 实际完成的里程碑
TaskStageCheck domain.TaskStage `pg:"task_stage_check"` // 当天任务反馈操作里程碑记录
... ...