File:company/home.htm
Method:map.set(key,value)
row??set
类型不正确
company/frame.xmls
...argv(0);
$if(!@CompanyId){
$write.error();
$end();
}
@mapGo=$map();
@GoodsId=$argv(1);
$if(@GoodsId){
@queryGo=$query(goods,goods);
@mapGo=@queryGo.dataMap(['select top 1* from {#0} where GoodsId={@GoodsId} and Status>0']);
}
$if(!@mapGo){
@mapGo=$map();
@GoodsName=$string;
@mapGo[GoodsName]=@GoodsName;
@mapGo[Pic]=$string;
}
@query=$query(company,user);
@query[CompanyId]=@CompanyId;
@row=@query.map(*,['{*CompanyId =} and Status>0']);
@Res=$resource(../xmls/dongxin.res);
@row[CompanyNameZ]=@row[CompanyName];
@row[ShopTypeNewZ]=@Res.getKeyValue(ShopTypeNew,@row[ShopType]);
@row[CompanyCountryZ]=$join(@row[CompanyCity],[","],China);
@row[MainMarketsZ]=@row[MainMarkets];
@row[CompanyNameD]=@row[CompanyName];
@Video=@row[Video];
@queryvisit=$query(visit,exposure);
@queryvisit[CompanyId]=@CompanyId;
@id=@queryvisit.insert(1);
$if(!@row){
$write.error();
$end();
}
$if(@row){
@mapp=$map();
$if(@row[ManagCertifica]){
@name=$string(@row[BusinessLicense...