File:cn/productview.html
Method:query.scalar(columns,*where,*order)
连接超时时间已到。在尝试使用预登录握手确认时超过了此超时时间。这可能是因为预登录握手失败或服务器未能及时响应。 尝试连接到此服务器时花费的持续时间是 - [Pre-Login] initialization=1;handshake=15239;
数据库执行错误
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);
@...