File:product4.html
Method:map.get(key,default)
rowGoods??get
类型不正确
xmls/product.xmls
...']);
@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/{@rowG
oods[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.scal...