...
|
...
|
@@ -557,6 +557,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
SellerOrderGoods goodsInfo = sellerOrderGoodsMapper.selectByPrimaryKey(skup);
|
|
|
//去product表获取商品货号
|
|
|
Product productInfo = productMapper.selectByPrimaryKey(goodsInfo.getProductId());
|
|
|
|
|
|
logger.info("syncBlockChain begining.......");
|
|
|
|
|
|
if(productInfo == null){
|
|
|
logger.info("syncBlockChain get sellerGoods from sellerOrderGoodsMapper is null, productId is {}",goodsInfo.getProductId() );
|
|
|
return;
|
...
|
...
|
@@ -571,6 +574,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
String ownerName = "";
|
|
|
|
|
|
//根据uid去uic获取用户手机号,并进行模糊处理。吃掉异常,防止超时影响正常逻辑
|
|
|
logger.info("getProfileAction begining.......");
|
|
|
|
|
|
|
|
|
try{
|
|
|
Map<String,Integer> request = Collections.singletonMap("uid", toUid);
|
|
|
JSONObject jsonObject = serviceCaller.get("uic.getProfileAction", uicServerIpAndPort + UIC_PROFILE_URL, request, JSONObject.class, null).get(1);
|
...
|
...
|
@@ -587,6 +593,8 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ |
|
|
ownerName = blurUid(toUid);
|
|
|
}
|
|
|
|
|
|
logger.info("syncBlockChain_url begining.......");
|
|
|
|
|
|
//组装信息 同步至区块链写代理
|
|
|
Map<String, Object> infoMap = new HashMap<>();
|
|
|
infoMap.put("tagid", tagId);
|
...
|
...
|
|