File:en/product.xmls
Method:query.getList(columns,where,order,size,*count,*page)
未指定的错误
越界或超过范围
en/product.xmls
...=@search;
@query[Model]=@search;
@query[CatalogId]=@ids;
@Body=[''];
@title1=[''];
@cataid=[''];
@cataname=[''];
@description=[''];
@title1=[''];
@t=0;
@dbcatalog=$query(catalog,news);
@dbcatalog[ParentId]=191;
@catalogList0=@dbcatalog.getList(*,['Status>0 and 1>0 and ParentId={*ParentId}'],['Grade desc,Modified desc']);
@Bus=$string();
$if(@catalogList0.count()>0){
@catalogList0.foreach(){
@row=$map($var[value]);
@id=@row[CatalogId];
@dbcatalog[ParentId]=@id;
@catalogList1=@dbcatalog.getList(*,['Status>0 and 1>0 and ParentId={*ParentId}'],['Grade desc,Modified desc']);
$if(@catalogList1.count()>0){
@id1=@row[CatalogId];
@dbcatalog[ParentId]=@id1;
@catalogList1.foreach(){
@row=$map($var[value]);
@id=@row[CatalogId];
@Bus.append(@id);
@Bus.append(\,);
}
}
$else{
@Bus.append(@id);
@Bus.append(\,);
}
}
}
@Bus=@Bus.remove(-1);
@sql=['Status>0 and {#in(CatalogId)} {?} and {#like(%,Title,%)}'];
@count=@query.scalar(['count(*)'],@sql);...