Commit 4698553a authored by 黄奎's avatar 黄奎

Merge branch 'sdzq' of http://gitlab.oytour.com/Kui2/mall.oytour.com into HK

parents 6720f27c f098eb63
...@@ -194,5 +194,11 @@ namespace Mall.Model.Entity.Product ...@@ -194,5 +194,11 @@ namespace Mall.Model.Entity.Product
/// 服务人员id /// 服务人员id
/// </summary> /// </summary>
public int ServicePersonalId { get; set; } public int ServicePersonalId { get; set; }
/// <summary>
/// 门店id
/// </summary>
public int StoreId { get; set; }
} }
} }
...@@ -426,6 +426,11 @@ where {where} "; ...@@ -426,6 +426,11 @@ where {where} ";
{ {
where += $@" and c.{nameof(RB_Goods_Comment.ServicePersonalId)}={dmodel.ServicePersonalId}"; where += $@" and c.{nameof(RB_Goods_Comment.ServicePersonalId)}={dmodel.ServicePersonalId}";
} }
if (dmodel.StoreId > 0)
{
where += $@" and c.{nameof(RB_Goods_Comment.StoreId)}={dmodel.StoreId}";
}
if (dmodel.UserId > 0) if (dmodel.UserId > 0)
{ {
where += $@" and c.{nameof(RB_Goods_Comment.UserId)}={dmodel.UserId}"; where += $@" and c.{nameof(RB_Goods_Comment.UserId)}={dmodel.UserId}";
......
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