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...
主站蜘蛛池模板:
蕲春县|
光泽县|
枣阳市|
香河县|
东台市|
抚州市|
揭阳市|
陆丰市|
洛宁县|
辽阳县|
禄劝|
那曲县|
磐安县|
深水埗区|
昌平区|
德阳市|
三门县|
双桥区|
宣城市|
河间市|
蓬安县|
元氏县|
澄迈县|
鹤庆县|
离岛区|
余干县|
类乌齐县|
来安县|
仁化县|
宁强县|
南丹县|
江永县|
普洱|
永兴县|
肇州县|
昌邑市|
吴江市|
同江市|
柳州市|
左权县|
舞钢市|