产品库搜索无分组商品 页面模拟上传优化

This commit is contained in:
wule committed 2026-04-22 21:39:36 +08:00
1 parent ec559bd6cc
commit 2cc12d96c9
20 files changed
+1160 -878

No files matched your search

@@ -552,7 +552,12 @@ namespace KJD_Web.BLL.BXX
where += " and (" + multi_search_prod_name.Substring(4) + ")";
}
if (!string.IsNullOrWhiteSpace(search_group))
where += " and p.group like '%" + search_group + "%'";
{
if (search_group == "无分组")
where += " and (p.group is null or p.group = '')";
else
where += " and p.group like '%" + search_group + "%'";
}
if (!string.IsNullOrWhiteSpace(search_notes))
where += " and p.notes like '%" + search_notes + "%'";