File:cn/newCenter.xmls
Method:query.getList(columns,where,order,size,*count,*page)
超出系统资源。
select top 4 Title,Pic,Description,Modified,Description,Tag,ContentId FROM newscontent WHERE CatalogId=45 and Tag like '%1%' ORDER BY Modified desc,ContentId desc
越界或超过范围
cn/newCenter.xmls
$out main(){
$shell.running();
$shell.layout(pages/newCenter.htm);
@query=$query(content,news);
//轮播图
@query[Tag]=1;
@Rotation=@query.getList(['top 4 Title,Pic,Description,Modified,Description,Tag,ContentId'],['CatalogId=45 and {#like(%,Tag,%)}'],['Modified desc,ContentId desc']);
@problemCount=@query.scalar(['count(*)'],['CatalogId=45 and Status>0']);
@problemIndex=$http.get(page,#n,1);
//内容
@problemList=@query.getList(['ContentId,Title,CreateDate,Description,Pic,Body,Modified,Grade,Link'],['CatalogId=45 and Status>0'],['Grade desc,Modified desc,ContentId desc'],5,@problemCount,@problemIndex);
@probl...