File:product4.html
Method:query.map(columns,*where,*order)
执行超时已过期。完成操作之前已超时或服务器未响应。 select top 1 * FROM gogoods WHERE GoodsCode='LEAP 30107' and AreaId=1
数据库执行错误
xmls/product.xmls
...){
@gid=$var[GoodsId];
@querygitem[GoodsId]=@gid;
@prices=@querygitem.scalar(price,['GoodsId={*GoodsId}']);
@strings=$string.join(@prices);
};
$return(@listtb);
}



//查询内容
$sub viewGoods(){
@queryGoods=$query(goods,goods);
@querycata=$query(catalog,goods);
@queryItem=$query(item,goods);
@cas=$http.get(default,0);
@queryGoods[GoodsCode]=@cas;

@call=$call(../xmls/public.xmls);
@call.load();
@AreaId=$shell[AreaId];
@queryGoods[AreaId]=@AreaId;
@querycata[AreaId]=@AreaId;
@
rowGoods=@queryGoods.map(*,['GoodsCode={*GoodsCode} and AreaId={*AreaId}']);
@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,Catalog...