From 051e4bcc046bb33069295dab8b9973bd40096b46 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 10 Mar 2026 13:31:31 +0300 Subject: [PATCH] 211 exception handling bugfix --- v1/Application.cfc | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index 764e46b..0f89d72 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -57,7 +57,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="svc-api"; - variables.framework.docs.APIVersion="0.210"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.211"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; @@ -441,40 +441,39 @@ - select z.contragent_id, c.contragent_id, c.contract_id, s.specification_id + select z.contragent_id, c.contract_id, s.specification_id from contragent z - join contract c on (z.contragent_id=c.contragent_id) - join specification s on (c.contract_id=s.contract_id) + left outer join contract c on (z.contragent_id=c.contragent_id) + left outer join specification s on (c.contract_id=s.contract_id) where z.external_uid= order by s.specification_id desc limit 1; - + + + + - select u.usr_id, c.contragent_id, c.contract_id, s.specification_id + select u.usr_id, u.contragent_id, k.contragent_id as c_contragent_id, from usr u - left outer join contract c on (u.contragent_id=c.contragent_id) - left outer join specification s on (c.contract_id=s.contract_id) + left outer join contragent k on (u.contragent_id=k.contragent_id) where u.idp_usr_uid= - order by s.specification_id desc limit 1; - + - - + + - - - +