118 nested refs intermed instance_operation
This commit is contained in:
@@ -131,6 +131,9 @@
|
||||
<m:field>sop.man</m:field>
|
||||
<m:field>sop.sort</m:field>
|
||||
<m:field>iop.note</m:field>
|
||||
<m:field>sop.nested_ref</m:field>
|
||||
<m:field>sop.config::text</m:field>
|
||||
<m:field>null as nested_ref_data</m:field>
|
||||
<m:field formatter=#request.castToBool#>sop.is_sensitive</m:field>
|
||||
</m:field_set>
|
||||
from svc_operation_cfs_param sop
|
||||
@@ -159,7 +162,14 @@
|
||||
<cfif len(trim(local.qCfsParam.value_list)) AND listLen(local.qCfsParam.value_list) EQ 1>
|
||||
<cfset local.qCfsParam.default_value=local.qCfsParam.value_list/>
|
||||
</cfif><!--- преобразование к массиву выполняется при финальном форматировании резалтсета --->
|
||||
</cfif>
|
||||
<cfelseif len(local.qCfsParam.nested_ref)>
|
||||
<cfset var args = {
|
||||
"functionName":"#local.qCfsParam.nested_ref#",
|
||||
"config":"#local.qCfsParam.config#"
|
||||
}/>
|
||||
<cfinvoke component="instance_operation_cfs_param" method="generateClosure" argumentCollection=#args# returnVariable="local.fNestedRef"/>
|
||||
<cfset local.qCfsParam.nested_ref_data = local.fNestedRef() />
|
||||
</cfif>
|
||||
|
||||
<cfif data_type EQ "map">
|
||||
<cfinvoke component="instance_operation_cfs_param" method="processMap" qParam=#local.qCfsParam#/>
|
||||
|
||||
Reference in New Issue
Block a user