134 resource Realm fix
This commit is contained in:
+5
-5
@@ -51,8 +51,7 @@
|
||||
|
||||
//variables.framework.docs={};
|
||||
variables.framework.docs.APIName="svc-api";
|
||||
variables.framework.docs.APIVersion="0.133"; /*resource_realm debug*/ /*$ git config --global --unset user.password*/
|
||||
|
||||
variables.framework.docs.APIVersion="0.134"; /*resource_realm debug*/ /*$ git config --global --unset user.password*/
|
||||
|
||||
variables.framework.globalHeaders = structNew();
|
||||
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
||||
@@ -400,13 +399,14 @@
|
||||
join contract c on (u.contragent_id=c.contragent_id)
|
||||
join specification s on (c.contract_id=s.contract_id)
|
||||
where idp_usr_uid=<cfqueryparam cfsqltype="cf_sql_other" value="#arguments.usrUid#" null=#!isValid('guid',arguments.usrUid)#/>
|
||||
order by specification_id desc limit 1;
|
||||
order by specification_id desc
|
||||
limit 1;
|
||||
</cfquery>
|
||||
<!--- <cfdump var=#local.qGetCustomerInfo#/><cfabort/> --->
|
||||
<cfif local.qGetCustomerInfo.recordCount GT 0>
|
||||
<cfreturn {"usrId"=#local.qGetCustomerInfo.usr_id#,
|
||||
"contragentId"=#local.qGetCustomerInfo.specification_id#,
|
||||
"contractId"=#local.qGetCustomerInfo.specification_id#,
|
||||
"contragentId"=#local.qGetCustomerInfo.contragent_id#,
|
||||
"contractId"=#local.qGetCustomerInfo.contract_id#,
|
||||
"specificationId"=#local.qGetCustomerInfo.specification_id#
|
||||
}/>
|
||||
<cfelse>
|
||||
|
||||
Reference in New Issue
Block a user