From a7fe2be82a43e62a6191aeadc5bb48ff3490aa65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Mon, 25 Dec 2023 09:11:11 +0800 Subject: [PATCH] 'commit' --- src/main/resource/Sql/collect.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")