Commit 4e9a5c82 authored by 黄奎's avatar 黄奎

页面修改

parent 80ae4327
...@@ -201,5 +201,10 @@ namespace Mall.Model.Extend.Product ...@@ -201,5 +201,10 @@ namespace Mall.Model.Extend.Product
/// </summary> /// </summary>
public List<object> SupplierSpecificationList { get; set; } public List<object> SupplierSpecificationList { get; set; }
/// <summary>
/// 是否直查询有视频商品(1-是)HK0902新增
/// </summary>
public int IsVideo { get; set; }
} }
} }
...@@ -24,5 +24,10 @@ namespace Mall.Model.Extend.Product ...@@ -24,5 +24,10 @@ namespace Mall.Model.Extend.Product
/// 路径 /// 路径
/// </summary> /// </summary>
public string Path { get; set; } public string Path { get; set; }
/// <summary>
/// 1-视频
/// </summary>
public int Type { get; set; }
} }
} }
This diff is collapsed.
...@@ -411,6 +411,11 @@ WHERE {where} group by g.Id order by g.CreateDate desc"; ...@@ -411,6 +411,11 @@ WHERE {where} group by g.Id order by g.CreateDate desc";
{ {
where += $@" and g.{nameof(RB_Goods_Extend.CreateDate)} <='{dmodel.EndTime + " 23:59:59"}'"; where += $@" and g.{nameof(RB_Goods_Extend.CreateDate)} <='{dmodel.EndTime + " 23:59:59"}'";
} }
if (dmodel.IsVideo > 0)
{
where += $@" and IFNULL(g.{nameof(RB_Goods_Extend.VideoAddress)} <>'' ";
}
//默认综合【升序】 //默认综合【升序】
string orderBy = $" order by g.{nameof(RB_Goods_Extend.Sort)} asc"; string orderBy = $" order by g.{nameof(RB_Goods_Extend.Sort)} asc";
//上架时间【降序】 //上架时间【降序】
......
This diff is collapsed.
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