File:goods-offer.html
Method:system.set()
Shopprice
对像不存在
xmls/goods.xmls
...
}
}
$else{
@queryitem=$query(item,goods);
@queryitem[GoodsId]=$var[GoodsId];
@queryitem[ParaId]=@ParaMap[ParaId];
@itemtRow=@queryitem.map(['isnull(min(Price),0) MinPrice,isnull(max(Price),0) MaxPrice'],['GoodsId={*GoodsId} and ParaId={*ParaId}']);
$if(@itemtRow[MinPrice]==@itemtRow[MaxPrice]){
$if(@itemtRow[MaxPrice]==0.00){
@Shopprice=议价;
}
$else{
@Shopprice=@itemtRow[MinPrice];
}
}
$else{
@Shopprice=@itemtRow[MinPrice];
}

}

}
$elseif(@scataid==366){
@querypara=$quer
y(spartitem,goods);
@querypara[GoodsId]=$var[GoodsId];
@ParaMap=@querypara.map(['ParaId,ParaType'],['GoodsId={*GoodsId}'],['ParaId asc']);
$if(@ParaMap==$null){
@ParaMap=$map();
}
}
$else{
@querypara=$query(goods,goods);
@querypara[GoodsId]=$var[GoodsId];
@ParaMap=@querypara.map(['ParaType'],['GoodsId={*GoodsId}'],['GoodsId desc']);
@ParaMap[ParaId]=0;
$if(@ParaMap==$null){
@ParaMap=$map();
}
$else{
@queryitem=$query(item,goods);
@queryitem[GoodsId]=$var[GoodsId];
@itemtRow=@qu...