补充产品详情字段

This commit is contained in:
Yimi 2025-03-04 14:39:41 +08:00
parent af5d32dfba
commit adb1b850dd

View File

@ -295,8 +295,8 @@ public class SyncThirdDataServiceImpl implements SyncThirdDataService {
ShopProductBase shopProductBase = new ShopProductBase(); ShopProductBase shopProductBase = new ShopProductBase();
shopProductBase.setProduct_sale_time(Convert.toDate(DateUtil.current() + 600)); //10分钟 shopProductBase.setProduct_sale_time(Convert.toDate(DateUtil.current() + 600)); //10分钟
shopProductBase.setStore_id(storeIdInt); shopProductBase.setStore_id(storeIdInt);
shopProductBase.setProduct_number((String) jsonObj.get("first_category_name")); shopProductBase.setProduct_number((String) jsonObj.get("product_number"));
shopProductBase.setProduct_name((String) jsonObj.get("first_category_name")); shopProductBase.setProduct_name((String) jsonObj.get("product_name"));
shopProductBase.setStore_name(store_row.getStore_name()); shopProductBase.setStore_name(store_row.getStore_name());
shopProductBase.setProduct_tips(""); shopProductBase.setProduct_tips("");
shopProductBase.setProduct_video(""); shopProductBase.setProduct_video("");
@ -353,7 +353,7 @@ public class SyncThirdDataServiceImpl implements SyncThirdDataService {
// shop_product_info // shop_product_info
ShopProductInfo shopProductInfo = new ShopProductInfo(); ShopProductInfo shopProductInfo = new ShopProductInfo();
shopProductInfo.setProduct_number((String) jsonObj.get("first_category_name"));// SPU商家编码:货号 shopProductInfo.setProduct_number((String) jsonObj.get("product_number"));// SPU商家编码:货号
shopProductInfo.setProduct_assist(""); shopProductInfo.setProduct_assist("");
shopProductInfo.setProduct_spec(""); shopProductInfo.setProduct_spec("");
shopProductInfo.setProduct_buy_limit(0); // 不限购 shopProductInfo.setProduct_buy_limit(0); // 不限购