店铺活动报名--店铺活动列表查询初步

This commit is contained in:
wule committed 2025-08-04 18:53:24 +08:00
1 parent 7ea35b6866
commit cc1bc3123f
69 files changed
+1729 -134

No files matched your search

+3 -3
View File
@@ -50,7 +50,7 @@ namespace KJD_Web.BLL
if (isAdmin)
where += " and (cookie='' or shop_id!='')";
if (!isAdmin)
where += " and (user_name='" + user_name + "' or sub_user_name='" + user_name + "')";
where += " and (user_name='" + user_name + "' or sub_user_name like '%" + user_name + "%')";
if (!string.IsNullOrWhiteSpace(operate_sub_sa_name))
where += " and operate_sub_sa_name='" + operate_sub_sa_name + "'";
if (!string.IsNullOrWhiteSpace(search_user_name))
@@ -309,7 +309,7 @@ namespace KJD_Web.BLL
user_name = RegexUtils.GetStringQuery(ref inputData, "shop_user_name");
string login_name = RegexUtils.GetStringQuery(ref inputData, "login_name");
string login_pass = RegexUtils.GetStringQuery(ref inputData, "login_pass");
string sub_user_name = RegexUtils.GetStringQuery(ref inputData, "sub_user_name");
string sub_user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "sub_user_name"));
string cookie = RegexUtils.GetStringQuery(ref inputData, "cookie");
string cookie2 = RegexUtils.GetStringQuery(ref inputData, "cookie2");
string new_shop_id = RegexUtils.GetStringQuery(ref inputData, "new_shop_id");
@@ -353,7 +353,7 @@ namespace KJD_Web.BLL
if (login_status != null)
sql += " login_status='" + login_status + "',";
sql = sql.TrimEnd(',');
sql += " where login_name='" + login_name + "' and (user_name='" + user_name + "' or sub_user_name='" + user_name + "')";
sql += " where login_name='" + login_name + "' and (user_name='" + user_name + "' or sub_user_name like '%" + user_name + "%')";
if (!string.IsNullOrEmpty(old_shop_id))
sql += " and shop_id='" + old_shop_id + "'";