File:productdetail.xmls
Method:query.getTable(columns,where,order,size,*count,*page)
未指定的錯誤
越界或超過范圍
productdetail.xmls
$out main(){
$shell.running();
$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']);
//遍歷獲取二級分...