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...
主站蜘蛛池模板:
平原县|
翁牛特旗|
军事|
剑阁县|
和田县|
南安市|
宜春市|
凤翔县|
德庆县|
石阡县|
白朗县|
鸡泽县|
阜南县|
临清市|
孟州市|
孟村|
内江市|
祁连县|
罗定市|
涞源县|
同仁县|
怀柔区|
衡阳市|
林西县|
定州市|
安丘市|
宁阳县|
巧家县|
鄂尔多斯市|
来安县|
天等县|
壤塘县|
九龙坡区|
应城市|
高安市|
SHOW|
托克托县|
定西市|
昌邑市|
鲁甸县|
平邑县|