Commit 64e492b6 authored by 吴春's avatar 吴春

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

parents 85c73fda b3fdd3b8
...@@ -573,7 +573,7 @@ where {where} group by g.Id order by {orderBy}"; ...@@ -573,7 +573,7 @@ where {where} group by g.Id order by {orderBy}";
} }
if (!string.IsNullOrEmpty(dmodel.StoresIds)) if (!string.IsNullOrEmpty(dmodel.StoresIds))
{ {
where += $@" and FIND_IN_SET(',{dmodel.StoresIds},', CONCAT(',',g.{nameof(RB_Goods_Extend.StoresIds)},',') )"; where += $@" and locate(',{dmodel.StoresIds},', CONCAT(',',g.{nameof(RB_Goods_Extend.StoresIds)},',') )";
} }
if (!string.IsNullOrEmpty(dmodel.Name)) if (!string.IsNullOrEmpty(dmodel.Name))
{ {
......
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