【修复】修复小程序端商品列表页检索【标签】问题。

This commit is contained in:
JianWeie
2021-10-08 12:04:12 +08:00
parent d12168814f
commit 5f1a06086b
@@ -218,7 +218,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
}
if (!string.IsNullOrWhiteSpace(obj.labelId))
{
where = where.And(p => p.labelIds.Contains(obj.labelId));
where = where.And(p => (',' + p.labelIds.Trim(',') + ',').Contains(',' + obj.labelId.Trim(',') + ','));
}
if (!string.IsNullOrWhiteSpace(obj.searchName))
{