1抖音上传服务端模板 2拼多多活动调整80% 3拼多多机会商品抓取 20%
This commit is contained in:
1 parent
9e5fed3989
commit
96ca090fc4
25 files changed
+1512
-586
No files matched your search
@@ -95,7 +95,9 @@ namespace KJD_Web.BLL
|
||||
}
|
||||
else
|
||||
{
|
||||
sql = "SELECT s.*,c.add_product_remaining add_remaining,c.add_product_month add_month,cc.jit_expire_time FROM kjd.shop s" +
|
||||
sql = "SELECT s.*, c.add_product_remaining add_remaining, c.add_product_month add_month, cc.jit_expire_time FROM kjd.shop s" +
|
||||
/*, u.sub_nick_name*/
|
||||
//" LEFT JOIN (SELECT parent_user_name, GROUP_CONCAT(nick_name) as sub_nick_name FROM kjd.user WHERE user_name in(s.sub_user_name) GROUP BY parent_user_name) u ON s.shop_id=u.parent_user_name" +
|
||||
" LEFT JOIN kjd.shop_add_prod_count c ON s.shop_id=c.shop_id" +
|
||||
" LEFT JOIN (SELECT shop_id, MAX(expire_time) as jit_expire_time FROM kjd.jit_card_code GROUP BY shop_id) cc ON s.shop_id=cc.shop_id" +
|
||||
" WHERE 1=1";
|
||||
@@ -123,6 +125,7 @@ namespace KJD_Web.BLL
|
||||
shop_id = row["shop_id"].ToString(),
|
||||
shop_account = row["shop_account"].ToString(),
|
||||
sub_user_name = row["sub_user_name"].ToString(),
|
||||
//sub_nick_name = row["sub_nick_name"].ToString(),
|
||||
user_name = row["user_name"].ToString(),
|
||||
company_name = row["company_name"].ToString(),
|
||||
notes = row["notes"].ToString(),
|
||||
|
||||
@@ -238,6 +238,7 @@ namespace KJD_Web.BLL
|
||||
var group_id = RegexUtils.GetStringQuery(ref inputData, "group_id")?.Replace("'", "\\'");
|
||||
var search = RegexUtils.GetStringQuery(ref inputData, "search")?.Replace("'", "\\'");
|
||||
var sa_level = RegexUtils.GetStringQuery(ref inputData, "sa_level")?.Replace("'", "\\'");
|
||||
var user_name_in = RegexUtils.GetStringQuery(ref inputData, "user_name_in")?.Replace("'", "\\'");
|
||||
int r2 = 0;
|
||||
int.TryParse(RegexUtils.GetStringQuery(ref inputData, "r2"), out r2);
|
||||
|
||||
@@ -249,6 +250,8 @@ namespace KJD_Web.BLL
|
||||
sql += " and group_id=" + group_id;
|
||||
if (!string.IsNullOrEmpty(sa_level))
|
||||
sql += " and sa_level=" + sa_level;
|
||||
if (!string.IsNullOrEmpty(user_name_in))
|
||||
sql += " AND user_name IN(" + user_name_in + ")";
|
||||
if (!string.IsNullOrEmpty(search))
|
||||
sql += " and (user_name like '%" + search +
|
||||
"%' or nick_name like '%" + search +
|
||||
|
||||
Reference in new issue
Block a user