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...
主站蜘蛛池模板:
平遥县|
长沙市|
高青县|
龙胜|
许昌市|
阳曲县|
阳江市|
夏津县|
漯河市|
长葛市|
宁都县|
那曲县|
长沙县|
鸡泽县|
财经|
饶河县|
通渭县|
彰化市|
弥勒县|
会昌县|
华容县|
盐源县|
武鸣县|
疏附县|
临朐县|
浦东新区|
郸城县|
兴城市|
江源县|
龙江县|
乃东县|
永仁县|
莱西市|
施甸县|
南召县|
贵德县|
深水埗区|
双江|
垣曲县|
南开区|
太保市|