187 map: subparam additional properties

This commit is contained in:
2025-11-26 09:36:59 +03:00
parent 7b06f16ca4
commit fb430499eb
6 changed files with 180 additions and 2 deletions
+10 -1
View File
@@ -148,7 +148,7 @@
</cfif>
<cfif data_type EQ "map"><!--- *** частичное дублирование с instance_operation_cfs_param.processMap --->
<cfif data_type EQ "map" OR data_type EQ "map-fixed"><!--- *** частичное дублирование с instance_operation_cfs_param.processMap --->
<!--- без полей инстанса, только шаблон --->
<cfquery name="local.qSubparam">
select
@@ -177,7 +177,16 @@
<cfloop query="local.qSubparam">
<cfset structInsert(mapDescriptor, local.qSubparam.svc_operation_cfs_subparam,
{
"svcOperationCfsSubparamId":"#local.qSubparam.svc_operation_cfs_subparam_id#",
"svcOperationCfsSubparam":"#local.qSubparam.svc_operation_cfs_subparam#",
"label":"#local.qSubparam.label#",
"dataType":"#local.qSubparam.data_type#",
"valueList":"#local.qSubparam.value_list#",
"minlength":"#local.qSubparam.minlength#",
"maxlength":"#local.qSubparam.maxlength#",
"regex":"#local.qSubparam.regex#",
"man":"#local.qSubparam.man#",
"isRequired":#request.castToBool(local.qSubparam.is_required)#,
"isSensitive":#request.castToBool(local.qSubparam.is_sensitive)#,
"isModifiableDefinition":false
}, true