|
|
|
@ -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)
|
|
|
|
|