商品价格分类同步改为更新不修改发版状态
This commit is contained in:
parent
311a82a32f
commit
76e4b86357
@ -218,6 +218,7 @@ public abstract class SyncBaseThirdSxAbstract{
|
||||
} else{
|
||||
// 新增一个(第一级)父类
|
||||
ShopBaseProductCategory firstCate = new ShopBaseProductCategory();
|
||||
firstCate.setCategory_is_enable(1);
|
||||
firstCate.setCategory_name(firstCategoryName);
|
||||
firstCate.setParent_id(0);
|
||||
firstCate.setStore_id(storeId);
|
||||
@ -274,6 +275,7 @@ public abstract class SyncBaseThirdSxAbstract{
|
||||
} else {
|
||||
// 新增一个(第二级)父类
|
||||
ShopBaseProductCategory secondCate = new ShopBaseProductCategory();
|
||||
secondCate.setCategory_is_enable(1);
|
||||
secondCate.setCategory_name(secondCategoryName);
|
||||
secondCate.setCategory_parent_id(firstParentId);
|
||||
secondCate.setStore_id(storeId);
|
||||
@ -310,6 +312,7 @@ public abstract class SyncBaseThirdSxAbstract{
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
list.get(i).setCategory_is_enable(productCategoryTemp.getCategory_is_enable());
|
||||
}
|
||||
List<LibraryProductDTO> libraryProductDTOS=libraryProductService.matchLibraryProducts(null,list.get(i).getCategory_name(),new ArrayList<>());
|
||||
if(CollectionUtil.isNotEmpty(libraryProductDTOS)){
|
||||
|
||||
@ -1 +1 @@
|
||||
ALTER table product_mapping add column premium_rate decimal(18,4) NOT NULL default '100' COMMENT '线上溢价率';
|
||||
ALTER table product_mapping add column premium_rate decimal(18,4) NOT NULL default '0' COMMENT '线上溢价率';
|
||||
Loading…
Reference in New Issue
Block a user