思迅同步库存问题修改,类型问题扣减问题
This commit is contained in:
parent
56a62f6673
commit
8abac2a5b3
@ -956,6 +956,9 @@ public class SyncThirdDataServiceImpl extends SyncBaseThirdSxAbstract implements
|
||||
continue;
|
||||
}
|
||||
String itemId=productBase.getProduct_number();
|
||||
if(itemId.isEmpty()){
|
||||
continue;
|
||||
}
|
||||
cn.hutool.json.JSONArray array_item_spec= JSONUtil.parseArray(spuItem.getItem_spec());
|
||||
if(array_item_spec.isEmpty()){
|
||||
redisTemplate.opsForHash().increment(key, itemId+"-"+orderId, delta.doubleValue());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user