cleanup: trim minor resource comments
This commit is contained in:
@@ -36,8 +36,6 @@
|
||||
,is_published={prefix="s", type="cf_sql_bit"}
|
||||
}
|
||||
/>
|
||||
|
||||
<!--- предполагается показывать букмарки только "настоящим" клиентам, поэтому используем contragent_id как признак своих--->
|
||||
|
||||
<cffunction name="get" hint="Каталог конкретных услуг">
|
||||
<cfargument name="pageSize" type="string" hint="type:integer" default="100"/>
|
||||
|
||||
@@ -6,17 +6,14 @@
|
||||
</cfsilent>
|
||||
|
||||
|
||||
<cffunction name="get" hint="Сервис"><!--- *** TODO проверка принадлежности тенанту --->
|
||||
<cffunction name="get" hint="Сервис">
|
||||
<cfargument name="resourceRealmId" type="string" required=true hint="type:integer"/>
|
||||
<cftry>
|
||||
<cfset this.helper.validateField(arguments, "resourceRealmId", "integer")/>
|
||||
<cfset this.helper.validateField(arguments, "resourceRealmId", "integer")/>
|
||||
<cfcatch type="invalidParamValue">
|
||||
<cfreturn representationOf(this.helper.formatBadRequestError(cfcatch)).withStatus(400)/>
|
||||
</cfcatch>
|
||||
</cftry>
|
||||
|
||||
<!--- <cfdump var=#arguments#/> <cfabort/> --->
|
||||
|
||||
|
||||
<cfquery name="local.qResourceRealm" result="local.result">
|
||||
select
|
||||
@@ -31,7 +28,7 @@
|
||||
<m:field>r.descr</m:field>
|
||||
<m:field>r.man</m:field>
|
||||
<m:field>to_char(r.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created</m:field>
|
||||
<m:field>to_char(r.dt_updated, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_updated</m:field>
|
||||
<m:field>to_char(r.dt_updated, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_updated</m:field>
|
||||
</m:field_set>
|
||||
from resource_realm r
|
||||
join resource_realm_type t on (r.resource_realm_type_id=t.resource_realm_type_id)
|
||||
|
||||
Reference in New Issue
Block a user