File:goods-offer.html
Method:map.get(key,default)
ManMap??get
类型不正确
xmls/goods.xmls
...orId where goo.Status=1 and man.Status=1 and man.mStatus=0 and goo.AreaId={*AreaId} and SerialsId={*SerialsId}']);
@queryman=$query(manufactor,user);
@queryman[UserId]=@GoMap[UserId];
@itemdt(@GoMap[GoodsId]);
@Pic=@GoMap[Pic];
$if($file.existsFile($file.getMapPath(@Pic))==0){
@Pic=['images/default.jpg'];
}
@ManMap=@queryman.map(['CompanyName,ManufactorId,sjTag,datediff(year,ChenliDate,getdate()) ChenliDate,CompanyQQ,Counsel,Cgroup,ConfigID'],['UserId={*UserId}']);
@ChenliDate=$iif(@ManMap[ChenliDate]==0,-,@ManMap[ChenliDate]);
@renzheng=$string();
@sjTag=$string(@ManMap[sjTag]);
$if(@sjTag.indexOf(1)>=0){
@renzheng.append(["<img src="images/ren.png" title="认证厂家" />"]);
}
$if(@sjTag.indexOf(2)>=0){
@renzheng.append(["<img src="images/cheng.png" title="诚信厂家" />"]);
}
$if(@sjTag.indexOf(3)>=0){
@renzheng.append(["<img src="images/jing.png" title="金牌厂家" />"]);
}
$return($empty);
}
//价格
$sub itemdt(gid){
//规格
@queryitem=$query(item,good...