File:cn/project.xmls
Method:query.getRow(columns,*where,*order)
未指定的错误
越界或超过范围
cn/project.xmls
$out main(){
$shell.running();
$shell.layout(pages/project.htm);
@query=$query(content,news);
@queryExtend=$query(extend,news);
@quCatalog=$query(catalog,news);
@cataidList=@quCatalog.getRow(['CatalogId'],['ParentId=3 and Status>0 and CatalogId<>54'],['Grade desc,CatalogId desc']);
@cataid=@cataidList[CatalogId];
//分类
@stNew=@quCatalog.getList(['CatalogName,CatalogId'],['ParentId=61 and Status>0'],['Grade desc,CatalogId desc']);
@stNew.foreach(){
@row=$map($var[value]);
$if(@row[CatalogId]==@cataidList[CatalogId]){
@row[class]=on;
}
$else{
@row[class]=;
}
}
@query[ContentId]=$http.argv(0);
@form=@query.getRow(['Body'],['ContentId={*Co...