File:socialresponsibility.htm
Method:query.map(columns,*where,*order)
语法错误 (操作符丢失) 在查询表达式 'ContentId=' 中。
select top 1 * FROM cocontent WHERE ContentId=
数据库执行错误
xmls/Customize.xmls
...sslist(format){
@query=$query(catalog,forum);
@query[AreaId]=1;
@tableMap=@query.table(['CatalogId,CatalogName'],['{*AreaId =}']);
@Pagelist=@tableMap.format(@format);
$return(@Pagelist);
}
//供应商征集
//Content商品详情页
$sub ContentSupplier(){
@query=$query(content,content);
@query[ContentId]=$get(ContentId,null);
@ContentList=@query.map(*,['ContentId={*ContentId}']);
$return($empty);
}
$sub SocialresponsibilityRow(){
@query=$query(content,content);
@query[ContentId]=$argv(0);
@socialresponsibilityRow=@query.map(*,['ContentId={*ContentId}']);
$return($empty);
}
////荣誉墙
$sub honorWallList(formart){
//建立查询
@query=$query(content,content);
@query[CatalogId]=119;
@table=@query.pager(*,['Status>0 and CatalogId={*CatalogId}'],['Grade desc,ContentId desc'],6,$get(page,1));
//遍历数据
@List=@table.format(@formart){}
//分页代码
@Pager=$helper.pager([#{?option}<a class="" href="{*link}">{*text}</a> {?selected} <a class="on" href="{*link}">{*text}</a> {?pager}
<div c...
主站蜘蛛池模板:
如东县|
哈尔滨市|
福州市|
锦州市|
横山县|
名山县|
东明县|
盐城市|
乐陵市|
嘉祥县|
济源市|
仲巴县|
左贡县|
钟山县|
栖霞市|
呼和浩特市|
彩票|
德庆县|
禄劝|
汕头市|
涟水县|
延长县|
密云县|
昌平区|
锡林郭勒盟|
新营市|
理塘县|
巴青县|
华宁县|
洪雅县|
富裕县|
苏尼特右旗|
锡林浩特市|
承德市|
阿克|
永康市|
高要市|
马尔康县|
大新县|
武鸣县|
武宣县|