File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語法錯(cuò)誤。
select top 1 * FROM jxpgoods WHERE CAS=
數(shù)據(jù)庫執(zhí)行錯(cuò)誤
xmls/product.xmls
...</a>
{*list}
<a href="{*next}" class="bort">下一頁</a>
#],10,@count,$http.get(page,1),page,3);
@content=@goodslist.format(@format);
$if(@count==0){
@content=['<div style="color:#FF0000;font-size:12px;height:45px;line-height:45px;text-align:center;">對不起,當(dāng)前沒有數(shù)據(jù)!</div>'];
@Pager=$empty;
}
$return(@content);
}
//查詢內(nèi)容
$sub GoodsDetails(){
@querygoods=$query(goods,goods);
@queryfile=$query(document,download);
@CAS=$http.get(kw);
@FilePath=;
@querygoods[CAS]=@CAS;
@rowgoods=@querygoods.map(*,['CAS={*CAS}']);
@countmn=@querygoods.scalar(['count(*)'],['CAS={*CAS}']);
@listitemma=ma;
@Modified=$empty;
$if(@countmn==0){
@rowgoods=$map();
$write(['<script>history.back();</script>']);
$end;
}
$else{
@queryfile[Goodshao]=@rowgoods[Goodshao];
@FilePath=@queryfile.scalar(['FilePath'],['Goodshao={*Goodshao}']);
$if(@FilePath==$null){
@FilePath=$empty;
}
@Modified=@rowgoods[Modified];
@Modified=$datetime.format(@Modified,yyyy-MM-dd);
@Click=@rowgoo...
主站蜘蛛池模板:
汝州市|
黄梅县|
喀喇沁旗|
江门市|
湾仔区|
祁东县|
策勒县|
辉县市|
慈利县|
原阳县|
长寿区|
延川县|
独山县|
渝中区|
屯门区|
云阳县|
资兴市|
临泉县|
龙南县|
宁化县|
右玉县|
视频|
长宁县|
蒙城县|
民权县|
保德县|
鹿邑县|
平安县|
永和县|
博爱县|
应城市|
红桥区|
仙居县|
望城县|
监利县|
扬州市|
江油市|
邻水|
青海省|
盘锦市|
武定县|