...
|
...
|
@@ -768,15 +768,16 @@ func (d *TaskDao) CountTaskIgnore(param ListTaskCondition) (int, error) { |
|
|
}
|
|
|
|
|
|
type TaskData6 struct {
|
|
|
TaskId int `pg:"task_id"` //任务id
|
|
|
TaskName string `pg:"task_name"` //任务名称
|
|
|
TaskAlias string `pg:"task_alias"` //任务名称
|
|
|
LeaderName string `pg:"leader_name"` //负责人名称
|
|
|
LeaderId string `pg:"leader_id"` //负责人id
|
|
|
WarnFlag int `pg:"warn_flag"` //里程碑异常
|
|
|
AssistFlag int `pg:"assist_flag"` //辅导异常
|
|
|
Anomaly int `pg:"anomaly"` //反馈异常
|
|
|
RelatedUser []int `pg:"related_user"` //相关人员
|
|
|
TaskId int `pg:"task_id"` //任务id
|
|
|
TaskName string `pg:"task_name"` //任务名称
|
|
|
TaskAlias string `pg:"task_alias"` //任务名称
|
|
|
LeaderName string `pg:"leader_name"` //负责人名称
|
|
|
LeaderId string `pg:"leader_id"` //负责人id
|
|
|
WarnFlag int `pg:"warn_flag"` //里程碑异常
|
|
|
AssistFlag int `pg:"assist_flag"` //辅导异常
|
|
|
AssistFlagMax int `pg:"assist_flag_max"` //辅导异常
|
|
|
Anomaly int `pg:"anomaly"` //反馈异常
|
|
|
RelatedUser []int `pg:"related_user"` //相关人员
|
|
|
}
|
|
|
|
|
|
// 查询每日任务异常消息弹窗需要的数据
|
...
|
...
|
@@ -789,6 +790,7 @@ select |
|
|
task.leader ->>'id' as leader_id,
|
|
|
task.leader ->>'name' as leader_name,
|
|
|
task.assist_flag ,
|
|
|
task.assist_flag_max ,
|
|
|
task.warn_flag ,
|
|
|
task.anomaly ,
|
|
|
task.related_user
|
...
|
...
|
|