main
黄海 2 years ago
parent b290a4fdd7
commit 9de84aa0f1

@ -90,6 +90,7 @@
t3.person_name as person_name,
t3.telephone as telephone,
t3.email as email,
t4.job_type,
(select count(1) from t_collect_job_target as t2 where t2.parent_id=t1.job_id and t2.bureau_id=t1.target_id)
as forward_count, -- 县区教育局转发给了多少个单位
(select count(1) from t_collect_job_target as t2 where t2.parent_id=t1.job_id and t2.bureau_id=t1.target_id and t2.is_finish=1)
@ -100,6 +101,7 @@
from t_collect_job_target as t1
inner join t_base_organization as t2 on t1.target_id=t2.org_id
left join v_collect_xbgs as t3 on t1.target_id=t3.bureau_id
inner join t_collect_job as t4 on t1.job_id=t4.job_id
where t1.job_id=#para(job_id)
#if(is_finish)
and t1.is_finish=#para(is_finish)

Loading…
Cancel
Save