File:view.html
Method:map.get(key,default)
manMap??get
类型不正确
xmls/goodsview.xmls
...goods);
@gid=$http.get(id,0,N);
@pid=$http.get(pid,0,N);
$if(@gid==0){
$write(参数异常);
$end();
}
@query[GoodsId]=@gid;
@row=@query.map(*,['GoodsId={*GoodsId} and Status=1']);
//@row=@query.map(*,['GoodsId={*GoodsId} ']);
$if(@row==$null){
$http.redirect(["notfound.html"]);
$end();
}

@queryman=$query(manufactor,user);
@dbbrand=$query(brand,pay);
@queryman[ManufactorId]=@row[ManufactorId];

@manMap=@queryman.map(['UserId'],['ManufactorId={*ManufactorId}']);

@dbbrand[shenfen]=@
manMap[UserId];
@dbbrand[OrderStatus]=40;
@newTime=$datetime.now();
@dbbrand[StartTime]=@newTime.toString(yyyy-MM-dd HH:mm:ss);
@dbbrand[EndTime]=@newTime.toString(yyyy-MM-dd HH:mm:ss);
@AdverId=@dbbrand.dataScalar(['select AdverId from paybrand where First=1 AND shenfen={*shenfen} and OrderStatus={*OrderStatus} and StartTime<={*StartTime} and EndTime>={*EndTime} and DeviceType=4']);
$if(@AdverId==$null){
@AdverId=0;
}



@query.nonQuery(['update {**table} set Click=Click+1 where...