File:view.html
Method:query.table(columns,*where,*order,*top)
资源池 'default' 没有足够的系统内存来运行此查询。 select * FROM goods_image WHERE GoodsId='1120699'
数据库执行错误
xmls/goodsview.xmls
...(['CatalogId,CatalogName,Grade,ParentId,GoodsTypeId'],['Status=1{?} and CatalogId in{#in(CatalogId)} and AreaId={*AreaId}'],["{@catalogquery.identity()} asc"]);
@cpathlist=@tableCatalog.format([# <a href="{@href}"> {*CatalogName}</a> >#]){
$if($var[GoodsTypeId]==1){
@href=["{~product.html&cid=$var[CatalogId]}"];
}
$else{
@href=["{~acce.html&cid=$var[CatalogId]}"];
}
};
//产品路径
//列表图
@queryimg=$query(image,goods);
@queryimg[GoodsId]=@gid;
@queryimg[UserId]=$http.getSession(UserId);
@
tableimg=@queryimg.table(*,['GoodsId={*GoodsId}']);

@userid=$http.getSession(UserId);
@goodsid=$string.join(@row[UserId],@gid);
@queryimg[GoodsId]=@goodsid;

@tableimg2=@queryimg.table(*,['GoodsId={*GoodsId}']);
$if(@tableimg.count()>0){
//@imglist=@tableimg.format([#<li data-big="{@big}"><a><img alt="{@row[GoodsName]}" src="{@small}"></a></li>#]){

@imglist=@tableimg.format([#<div class="swiper-slide" ><div class="swiper-slide_chilren imgInfo"><img src="{@small}" alt="{@row[GoodsName...