132 instance_operation_cfs_param fix for resourceRealm

This commit is contained in:
msyu
2025-09-01 21:52:24 +03:00
parent 9d0e4f20d9
commit ee105323d2
4 changed files with 6 additions and 4 deletions
@@ -44,6 +44,7 @@
<m:field>sop.func</m:field>
<m:field>sop.nested_ref</m:field>
<m:field>sop.config</m:field>
<m:field>e.service_id</m:field>
</m:field_set>
from instance_operation_cfs_param iop
join svc_operation_cfs_param sop on (iop.svc_operation_cfs_param_id=sop.svc_operation_cfs_param_id)
@@ -61,8 +62,8 @@
<cfif len(local.qCfsParam.func)><!--- приоритет отдается функции перед списком значений--->
<cfset var args = {
"functionName":"#func#",
"svcId":#local.qInstanceOperation.service_id#,
"functionName":"#local.qCfsParam.func#",
"svcId":#local.qCfsParam.service_id#,
"contractId":#arguments.contractId#
}/> <!--- если появятся новые аргументы у новых функций, будем добавлять их сюда --->
<cfset local.qCfsParam.value_list=generateValueList(argumentCollection=#args#)/> <!--- можно перечислить именованные аргументы обычным порядком, но с коллекцией потенциально более гибко --->