File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語法錯誤。
select top 1 * FROM jxpgoods WHERE CAS=
數據庫執行錯誤
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;">對不起,當前沒有數據!</div>'];
@Pager=$empty;
}
$return(@content);
}
//查詢內容
$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...
主站蜘蛛池模板:
洱源县|
武义县|
石门县|
云浮市|
扎兰屯市|
都匀市|
临漳县|
盖州市|
海南省|
河北省|
中超|
大名县|
新竹市|
大理市|
临颍县|
河津市|
汝阳县|
龙游县|
吉隆县|
湘乡市|
巴马|
亳州市|
南投市|
磐安县|
陆丰市|
南木林县|
辽阳县|
东山县|
邓州市|
南充市|
元阳县|
河津市|
土默特右旗|
昭通市|
岳普湖县|
错那县|
若尔盖县|
崇阳县|
太原市|
岫岩|
南靖县|