Commit a10f780a authored by 吴春's avatar 吴春

提交代码

parent 3800934c
...@@ -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