From 7db83ee738a0c38c16d01a39441c157c43bb74e7 Mon Sep 17 00:00:00 2001 From: Guoqs Date: Tue, 26 Mar 2024 15:33:55 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=AF=B9=E6=8E=A5=E6=B5=B7=E5=8D=97?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hainan/service/HaiNanPlatformLogic.java | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java index e411846f2..6dc5f68f4 100644 --- a/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java +++ b/jsowell-thirdparty/src/main/java/com/jsowell/thirdparty/platform/hainan/service/HaiNanPlatformLogic.java @@ -80,7 +80,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public Map queryOperatorInfo(QueryOperatorInfoDTO dto) { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /** @@ -285,7 +286,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public String notificationConnectorChargeStatus(String orderCode) { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /** @@ -295,7 +297,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public String notificationOrderInfo(String orderCode) { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /** @@ -305,7 +308,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public String notificationStationFee(String stationId) { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /** @@ -361,7 +365,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public String notificationAlarmInfo() { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /** @@ -561,7 +566,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public Map queryOrderInfo(String orderCode) { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /** @@ -572,7 +578,8 @@ public class HaiNanPlatformLogic extends AbsInterfaceWithPlatformLogic { */ @Override public String notificationStationInfo(String stationId) { - return null; + //方法未实现,抛出异常 + throw new UnsupportedOperationException("This method is not yet implemented"); } /**