095 strict filtering, deleted s3 instances removed
This commit is contained in:
@@ -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#/> --->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user