Commit 09eff672 authored by 黄奎's avatar 黄奎

页面修改

parent ca3504d6
......@@ -429,8 +429,19 @@ WHERE {where} group by g.Id order by g.CreateDate desc";
else if (dmodel.OrderBy == 4)
{
//销量高-低
orderBy = $" order by g.{nameof(RB_Goods_Extend.SalesNum)} desc";
orderBy = $" order by g.{nameof(RB_Goods_Extend.SalesNum)} desc ";
}
//上架时间升序
else if (dmodel.OrderBy == 5)
{
orderBy = $" order by g.{nameof(RB_Goods_Extend.CreateDate)} ASC ";
}
//上架时间降序
else if (dmodel.OrderBy == 6)
{
orderBy = $" order by g.{nameof(RB_Goods_Extend.CreateDate)} DESC ";
}
if (dmodel.IsSelectVideo == 1)
{
where += $@" and g.{nameof(RB_Goods_Extend.VideoAddress)} !=''";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment