Showing
1 changed file
with
2 additions
and
2 deletions
@@ -83,7 +83,7 @@ public class NFCServiceImpl implements INFCService { | @@ -83,7 +83,7 @@ public class NFCServiceImpl implements INFCService { | ||
83 | BuyerOrder buyerOrder = buyerOrderMapper.selectByOrderCode(orderCode); | 83 | BuyerOrder buyerOrder = buyerOrderMapper.selectByOrderCode(orderCode); |
84 | if(buyerOrder == null){ | 84 | if(buyerOrder == null){ |
85 | logger.info("writeIdentify get order is null"); | 85 | logger.info("writeIdentify get order is null"); |
86 | - return; | 86 | + throw new PlatformException("订单信息不存在!", 403); |
87 | } | 87 | } |
88 | logger.info("writeIdentify get order success , order is {}", buyerOrder); | 88 | logger.info("writeIdentify get order success , order is {}", buyerOrder); |
89 | try{ | 89 | try{ |
@@ -97,7 +97,7 @@ public class NFCServiceImpl implements INFCService { | @@ -97,7 +97,7 @@ public class NFCServiceImpl implements INFCService { | ||
97 | syncBlockChain(tagId, buyerOrder); | 97 | syncBlockChain(tagId, buyerOrder); |
98 | }catch (Exception e){ | 98 | }catch (Exception e){ |
99 | logger.warn("writeIdentify syncBlockChain error , e is {}", e); | 99 | logger.warn("writeIdentify syncBlockChain error , e is {}", e); |
100 | - throw new PlatformException("同步数据到区块链写代理失败", 403); | 100 | +// throw new PlatformException("同步数据到区块链写代理失败", 403); |
101 | } | 101 | } |
102 | 102 | ||
103 | } | 103 | } |
-
Please register or login to post a comment