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...
主站蜘蛛池模板:
岳西县|
泗水县|
禄丰县|
临高县|
延安市|
洮南市|
钦州市|
琼海市|
临邑县|
秭归县|
井研县|
灵台县|
湟中县|
贡嘎县|
阆中市|
依安县|
承德县|
临潭县|
湖南省|
海宁市|
伊宁县|
化州市|
阜新市|
拉萨市|
桦川县|
古蔺县|
井陉县|
商丘市|
靖边县|
和林格尔县|
泸水县|
固原市|
沙洋县|
蓝山县|
电白县|
磴口县|
车险|
清涧县|
盖州市|
义马市|
沈阳市|