main
黄海 2 years ago
parent 80148ce929
commit 2a82e2e894

@ -6,7 +6,7 @@
(select count(1) from t_collect_job_target as t2 where t2.job_id=t1.job_id and t2.fill_type_id in (1,3)) as total_count,
(select count(1) from t_collect_job_sheet as t2 where t2.job_id=t1.job_id and t2.is_check=1) as already_check_sheet,
(select count(1) from t_collect_job_sheet as t2 where t2.job_id=t1.job_id) as all_sheet,
(select count(1) from t_collect_job_target as t2 where t2.job_id=t1.job_id and t2.fill_type_id in (2,3) and t2.forward_is_finish=1) as forward_is_finish, --
(select count(1) from t_collect_job_target as t2 where t2.job_id=t1.job_id and t2.fill_type_id in (2,3) and t2.forward_is_finish=1) as forward_finish_count, --
(select count(1) from t_collect_job_target as t2 where t2.job_id=t1.job_id and t2.fill_type_id in (2,3)) as forward_count --
from t_collect_job as t1 where publish_role_id = #para(publish_role_id)
#if(job_name)

Loading…
Cancel
Save