196 map bug 755 fix
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<cfcomponent extends="taffy.core.resource" taffy:uri="/param-value-list/{svcOperationCfsParamId}">
|
||||
|
||||
<cfsilent>
|
||||
<cfimport prefix="m" taglib="../lib"/>
|
||||
<cfset this.helper=CreateObject("component","lib.rest_api_helper")/><!---*** странно, почему мы его видим?---><!---вынести в апп?--->
|
||||
</cfsilent>
|
||||
|
||||
|
||||
<cffunction name="get" hint="Список значений CFS параметра операции">
|
||||
<cfargument name="svcOperationCfsParamId" type="string" required=true hint="type:integer"/>
|
||||
<!--- сначала нам известен только параметр сервиса. вся остальная инфа поступает через аргументы --->
|
||||
|
||||
<cfset var local={}/>
|
||||
|
||||
<cfquery name="local.qParam">
|
||||
select p.depends_on_params
|
||||
from svc_operation_cfs_param p
|
||||
where p.svc_operation_cfs_param_id = <cfqueryparam cfsqltype="cf_sql_integer" value=#arguments.svcOperationCfsParamId#/>
|
||||
</cfquery>
|
||||
|
||||
|
||||
<cfreturn noData().withStatus(204, "OK") />
|
||||
</cffunction>
|
||||
|
||||
<!---
|
||||
/instanceOperationCfsParams/{instanceOperationCfsParamUid}" --->
|
||||
|
||||
</cfcomponent>
|
||||
Reference in New Issue
Block a user