File:cn/productview.html
Method:query.scalar(columns,*where,*order)
资源池 'internal' 没有足够的系统内存来运行此查询。 select top 1 FilePath FROM xzdocument WHERE Goodshao='ac-1553'
数据库执行错误
cn/xmls/product.xmls
...<span><a href="{~productview.html&gId=*Goodshao}"><img src="../files/goods/{*Goodshao}.gif" width="100" height="100" /> </a></span>"];
}

}
$if(@count==0){
@content=['<div style="color:#FF0000;font-size:12px;height:45px;line-height:45px;text-align:center;">对不起,爱玛特生物暂无你需要的这个产品!</div>'];
@Pager=$empty;
}
$return($empty);
}

//查询内容
$sub GoodsDetails(){
@querygoods=$query(goods,goods);
@queryfile=$query(document,download);
@Goodshao=$http.get(gId);
@queryfile[Goodshao]=@Goodshao;
@
FilePath=@queryfile.scalar(['FilePath'],['Goodshao={*Goodshao}']);
$if(@FilePath==$null){
@FilePath=$empty;
}


@querygoods[Goodshao]=@Goodshao;
@rowgoods=@querygoods.map(*,['Goodshao={*Goodshao}']);
@countmn=@querygoods.scalar(['count(*)'],['Goodshao={*Goodshao}']);
@listitemma=ma;
@Modified=$empty;
$if(@countmn==0){
@rowgoods=$map();
$write(['<script>history.back();</script>']);
$end;
}
$else{
@Modified=@rowgoods[Modified];
@Modified=$datetime.format(@Modified,yyyy-MM-dd);
@...