2013-05-08
展开全部
父栏目及子栏目select top {$Param(0)} ID,Title,PhotoUrl,Price,Price_Original from KS_Product where tid in(select id from ks_class where ts like '%{$Param(1)}%') and Popular=1 and Verific=1 and DelTF=0 order by id desc父栏目下的子栏目select top {$Param(0)} ID,Title,PhotoUrl,Price,Price_Original from KS_Product where tn='{$Param(1)}' and Popular=1 and Verific=1 and DelTF=0 order by id desc调用{SQL_标签(num,tid)}以上是依商城为例,其他模型类推
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询