File:product-02.html
Method:query.table(columns,*where,*order,*top)
关键字 'ORDER' 附近有语法错误。 select * FROM gocatalog WHERE ParentId= ORDER BY Grade desc,CatalogId asc
数据库执行错误
xmls/goods.xmls
...ne"'];
}
@class=['one_number'];
$if(@listtc==$empty){
@class=['one_numbern'];
}
}
$return(@listta);
}

//产品分类列表
$sub goodsloglist(){
@format=[#<li {@dis}><a href="{~product-02.html&cid=*CatalogId}" data-value="{*CatalogId}">{*CatalogName}</a></li>#];
@querygcata=$query(catalog,goods);
@querygoods=$query(goods,goods);
@CatalogId=$http.get(cid,1);
@querygcata[CatalogId]=@CatalogId;
@ParentId=@querygcata.scalar(ParentId,CatalogId={*CatalogId});
@querygcata[CatalogId]=@ParentId;
@
tablect=@querygcata.table(*,['ParentId={*CatalogId}'],['Grade desc,CatalogId asc']);
@cololist=@tablect.format(@format){
@cata=$var[CatalogId];
@querygoods[CatalogId]=@cata;
@ccount=@querygoods.scalar(['count(*)'],['CatalogId={*CatalogId}']);
$if(@ccount==0){
@dis=['style="display:none"'];
}
$else{
@dis=$empty;
}
}
@CatalogName=@querygcata.scalar(CatalogName,CatalogId={*CatalogId});
$return($empty);
}

//技术型号
$sub SkillCode(){
@format=[#<a href="javascript:clickSearch('Purity',...