...
|
...
|
@@ -85,7 +85,6 @@ type ListTaskStage struct { |
|
|
StageId int `pg:"stage_id"`
|
|
|
StageName string `pg:"stage_name"`
|
|
|
StageSortBy int `pg:"stage_sort_by"`
|
|
|
StageStatus int `pg:"stage_status"`
|
|
|
PlanCompletedAt int `pg:"plan_completed_at"`
|
|
|
}
|
|
|
|
...
|
...
|
@@ -113,7 +112,6 @@ func (d *TaskDao) ListTaskStageNotHrbp(param ListTaskCondition) ([]ListTaskStage |
|
|
task_stage."id" as stage_id,
|
|
|
task_stage."name" as stage_name,
|
|
|
task_stage.sort_by as stage_sort_by,
|
|
|
task_stage.status as stage_status,
|
|
|
task_stage.plan_completed_at,
|
|
|
(case
|
|
|
when task_stage.real_completed_at =0
|
...
|
...
|
@@ -138,7 +136,6 @@ func (d *TaskDao) ListTaskStageNotHrbp(param ListTaskCondition) ([]ListTaskStage |
|
|
t_task_tage_1.task_id,
|
|
|
t_task_tage_1.task_name,
|
|
|
t_task_tage_1.task_alias_name,
|
|
|
t_task_tage_1.task_status,
|
|
|
t_task_tage_1.leader_name,
|
|
|
t_task_tage_1.level_name ,
|
|
|
t_task_tage_1.anomaly ,
|
...
|
...
|
@@ -148,8 +145,7 @@ func (d *TaskDao) ListTaskStageNotHrbp(param ListTaskCondition) ([]ListTaskStage |
|
|
t_task_tage_1.plan_completed_at,
|
|
|
t_task_tage_1.stage_name,
|
|
|
t_task_tage_1.stage_id,
|
|
|
t_task_tage_1.stage_sort_by,
|
|
|
t_task_tage_1.stage_status
|
|
|
t_task_tage_1.stage_sort_by
|
|
|
from t_task_tage_1
|
|
|
where t_task_tage_1.task_id in(
|
|
|
select t_task_page.task_id from t_task_page
|
...
|
...
|
@@ -235,7 +231,6 @@ func (d *TaskDao) ListTaskStageByHrbp(param ListTaskCondition) ([]ListTaskStage, |
|
|
task_stage."id" as stage_id,
|
|
|
task_stage."name" as stage_name,
|
|
|
task_stage.sort_by as stage_sort_by,
|
|
|
task_stage.status as stage_status,
|
|
|
task_stage.plan_completed_at,
|
|
|
(case
|
|
|
when task_stage.real_completed_at =0
|
...
|
...
|
@@ -270,8 +265,7 @@ func (d *TaskDao) ListTaskStageByHrbp(param ListTaskCondition) ([]ListTaskStage, |
|
|
t_task_tage_1.plan_completed_at,
|
|
|
t_task_tage_1.stage_name,
|
|
|
t_task_tage_1.stage_id,
|
|
|
t_task_tage_1.stage_sort_by,
|
|
|
t_task_tage_1.stage_status
|
|
|
t_task_tage_1.stage_sort_by
|
|
|
from t_task_tage_1
|
|
|
where t_task_tage_1.task_id in(
|
|
|
select t_task_page.task_id from t_task_page
|
...
|
...
|
|