1商品json中有特殊字符情况处理 2商品类目导致不能上传问题处理(完成30%)
This commit is contained in:
1 parent
8445ec1828
commit
e73359e283
13 files changed
+618
-56
No files matched your search
@@ -150,7 +150,8 @@ namespace KJD_Web.BLL
|
||||
if (isDetail)
|
||||
sql = "select * from kjd.third_product where 1=1";
|
||||
else
|
||||
sql = "select id,spu_id,skc_id,cat_id,cat_name,ext_code,product_name,main_img,notes,add_time,mdy_time from kjd.third_product where 1=1";
|
||||
sql = "select id,spu_id,skc_id,cat_id,cat_name,change_cat_id,change_cat_name,ext_code,product_name,main_img,notes," +
|
||||
"add_time,mdy_time from kjd.third_product where 1=1";
|
||||
|
||||
sql += where;
|
||||
|
||||
@@ -174,6 +175,8 @@ namespace KJD_Web.BLL
|
||||
spu_id = row["spu_id"].ToString(),
|
||||
cat_id = row["cat_id"].ToString(),
|
||||
cat_name = row["cat_name"].ToString(),
|
||||
change_cat_id = row["change_cat_id"].ToString(),
|
||||
change_cat_name = row["change_cat_name"].ToString(),
|
||||
product_name = row["product_name"].ToString(),
|
||||
main_img = row["main_img"].ToString(),
|
||||
ext_code = row["ext_code"].ToString(),
|
||||
@@ -512,7 +515,7 @@ namespace KJD_Web.BLL
|
||||
sql = "select s.id,s.out_product_id,s.shop_id,s.shop_account,s.user_name," +
|
||||
"s.sub_user_name,s.notes,s.user_notes,s.status,s.draft_id,s.add_times,s.add_time,s.mdy_time," +
|
||||
"s.fission_product_name,s.operate_sub_sa_name,s.add_sub_sa_time," +
|
||||
"p.spu_id,p.skc_id,p.cat_id,p.cat_name,p.ext_code,p.product_name,p.main_img," +
|
||||
"p.spu_id,p.skc_id,p.cat_id,p.cat_name,p.change_cat_id,p.change_cat_name,p.ext_code,p.product_name,p.main_img," +
|
||||
"u.nick_name as operate_sub_sa_nick " +
|
||||
"from kjd.third_product_select s left join kjd.third_product p on s.out_product_id=p.id " +
|
||||
"left join kjd.user u on u.user_name=s.operate_sub_sa_name " +
|
||||
@@ -544,6 +547,8 @@ namespace KJD_Web.BLL
|
||||
user_name = row["user_name"].ParseToString(),
|
||||
cat_id = row["cat_id"].ParseToString(),
|
||||
cat_name = row["cat_name"].ParseToString(),
|
||||
change_cat_id = row["change_cat_id"].ParseToString(),
|
||||
change_cat_name = row["change_cat_name"].ParseToString(),
|
||||
product_name = row["product_name"].ParseToString(),
|
||||
main_img = row["main_img"].ParseToString(),
|
||||
ext_code = row["ext_code"].ParseToString(),
|
||||
|
||||
@@ -15,6 +15,8 @@ namespace KJD_Web.Model
|
||||
public string skc_id { get; set; }
|
||||
public string cat_id { get; set; }
|
||||
public string cat_name { get; set; }
|
||||
public string change_cat_id { get; set; }
|
||||
public string change_cat_name { get; set; }
|
||||
public string ext_code { get; set; }
|
||||
public string product_name { get; set; }
|
||||
public string product_json { get; set; }
|
||||
|
||||
@@ -33,6 +33,8 @@ namespace KJD_Web.Model
|
||||
|
||||
public string cat_id { get; set; }
|
||||
public string cat_name { get; set; }
|
||||
public string change_cat_id { get; set; }
|
||||
public string change_cat_name { get; set; }
|
||||
public string ext_code { get; set; }
|
||||
public string product_name { get; set; }
|
||||
public string main_img { get; set; }
|
||||
|
||||
Reference in new issue
Block a user