File:product.xmls
Method:query.scalar(columns,*where,*order)
沒有為命令對(duì)象設(shè)置命令。
越界或超過范圍
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']);
}...
主站蜘蛛池模板:
曲麻莱县|
策勒县|
成武县|
常熟市|
固镇县|
三穗县|
周口市|
兖州市|
吉木乃县|
连云港市|
汉沽区|
江山市|
涡阳县|
长泰县|
嘉禾县|
桂东县|
大新县|
泉州市|
宝坻区|
乐亭县|
松滋市|
田阳县|
股票|
滕州市|
云浮市|
广灵县|
永和县|
清苑县|
连南|
昭通市|
沂源县|
海丰县|
翁源县|
锡林浩特市|
如皋市|
上思县|
克什克腾旗|
花垣县|
北海市|
榆社县|
廉江市|