微信筛选店铺 店铺分组 运费加价

This commit is contained in:
wule committed 2026-01-30 20:02:32 +08:00
1 parent b4fa5cacb1
commit afaabea1fa
33 files changed
+1338 -536

No files matched your search

@@ -284,7 +284,7 @@ namespace KJD_Web.BLL.BXX
if (!string.IsNullOrEmpty(product_get_type))
where += " and p.product_get_type ='" + product_get_type + "'";
if (!string.IsNullOrEmpty(wx_safe_status))
where += " and p.wx_safe_status ='" + wx_safe_status + "'";
where += " and p.wx_safe_status in ('" + wx_safe_status.Replace(",", "','") + "')";
if (!string.IsNullOrEmpty(special_prod_type))
where += " and p.special_prod_type ='" + special_prod_type + "'";
@@ -684,6 +684,9 @@ namespace KJD_Web.BLL.BXX
var in_skc_ids = RegexUtils.GetStringQuery(ref inputData, "in_skc_ids")?.Replace("'", "\\'");
var in_groups = RegexUtils.GetStringQuery(ref inputData, "in_groups")?.Replace("'", "\\'");
var in_cates = RegexUtils.GetStringQuery(ref inputData, "in_cates")?.Replace("'", "\\'");
var wx_cat_1 = RegexUtils.GetStringQuery(ref inputData, "wx_cat_1")?.Replace("'", "\\'");
var wx_cat_2 = RegexUtils.GetStringQuery(ref inputData, "wx_cat_2")?.Replace("'", "\\'");
var wx_cat_3 = RegexUtils.GetStringQuery(ref inputData, "wx_cat_3")?.Replace("'", "\\'");
var product_get_type = RegexUtils.GetStringQuery(ref inputData, "product_get_type")?.Replace("'", "\\'");
var wx_safe_status = RegexUtils.GetStringQuery(ref inputData, "wx_safe_status")?.Replace("'", "\\'");
var special_prod_type = RegexUtils.GetStringQuery(ref inputData, "special_prod_type")?.Replace("'", "\\'");
@@ -723,11 +726,23 @@ namespace KJD_Web.BLL.BXX
in_cates = "'" + string.Join("','", in_cates.Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries)) + "'";
where += " and (p.cat_name in (" + in_cates + ") or p.main_cat_name in (" + in_cates + "))";
}
if (!string.IsNullOrEmpty(wx_cat_1))
{
where += " and p.wx_cat_1=" + wx_cat_1 + "";
}
if (!string.IsNullOrEmpty(wx_cat_2))
{
where += " and p.wx_cat_2=" + wx_cat_2 + "";
}
if (!string.IsNullOrEmpty(wx_cat_3))
{
where += " and p.wx_cat_3=" + wx_cat_3 + "";
}
if (!string.IsNullOrEmpty(product_get_type))
where += " and p.product_get_type ='" + product_get_type + "'";
if (!string.IsNullOrEmpty(wx_safe_status))
where += " and p.wx_safe_status ='" + wx_safe_status + "'";
if (!string.IsNullOrEmpty(special_prod_type))
where += " and p.wx_safe_status in ('" + wx_safe_status.Replace(",", "','") + "')";
if (!string.IsNullOrEmpty(special_prod_type)) // 图书,普通商品
where += " and p.special_prod_type ='" + special_prod_type + "'";
// 供应商货源是否已完成初始设置
if (!string.IsNullOrEmpty(is_supplier_prod_ok))