Authored by mali

上链迁移

@@ -557,6 +557,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ @@ -557,6 +557,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
557 SellerOrderGoods goodsInfo = sellerOrderGoodsMapper.selectByPrimaryKey(skup); 557 SellerOrderGoods goodsInfo = sellerOrderGoodsMapper.selectByPrimaryKey(skup);
558 //去product表获取商品货号 558 //去product表获取商品货号
559 Product productInfo = productMapper.selectByPrimaryKey(goodsInfo.getProductId()); 559 Product productInfo = productMapper.selectByPrimaryKey(goodsInfo.getProductId());
  560 +
  561 + logger.info("syncBlockChain begining.......");
  562 +
560 if(productInfo == null){ 563 if(productInfo == null){
561 logger.info("syncBlockChain get sellerGoods from sellerOrderGoodsMapper is null, productId is {}",goodsInfo.getProductId() ); 564 logger.info("syncBlockChain get sellerGoods from sellerOrderGoodsMapper is null, productId is {}",goodsInfo.getProductId() );
562 return; 565 return;
@@ -571,6 +574,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ @@ -571,6 +574,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
571 String ownerName = ""; 574 String ownerName = "";
572 575
573 //根据uid去uic获取用户手机号,并进行模糊处理。吃掉异常,防止超时影响正常逻辑 576 //根据uid去uic获取用户手机号,并进行模糊处理。吃掉异常,防止超时影响正常逻辑
  577 + logger.info("getProfileAction begining.......");
  578 +
  579 +
574 try{ 580 try{
575 Map<String,Integer> request = Collections.singletonMap("uid", toUid); 581 Map<String,Integer> request = Collections.singletonMap("uid", toUid);
576 JSONObject jsonObject = serviceCaller.get("uic.getProfileAction", uicServerIpAndPort + UIC_PROFILE_URL, request, JSONObject.class, null).get(1); 582 JSONObject jsonObject = serviceCaller.get("uic.getProfileAction", uicServerIpAndPort + UIC_PROFILE_URL, request, JSONObject.class, null).get(1);
@@ -586,7 +592,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ @@ -586,7 +592,9 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
586 if(StringUtils.isBlank(ownerName)){ 592 if(StringUtils.isBlank(ownerName)){
587 ownerName = blurUid(toUid); 593 ownerName = blurUid(toUid);
588 } 594 }
589 - 595 +
  596 + logger.info("syncBlockChain_url begining.......");
  597 +
590 //组装信息 同步至区块链写代理 598 //组装信息 同步至区块链写代理
591 Map<String, Object> infoMap = new HashMap<>(); 599 Map<String, Object> infoMap = new HashMap<>();
592 infoMap.put("tagid", tagId); 600 infoMap.put("tagid", tagId);