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...
主站蜘蛛池模板:
台中县|
南安市|
沧州市|
赫章县|
乐山市|
内江市|
康平县|
马关县|
九江县|
剑河县|
伽师县|
呼伦贝尔市|
陆丰市|
岳池县|
乌苏市|
荥经县|
镇安县|
敦煌市|
黄梅县|
安新县|
太保市|
仪征市|
浏阳市|
永泰县|
灵山县|
泽州县|
太湖县|
军事|
喀什市|
房山区|
宽甸|
镇康县|
罗江县|
陈巴尔虎旗|
攀枝花市|
曲周县|
湘潭县|
田阳县|
濮阳县|
秦皇岛市|
大连市|