095 strict filtering, deleted s3 instances removed

This commit is contained in:
2026-10-20 16:57:39 +03:00
parent e00bbba5c0
commit 1541e4806d
3 changed files with 12 additions and 7 deletions
+1
View File
@@ -54,6 +54,7 @@
left join contract d on (p.contract_id=d.contract_id)
left join contragent k on (d.contragent_id=k.contragent_id)
WHERE rn = 1 AND e.service_id=12
AND NOT cast(s.instance_data->>'isDeleted' as boolean) /*не вдаваясь в другие статусы*/
</cfquery>
<!--- <cfdump var=#qRead#/> --->