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;">對(duì)不起,當(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...
主站蜘蛛池模板:
昌吉市|
丹东市|
南郑县|
内江市|
霍邱县|
社旗县|
临朐县|
博罗县|
新乡市|
公主岭市|
嘉祥县|
江门市|
长葛市|
吉林市|
滦平县|
垫江县|
江西省|
灵丘县|
驻马店市|
顺平县|
南康市|
武山县|
丰镇市|
巩义市|
马尔康县|
铁岭市|
泸水县|
独山县|
平利县|
祥云县|
西乌|
留坝县|
岑巩县|
南召县|
宁国市|
九台市|
赤水市|
都昌县|
阳原县|
丰城市|
阿图什市|