diff --git a/src/main/resource/Sql/collect.sql b/src/main/resource/Sql/collect.sql index 2752634b..8eea7d70 100644 --- a/src/main/resource/Sql/collect.sql +++ b/src/main/resource/Sql/collect.sql @@ -3,7 +3,9 @@ #sql("getJobList") select t1.*, (select count(1) from t_collect_job_bureau as t2 where t2.job_id=t1.job_id and t2.is_finish=1) as finish_count, - (select count(1) from t_collect_job_bureau as t2 where t2.job_id=t1.job_id ) as total_count + (select count(1) from t_collect_job_bureau as t2 where t2.job_id=t1.job_id ) 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 from t_collect_job as t1 where publish_role_id = #para(publish_role_id) #if(job_name) and t1.job_name like #para(job_name, "like")