|
@@ -103,7 +103,7 @@
|
|
count(1)
|
|
count(1)
|
|
FROM diag_lantone_product a LEFT JOIN diag_product_service b on a.id=b.product_id
|
|
FROM diag_lantone_product a LEFT JOIN diag_product_service b on a.id=b.product_id
|
|
JOIN diag_service_info c on b.service_id=c.id
|
|
JOIN diag_service_info c on b.service_id=c.id
|
|
- JOIN diag_service_token d on b.id=d.product_sevice_id
|
|
|
|
|
|
+ JOIN diag_service_token d on b.id=d.product_service_id
|
|
where a.is_deleted='N' and b.is_deleted='N' and c.is_deleted='N' and d.is_deleted='N'
|
|
where a.is_deleted='N' and b.is_deleted='N' and c.is_deleted='N' and d.is_deleted='N'
|
|
and a.trial_status=1
|
|
and a.trial_status=1
|
|
and c.type=2
|
|
and c.type=2
|