File:cn/goods-list.htm
Method:query.table(columns,*where,*order,*top)
无法打开登录所请求的数据库 "bds284289693_db"。登录失败。 用户 'sa' 登录失败。
数据库执行错误
cn/xmls/frame.xmls
...ata.table(*,['ParentId=0 and Status>0 and {*AreaId = $shell.getData(cn)}'],['Grade desc,CatalogId desc']);
@listta=@tablectmn.format(@format){
@tablect=@querygcata.table(*,['{*ParentId = $var[CatalogId]} and Status>0'],['Grade desc,CatalogId desc']);
@listtb=@tablect.format(@format1);
}
$cache.set(menumob,@listta,60000);
$return(@listta);
}
$sub GoodsCatalogPc(format,format1){
@listta=$cache.get(menupc);
$if(@listta<>$null){
$return(@listta);
}
@querygcata=$query(catalog,goods);
@
tablectmn=@querygcata.table(*,['ParentId=0 and Status>0 and {*AreaId = $shell.getData(cn)}'],['Grade desc,CatalogId desc']);
@listta=@tablectmn.format(@format){
@tablect=@querygcata.table(*,['{*ParentId = $var[CatalogId]} and Status>0'],['Grade desc,CatalogId desc']);
@listtb=@tablect.format(@format1);
}
$cache.set(menupc,@listta,60000);
$return(@listta);
}
//帮助
$sub HelpList(format,format1){
@listta=$cache.get(help);
$if(@listta<>$null){
$return(@listta);
}
@querygcont=$query(cont...