| | |
| | | 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 |
| | |
| | | (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 |
| | |
| | | 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 |
| | |
| | | (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 |
| | |
| | | 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 |
| | |
| | | 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 |