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...
主站蜘蛛池模板:
罗甸县|
望谟县|
合川市|
沂南县|
天气|
曲周县|
台州市|
肥东县|
南投市|
潞城市|
横峰县|
朔州市|
深圳市|
孝昌县|
永福县|
兴安县|
桃园县|
蚌埠市|
河津市|
和田县|
毕节市|
德化县|
乌海市|
浦北县|
巢湖市|
山丹县|
宁河县|
翁源县|
昭平县|
任丘市|
海阳市|
宁德市|
徐汇区|
丁青县|
庆云县|
铜川市|
循化|
淳安县|
贵阳市|
晋中市|
调兵山市|