File:cn/Business-view.xmls
Method:query.getRow(columns,*where,*order)
未指定的错误
越界或超过范围
cn/Business-view.xmls

$out main(){
$shell.running();
$shell.layout(pages/Business-view.htm);
@query=$query(content,news);
@dbextend=$query(extend,news);
@row3=@query.getRow(['Title,Pic'],['ContentId=22 and Status>0 and AreaId=1']);
@businessTitle=@query.getList(['Title,ContentId'],[' CatalogId=44 and Status>0 and AreaId=1'],['Grade desc,ContentId asc']);

@query[ContentId]=$http.argv(0);
@
businessRow=@query.getRow(*,['ContentId={*ContentId} and Status>0 '],['ContentId desc']);

@dbextend[ContentId]=$http.argv(0);
@count=@dbextend.scalar(['count(*)'],[' ContentId={*ContentId} and ExtendType=0 ']);
@index=$http.get(page,#n,1);
@PicList=@dbextend.getList(*,[' ContentId={*ContentId} and ExtendType=0 '],['Grade desc,ExtendId asc'],8,@count,@index);
@pager=$util.pager(8,@count,@index,page,3);

}