071 debug
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
//variables.framework.docs={};
|
//variables.framework.docs={};
|
||||||
variables.framework.docs.APIName="Deck API";
|
variables.framework.docs.APIName="Deck API";
|
||||||
variables.framework.docs.APIVersion="0.070";
|
variables.framework.docs.APIVersion="0.071";
|
||||||
|
|
||||||
variables.framework.globalHeaders = structNew();
|
variables.framework.globalHeaders = structNew();
|
||||||
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
|
||||||
|
|||||||
@@ -313,12 +313,12 @@
|
|||||||
<cfargument name="contragentId">
|
<cfargument name="contragentId">
|
||||||
|
|
||||||
<cfquery name="qContragentCode">
|
<cfquery name="qContragentCode">
|
||||||
select contragent_code
|
select external_code
|
||||||
from contragent
|
from contragent
|
||||||
where contragent_id=<cfqueryparam cfsqltype="cf_sql_integer" value=#arguments.contragentId# null=#!isNumeric(arguments.contragentId)#/>
|
where contragent_id=<cfqueryparam cfsqltype="cf_sql_integer" value=#arguments.contragentId# null=#!isNumeric(arguments.contragentId)#/>
|
||||||
</cfquery>
|
</cfquery>
|
||||||
|
|
||||||
<cfreturn #qContragentCode.contragent_code#/>
|
<cfreturn #qContragentCode.external_code#/>
|
||||||
</cffunction>
|
</cffunction>
|
||||||
|
|
||||||
</cfcomponent>
|
</cfcomponent>
|
||||||
Reference in New Issue
Block a user