寻乐吧全国信息论坛,成都24小时品茶官方入口,上海魔都SPA

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...
主站蜘蛛池模板: 怀远县| 平湖市| 上高县| 高邑县| 平陆县| 灵璧县| 灌云县| 丰原市| 普兰店市| 满洲里市| 商河县| 滨州市| 马公市| 翼城县| 康保县| 新宾| 连州市| 烟台市| 油尖旺区| 西青区| 江孜县| 襄樊市| 图木舒克市| 柳河县| 北辰区| 米林县| 久治县| 河曲县| 承德市| 秦安县| 广河县| 沁水县| 楚雄市| 东港市| 疏附县| 浦江县| 射洪县| 库车县| 遂溪县| 内黄县| 洞口县|