File:productdetail.xmls
Method:query.scalar(columns,*where,*order)
未指定的錯誤
越界或超過范圍
productdetail.xmls
...logId=174'],['Grade']);
@wx=@query.getTable(['Title,Pic'],['Status>0 and CatalogId=187'],['Grade desc']);
@query[ContentId]=$http.argv(0);
@MetaKeywords=@query.scalar(MetaKeywords,['Status>0 and ContentId={*ContentId}']);
@MetaDescription=@query.scalar(MetaDescription,['Status>0 and ContentId={*ContentId}']);
@Title=@query.scalar(Title,['Status>0 and ContentId={*ContentId}']);
@form=@query.getRow(*,['ContentId={*ContentId}']);
@Case=@query.scalar(['Case'],['ContentId={*ContentId}']);
@Relevant=@query.scalar(['Relevant'],['ContentId={*ContentId}']);
@Video=@query.scalar(['Video'],['ContentId={*ContentId}']);
//相關(guān)產(chǎn)品
$if(@Relevant<>$empty){
@query[CatalogId]=@ids;
@query[Title]=$util.asArray(@form[Relevant]);
@relevant2=@query.getList(['ContentId,Title,Pic,CreateDate'],['Status>0 and {#in(CatalogId)} {?} and {#inlike(Title)} '],['Grade desc']);
}
$else{
@relevant2=@query.getList(['Pic,Title,Description,ContentId,CreateDate'],['UserId<>0']);
}
@query=$query(extend,new...