File:products02.html
Method:query.map(columns,*where,*order)
連接超時(shí)時(shí)間已到。在嘗試使用預(yù)登錄握手確認(rèn)時(shí)超過(guò)了此超時(shí)時(shí)間。這可能是因?yàn)轭A(yù)登錄握手失敗或服務(wù)器未能及時(shí)響應(yīng)。 嘗試連接到此服務(wù)器時(shí)花費(fèi)的持續(xù)時(shí)間是 - [Pre-Login] initialization=1;handshake=14844;
數(shù)據(jù)庫(kù)執(zhí)行錯(cuò)誤
xmls/product.xmls
...CatalogId asc'],8);
@listtb=@tablectmn.format(@format);
$return(@listtb);
}
//新產(chǎn)品
$function newsProductname(format,tid){
@querygcata=$query(goods,goods);
@TagIds=[",{@tid},"];
@querygcata[TagIds]=@TagIds;
@tablectmn=@querygcata.table(*,['TagIds like {#like(%TagIds%)} and AreaId=1'],['CatalogId desc,Grade desc']);
@listtb=@tablectmn.format(@format);
$return(@listtb);
}
//查詢內(nèi)容
$sub viewGoods(format){
@queryGoods=$query(goods,goods);
@queryGoods[GoodsCode]=$http.get(gId);
@rowGoods=@queryGoods.map(*,['GoodsCode={*GoodsCode}']);
$if(@rowGoods==$null){
$write.error();
}
@queryGoods[GoodsId]=@rowGoods[GoodsId];
@queryGoods.setField($field(Click,Click+1,object));
@queryGoods.update();
$shell.entry(@rowGoods);
$return($empty);
}
$sub formatGoodsItem(){
@format=[#
<tr class="colo6">
<td class="borl">{*GoodsCode}-{*Pack}</td>
<td><span style=""></span> {@price}</td>
<input type="hidden" value="{@totalprices}" id="{*ItemId}cmbertatals"/>
<td style="col...