From 418e2239f6674adffb145f49727d30070666f308 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Tue, 20 Aug 2019 10:10:31 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8E=88=E6=9D=83][=E4=BF=AE=E6=94=B9]:?= =?UTF-8?q?=E7=A9=BA=E6=8C=87=E9=92=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java index f7977c9..2273ec1 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxAuthorizerInfoServiceImpl.java @@ -99,7 +99,7 @@ public class WxAuthorizerInfoServiceImpl implements WxAuthorizerInfoService { record.setUpdateTime(curDate); // 授权表 添加 authorizerInfoMapper.insertSelective(record); - if(appinfo.getType() != null) { + if(appinfo != null && appinfo.getType() != null) { if (appinfo.getType().equals(EnumAppType.C.getCode()) || appinfo.getType().equals(EnumAppType.B.getCode())) { // C/B 扩展配置表添加