File:partner.xmls
Method:query.getTable(columns,where,order,size,*count,*page)
未指定的錯(cuò)誤
越界或超過范圍
partner.xmls
$out main(){
$shell.layout(pages/partner.htm);
@write=$http.argv(0);
@address=$util.config(base,Address);
@tel=$util.config(base,Tel);
@mail=$util.config(base,Mail);
@icp=$util.config(base,Icp);
@yejiao=$util.config(base,foot);
@queryArea=$query(catalog,news);
@catalogName=@queryArea.getTable(['CatalogId,CatalogName'],['Status>0 and ParentId=49']);
@catalogcount=@queryArea.scalar(['count(*)'],['Status>0 and ParentId=49']);
@catalogindex=$http.get(page,#n,1);
@catalogpager=$util.pager(36,@catalogcount,@catalogindex,page,3);
@CatalogId=$http.argv(0);
@query=$query(content,news);
$if(@CatalogId==$null){
@query[CatalogId]=@CatalogId;
}
$else{
@query[CatalogId]=@CatalogId;
}
@sql=['1>0 and Status>0 and CatalogId={*CatalogId}'];
@count=@qu...