068
This commit is contained in:
@@ -7,10 +7,14 @@
|
||||
|
||||
<!---спецификация полей, пригодных для фильтрации (?и сортировки)--->
|
||||
<cfset this.fieldsSpec={
|
||||
dt_created={prefix="s", type="date"},
|
||||
dt_updated={prefix="s", type="date"},
|
||||
svc_id={prefix="s", type="integer"},
|
||||
svc={prefix="s", type="string"}
|
||||
dt_created={prefix="n", type="date"},
|
||||
dt_updated={prefix="n", type="date"},
|
||||
dt_show_from={prefix="n", type="date"},
|
||||
dt_show_to={prefix="n", type="date"},
|
||||
contragent_id={prefix="n", type="integer"},
|
||||
timeout_sec={prefix="n", type="integer"},
|
||||
external_uid={prefix="n", type="guid"},
|
||||
external_code={prefix="n", type="string"}
|
||||
}
|
||||
/>
|
||||
|
||||
@@ -53,6 +57,8 @@
|
||||
<m:field>n.notification_uid::text as notification_uid</m:field>
|
||||
<m:field>n.notification</m:field>
|
||||
<m:field>n.descr</m:field>
|
||||
<m:field>n.url</m:field>
|
||||
<m:field>n.timeout_sec</m:field>
|
||||
<m:field>n.contragent_id</m:field>
|
||||
<m:field>k.external_uid</m:field>
|
||||
<!--- <m:field><cfqueryparam cfsqltype="cf_sql_other" value=#arguments.companyUid#/> as arguments_company_uid</m:field> --->
|
||||
@@ -69,8 +75,9 @@
|
||||
AND (k.external_uid = <cfqueryparam cfsqltype="cf_sql_other" value=#arguments.companyUid#/> OR n.contragent_id IS NULL)
|
||||
order by dt_show_from desc
|
||||
<!--- <m:order_build sortCollection=#this.helper.parseNumericOrder(local.titleMap, arguments.orderBy)# fieldCount=0/>--->
|
||||
--limit #maxrows#
|
||||
</cfquery>
|
||||
limit #maxrows#
|
||||
</cfquery>
|
||||
<!--- <cfdump var=#local.qRead#/><cfabort/> --->
|
||||
|
||||
|
||||
<cfquery name="local.qTotal">
|
||||
|
||||
Reference in New Issue
Block a user