思迅同步库存问题修改,类型问题扣减货架号取值从product_number
This commit is contained in:
parent
e5c22d51f4
commit
951050da3d
@ -957,7 +957,14 @@ public class SyncThirdDataServiceImpl extends SyncBaseThirdSxAbstract implements
|
||||
String itemId=productBase.getProduct_number();
|
||||
logger.info("Product_number:{}",itemId);
|
||||
if(itemId.isEmpty()){
|
||||
continue;
|
||||
ShopProductIndex shopProductIndex=shopProductIndexService.get(productId);
|
||||
if(shopProductIndex==null){
|
||||
continue;
|
||||
}
|
||||
itemId=shopProductIndex.getProduct_number();
|
||||
if(itemId.isEmpty()){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
cn.hutool.json.JSONArray array_item_spec= JSONUtil.parseArray(spuItem.getItem_spec());
|
||||
logger.info("array_item_spec:{}",array_item_spec);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user