From de9d2c14c2270c5e01d12088f2650a6a3bd2c644 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Sun, 24 Mar 2024 00:02:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A2=9E=E5=8A=A0=E7=AD=BE=E6=94=B6?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E5=93=81=E7=89=8C=E7=9A=84null=20=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/DistributionAsyncServiceImpl.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java index 1f67a8b19..f10c2859b 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java @@ -1516,6 +1516,13 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { try { + if(ObjectUtils.isNull(brand)){ + log.info( " 品牌 为null 不执行 后续的代码"); + return ; + } + + + log.info(">>>>>>>>>>>>>>> 文员复核推送 品牌 {} ", brand); assert brand != null; @@ -1557,6 +1564,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { //....工厂 } catch (Exception e) { + log.error("sendReviewFactory ",e); throw new RuntimeException(e); } }