From e7f7daae5d21ad2988cadd25b6987ca5e7ef8001 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期六, 09 九月 2023 09:51:20 +0800 Subject: [PATCH] 修改bug --- chart-server/src/main/resources/mapper/WorkMapper.xml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/chart-server/src/main/resources/mapper/WorkMapper.xml b/chart-server/src/main/resources/mapper/WorkMapper.xml index 385f61c..5d3c2ab 100644 --- a/chart-server/src/main/resources/mapper/WorkMapper.xml +++ b/chart-server/src/main/resources/mapper/WorkMapper.xml @@ -7,7 +7,7 @@ from (select distinct user.name, count(inspection_product.id) unfinish from lims_laboratory.inspection_product left join lims_laboratory.user on inspection_product.user_pro_id = user.id - where state = 1 + where inspection_product.state = 1 and test_state is null and inspection_product.inspection_material_id in (select id @@ -23,7 +23,7 @@ (select distinct user.name, count(inspection_product.id) finsh from lims_laboratory.inspection_product left join lims_laboratory.user on inspection_product.user_pro_id = user.id - where state = 1 + where inspection_product.state = 1 and test_state is not null and inspection_product.inspection_material_id in (select id @@ -45,7 +45,7 @@ from (select distinct user.name, count(inspection_product.id) unfinsh from lims_laboratory.inspection_product left join lims_laboratory.user on inspection_product.user_id = user.id - where state = 1 + where inspection_product.state = 1 and test_state is null and inspection_product.inspection_material_id in (select id @@ -61,7 +61,7 @@ (select distinct user.name, count(inspection_product.id) finsh from lims_laboratory.inspection_product left join lims_laboratory.user on inspection_product.user_id = user.id - where state = 1 + where inspection_product.state = 1 and test_state is not null and inspection_product.inspection_material_id in (select id @@ -83,7 +83,7 @@ from (select distinct user.name, count(inspection_product.id) total from lims_laboratory.inspection_product left join lims_laboratory.user on inspection_product.user_pro_id = user.id - where state = 1 + where inspection_product.state = 1 and inspection_product.inspection_material_id in (select id from lims_laboratory.inspection_material @@ -126,7 +126,7 @@ from (select distinct user.name, count(inspection_product.id) total from lims_laboratory.inspection_product left join lims_laboratory.user on inspection_product.user_id = user.id - where state = 1 + where inspection_product.state = 1 and inspection_product.inspection_material_id in (select id from lims_laboratory.inspection_material -- Gitblit v1.9.3