File:productview.html
Method:query.map(columns,*where,*order)
'=' 附近有語法錯誤。
select top 1 * FROM jxpgoods WHERE CAS=
數(shù)據(jù)庫執(zhí)行錯誤
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;">對不起,當前沒有數(shù)據(jù)!</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...
主站蜘蛛池模板:
淄博市|
新干县|
伊宁市|
隆化县|
沿河|
竹山县|
伊宁市|
周宁县|
普宁市|
澳门|
江永县|
根河市|
高州市|
林西县|
浦东新区|
钦州市|
兰考县|
遵义市|
应城市|
岳西县|
滦南县|
青神县|
临泉县|
西吉县|
婺源县|
交城县|
盐边县|
南平市|
永胜县|
沧州市|
灌云县|
夏邑县|
芒康县|
阿城市|
始兴县|
克拉玛依市|
华宁县|
固阳县|
关岭|
沙坪坝区|
汝州市|