File:product.xmls
Method:query.scalar(columns,*where,*order)
沒(méi)有為命令對(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']);
}...
主站蜘蛛池模板:
嘉义县|
班玛县|
株洲市|
洪洞县|
西平县|
浪卡子县|
独山县|
胶州市|
于田县|
邵武市|
兴仁县|
甘德县|
五台县|
安吉县|
孟村|
舞钢市|
重庆市|
年辖:市辖区|
昌黎县|
乌兰县|
江城|
浙江省|
巴东县|
长丰县|
长海县|
舟曲县|
军事|
兴和县|
年辖:市辖区|
磐安县|
正镶白旗|
南涧|
石楼县|
射洪县|
三门峡市|
绥江县|
屏东市|
兴文县|
古田县|
安国市|
金华市|