File:products02.html
Method:query.update(*columns,*where)
數(shù)據(jù)庫(kù) 'sq_aimate3' 的事務(wù)日志已滿。若要查明無(wú)法重用日志中的空間的原因,請(qǐng)參閱 sys.databases 中的 log_reuse_wait_desc 列。
update gogoods set [GoodsCode]= 'NA-0793' ,[Click]= Click+1 where [GoodsId]=11023;
數(shù)據(jù)庫(kù)執(zhí)行錯(cuò)誤
xmls/product.xmls
...ta[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="color:red">{@totalprice}</td>
<td>{@Stock}</td>
<td>{@USDStock}</td>
<td>
<div class="bor">
<span class="dis tabsp" onclick="addQuantity(-1,document.getElementById('{*ItemId}cmber'),'{*ItemId}cmb...