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