File:shopindex.html
Method:query(table,*app,*connect)
default.manufactor
对像不存在
shopindex.xmls
$sub main(){
@load();
$shell.call($http.get(method,list));
$write.html(shopindex.html);
}
$sub load(){
$if($shell[AreaId]==$null){
$shell[AreaId]=$resource(config.res).get(AreaId);
}

@
query=$query(manufactor,user);
@query[ManufactorId]=$http.get(id,0);
@ShopRecod=$string();
@manuMap2=@query.map(['ShopRecod'],['ManufactorId={*ManufactorId} and Status=1']);
$if(@manuMap2<>$null){
@str=$string(@manuMap2[ShopRecod]);
$if(@str.length()>100){
@str2=@str.substring(0,100);
@ShopRecod=["{@str2}..."];
}
$else{
@ShopRecod=@str;
}
}
$else{
@ShopRecod=[""];
}

}
$sub list(){

}
//$sub view(){
//@querym=$query(manufactor,user);
//@ManufactorId=$http.get(id,0);
//@m...