404
This commit is contained in:
@@ -106,14 +106,12 @@
|
|||||||
</cftry>
|
</cftry>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<cfset var out={}/>
|
<cfset var out={}/>
|
||||||
<cfset var maxrows=arguments.pageSize*arguments.page/>
|
<cfset var maxrows=arguments.pageSize*arguments.page/>
|
||||||
<cfset var startrow=arguments.pageSize*(arguments.page-1)+1/>
|
<cfset var startrow=arguments.pageSize*(arguments.page-1)+1/>
|
||||||
|
|
||||||
|
|
||||||
|
<cfquery name="local.qRead" result="local.result">
|
||||||
<!--- <cfquery name="local.qRead" result="local.result">
|
|
||||||
select
|
select
|
||||||
<m:field_set titleMapOut="local.titleMap" lengthOut="local.fieldCount">
|
<m:field_set titleMapOut="local.titleMap" lengthOut="local.fieldCount">
|
||||||
<m:field title="ID" cfSqlType="CF_SQL_INTEGER">s.svc_id</m:field>
|
<m:field title="ID" cfSqlType="CF_SQL_INTEGER">s.svc_id</m:field>
|
||||||
@@ -127,8 +125,7 @@
|
|||||||
where 1=1 <m:filter_build filter=#filter#/>
|
where 1=1 <m:filter_build filter=#filter#/>
|
||||||
order by <m:order_build sortCollection=#this.helper.parseNumericOrder(local.titleMap, arguments.orderBy)# fieldCount=0/><!---no sort length limit--->
|
order by <m:order_build sortCollection=#this.helper.parseNumericOrder(local.titleMap, arguments.orderBy)# fieldCount=0/><!---no sort length limit--->
|
||||||
limit #maxrows#
|
limit #maxrows#
|
||||||
</cfquery> --->
|
</cfquery>
|
||||||
|
|
||||||
|
|
||||||
<cftry>
|
<cftry>
|
||||||
<cfquery name="local.qTotal">
|
<cfquery name="local.qTotal">
|
||||||
@@ -137,12 +134,12 @@
|
|||||||
where 1=1
|
where 1=1
|
||||||
</cfquery>
|
</cfquery>
|
||||||
<cfcatch type="any">
|
<cfcatch type="any">
|
||||||
<cfreturn representationOf(createObject("java", "java.lang.System").getEnv())/>
|
<!--- <cfreturn representationOf(createObject("java", "java.lang.System").getEnv())/> --->
|
||||||
<cfreturn representationOf(cfcatch)/>
|
<cfreturn representationOf(cfcatch)/>
|
||||||
</cfcatch>
|
</cfcatch>
|
||||||
</cftry>
|
</cftry>
|
||||||
|
|
||||||
<cfreturn representationOf("Проверка связи 7")/>
|
<!--- <cfreturn representationOf("Проверка связи 7")/> --->
|
||||||
|
|
||||||
<cfset "out.queryDurationMs"=getTickCount() - request.startTickCount/>
|
<cfset "out.queryDurationMs"=getTickCount() - request.startTickCount/>
|
||||||
<cfset "out.total"=#local.qTotal.cnt#/>
|
<cfset "out.total"=#local.qTotal.cnt#/>
|
||||||
@@ -163,7 +160,6 @@
|
|||||||
<!---<cfset "out.sql"=#local.result.sql#/>--->
|
<!---<cfset "out.sql"=#local.result.sql#/>--->
|
||||||
<cfreturn representationOf(out)/>
|
<cfreturn representationOf(out)/>
|
||||||
|
|
||||||
|
|
||||||
</cffunction>
|
</cffunction>
|
||||||
|
|
||||||
<!--- <cffunction name="get" hint="проверка">
|
<!--- <cffunction name="get" hint="проверка">
|
||||||
|
|||||||
Reference in New Issue
Block a user