File:productdetail.xmls
Method:query.getList(columns,where,order,size,*count,*page)
未指定的错误
越界或超过范围
productdetail.xmls
...shell.layout(pages/product-detail.htm);
@query=$query(catalog,news);


@MetaKeywords=@query.scalar(MetaKeywords,['Status>0 and CatalogId=78']);
@MetaDescription=@query.scalar(MetaDescription,['Status>0 and CatalogId=78']);
@Title=@query.scalar(Title,['Status>0 and CatalogId=78']);
//视频类型
@videotype=@query.getTable(['CatalogId,CatalogName'],['ParentId=88 and Status>0'],['Grade desc']);
@videotype1=@query.getTable(['CatalogId,CatalogName'],['ParentId=88 and Status>0'],['Grade desc']);
@
news=@query.getList(*,['Status>0 and ParentId=87'],['Grade desc']);
@news1=@query.getList(*,['Status>0 and ParentId=87'],['Grade desc']);
@customer1=@query.getList(*,['Status>0 and ParentId=86'],['Grade desc']);
@customer2=@query.getList(*,['Status>0 and ParentId=86'],['Grade desc']);
//遍历获取二级分类
@prodecttype3=@query.getList(['CatalogId,CatalogName'],['Status>0 and ParentId=78'],['Grade desc']);
@prodecttype3.foreach(){
@row=$map($var[value]);
@query[ParentId]=@row[CatalogId];
@prodectty...