File:product4.html
Method:query.scalar(columns,*where,*order)
执行超时已过期。完成操作之前已超时或服务器未响应。 select top 1 Symbol FROM gogoods WHERE AreaId=1 and GoodsCode='leap0000028'
数据库执行错误
xmls/product.xmls
...picpath=["/files/cas/{@rowGoods[CAS]}.gif"];
$if($file.existsFile($file.getMapPath(@picpath))==1){
@pic=@picpath;
}
$else{
@pic=['/pinggao/images/zanwu.jpg'];
}

@cpath=@rowGoods[CatalogPath];
@querycata[CatalogPath]=@cpath;
@querycata[CatalogId]=@rowGoods[CatalogId];
@catalognames=@querycata.scalar(CatalogName,['CatalogId={*CatalogId} and AreaId={*AreaId}']);
@catatb=@querycata.table(['CatalogName,CatalogId'],['AreaId={*AreaId} and ({#on(or,CatalogPath,like,CatalogPath,%,%)})']);
@
Symbollist=@queryGoods.scalar(['Symbol'],['AreaId={*AreaId} and GoodsCode={*GoodsCode}']);
@Symbofor=$string(@Symbollist).split(\;);
@Symbol=$string();
@Symbofor.foreach(){
@Symbol.append(["<img src='{$var[value]}'/> &nbsp &nbsp"]);
}
@cnames=@catatb.format([#<a href="{~product2.html&cid=*CatalogId}" style="color:#666666;float:left"> {*CatalogName}</a> <span style="float:left">,</span>#]);
$if($string.isEmpty(@cnames)==0){
@cnames=@cnames.remove(-8);
}
@queryItem[GoodsCode]=@rowGoods[G...