...
|
...
|
@@ -540,7 +540,7 @@ func (d *TaskDao) ListTask2(userId int) ([]TaskData1, error) { |
|
|
task1 := d.catchTaskIdByPermission(userId)
|
|
|
sqlStr := task1 + ` select task."name" ,task.alias ,
|
|
|
task.leader ->>'id' as leader_id,
|
|
|
task.leader ->>'name' as leaer_name,
|
|
|
task.leader ->>'name' as leader_name,
|
|
|
task.level_name
|
|
|
from task `
|
|
|
result := []TaskData1{}
|
...
|
...
|
@@ -556,7 +556,7 @@ func (d *TaskDao) ListTask2ForHrbp(userId int) ([]TaskData1, error) { |
|
|
select task_ignore.task_id,task_ignore.id from task_ignore where task_ignore.user_id =?
|
|
|
)select task."name" ,task.alias ,
|
|
|
task.leader ->>'id' as leader_id,
|
|
|
task.leader ->>'name' as leaer_name,
|
|
|
task.leader ->>'name' as leader_name,
|
|
|
task.level_name
|
|
|
from task
|
|
|
left join t_task_ignore on t_task_ignore.task_id=task.id
|
...
|
...
|
|