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