File:product.xmls
Method:query.scalar(columns,*where,*order)
沒有為命令對(duì)象設(shè)置命令。
越界或超過(guò)范圍
product.xmls
...rom newscontent where UserId=1 order by Grade desc,Modified desc']);
@product=@query.getList(['ContentId,Title,Pic,Subtitle,CreateDate,Grade'],['Status>0 and {#in(CatalogId)} {?} and {#like(%,Model,%)} '],['Grade desc,{#idn(0)} desc'],15,@count,@index);
}
}
$if(@t<>1&&@t<>0&&@t<>2){
@query=$query(content,news);
@query[CatalogId]=$http.argv(0);
@query[len]=$http.argv(1);
@query[Tag]=1;
@len=@query[len];
@cataid=@query[CatalogId];
@sql=['Status>0 and CatalogId={*CatalogId} '];
@count=@query.scalar(['count(*)'],@sql);
@index=$http.get(page,#n,1);
@list=@query.getList(*,['Status>0 and CatalogId={*CatalogId}'],['Grade desc'],18,@count,@index);
@product=@query.getList(['ContentId,Title,Pic,Subtitle,CreateDate,Grade'],['Status>0 {?} and CatalogId={*CatalogId}'],['Grade desc, {#idn(0)} desc'],15,@count,@index);
@pager=$util.pager(15,@count,@index,page,3);
@contenList=@query.dataList(['select * from newscontent where UserId=1 order by Grade desc, Modified desc']);
}...
主站蜘蛛池模板:
宁津县|
吴川市|
汕头市|
汝阳县|
深水埗区|
四会市|
渭源县|
塘沽区|
车致|
杭锦后旗|
陵川县|
舟曲县|
新蔡县|
巴楚县|
论坛|
洛隆县|
凤凰县|
营口市|
永泰县|
安龙县|
苏尼特右旗|
汉沽区|
上饶市|
任丘市|
锦州市|
彭山县|
天水市|
沂源县|
玉环县|
浏阳市|
交城县|
调兵山市|
凌云县|
沂南县|
上林县|
紫阳县|
儋州市|
大理市|
霸州市|
凤山市|
安新县|