...
|
...
|
@@ -403,6 +403,7 @@ type TaskData3 struct { |
|
|
TaskName string `pg:"task_name"`
|
|
|
TaskAlias string `pg:"task_alias"`
|
|
|
LeaderName string `pg:"leader_name"`
|
|
|
LeaderId string `pg:"leader_id"`
|
|
|
}
|
|
|
|
|
|
// 根据负责人获取超期未完成的异常的里程碑任务
|
...
|
...
|
@@ -410,6 +411,7 @@ func (d *TaskDao) TaskStageAnomalyByLeader(leaderId []string) ([]TaskData3, erro |
|
|
sqlStr := `select distinct
|
|
|
task.id as task_id,
|
|
|
task.leader ->>'name' as leader_name,
|
|
|
task.leader ->>'id' as leader_id,
|
|
|
task.alias as task_alias,
|
|
|
task.name as task_name
|
|
|
from task
|
...
|
...
|
@@ -428,6 +430,7 @@ func (d *TaskDao) TaskStageAnomalyByRelatedUser(relatedUserId int) ([]TaskData3, |
|
|
sqlStr := `select distinct
|
|
|
task.id as task_id,
|
|
|
task.leader ->>'name' as leader_name,
|
|
|
task.leader ->>'id' as leader_id,
|
|
|
task.alias as task_alias,
|
|
|
task.name as task_name
|
|
|
from task
|
...
|
...
|
|