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...
主站蜘蛛池模板:
澳门|
柘荣县|
嘉义县|
南宫市|
平乐县|
钟祥市|
道真|
和硕县|
武宣县|
东乡|
罗源县|
册亨县|
久治县|
皮山县|
本溪市|
澄迈县|
宁城县|
阜康市|
无为县|
南投市|
平湖市|
高碑店市|
玉林市|
青浦区|
金堂县|
永登县|
正阳县|
滨海县|
吉首市|
顺平县|
泽州县|
乳源|
泾阳县|
龙川县|
讷河市|
苏州市|
阆中市|
桦甸市|
兖州市|
蒙城县|
赤壁市|