File:en/dynamicPage.htm
Method:query.map(columns,*where,*order)
语法错误 (操作符丢失) 在查询表达式 'ContentId=' 中。 select top 1 * FROM cocontent WHERE ContentId=
数据库执行错误
xmls/YCustomize.xmls
...e,["/{@nextrow[ContentId]}.html"]);
@prevtitle=["{@nextrow[Title]}"];
}
$else{
@prevhref=["javascript:void(0)"];
@prevtitle=["nothing"];
}
//下一条
$if(@nextrow<>$empty&&@prevrow<>$null){
@nexthref=$join(../dynamicPage,["/{@prevrow[ContentId]}.html"]);
@nexttitle=["{@prevrow[Title]}"];
}
$else{
@nexthref=["javascript:void(0)"];
@nexttitle=["nothing"];
}

$return($empty);
}

//Content商品详情页
$sub ContentDetailsUrl(){
@query=$query(content,content);
@query[ContentId]=$argv(0);
@
ContentList=@query.map(*,['ContentId={*ContentId}']);
@CreateDate=@ContentList[CreateDate];
@TableCatalog=$query(catalog,content);
@CatalogList=@TableCatalog.map(*,['CatalogId={@ContentList[CatalogId]}']);
@dates=@ContentList[CreateDate];
@date=$datetime(@dates);
@year=@date.year();
@month=@date.month();
@day=@date.day();
$return($empty);
}


//Product商品详情页 带相册图片
$sub ProductDetailsUrl(){
@query=$query(product,product);
@query[ProductId]=$get(ProductId);
@table=@query.map(*,['Pr...