File:company/goodsview.htm
Method:map.get(key,default)
rowuser??get
类型不正确
company/frame.xmls
...s.getKeyValue(QCStaffs,@row[QCStaffs]);
@row[AnnualOutputValue]=@Res.getKeyValue(AnnualOutputValue,@row[AnnualOutputValue]);
@row[AnnualExportRevenue]=@Res.getKeyValue(AnnualExportRevenue,@row[AnnualExportRevenue]);
@row[ImportorExport]=@Res.getKeyValue(ImportorExport,@row[ImportorExport]);
@row[TradeStaffs]=@Res.getKeyValue(TradeStaffs,@row[TradeStaffs]);
@queryu=$query(user,user);
@Pic=$string;
@queryu[UserId]=@row[UserId];
@rowuser=@queryu.map(*,['{*UserId =} ']);
@row[FirstName]=@rowuser[FirstName];
@row[LastName]=@rowuser[LastName];
@row[LastLoginDate]=$datetime(@rowuser[LastLoginDate]).toString(yyyy-MM-dd);
@row[Username]=@rowuser[Username];
@row[FirstNameZ]=@rowuser[FirstName];
@row[LastNameZ]=@rowuser[LastName];
@Pic=@rowuser[Pic];
//$if($file.existsFile($file.getMapPath(@rowuser[Pic]))==1){
$if(@Pic){
@row[Pic]=@rowuser[Pic];
}
$else{
$if(@rowuser[Gender]=="Mr"){
@Pic=["{#root}images/header.png"];
}
$else{
@Pic=["{#root}images/header2.png"];
...