zoujiajian 3 жил өмнө
parent
commit
e3588c1d1c

+ 2 - 0
netflix-service/src/main/java/com/cyksj/service/corp/impl/CorpEventActionServiceImpl.java

@@ -310,6 +310,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
 				.eq(WxCorpApp::getCorpId, corpId).last("limit 1"));
 		if (wxCorpApp == null) {
 			log.error("企业微信:{}配置不存在", corpId);
+			return null;
 		}
 		if (initCorpGroupsChat(wxCorpApp)) {
 			return null;
@@ -392,6 +393,7 @@ public class CorpEventActionServiceImpl implements CorpEventActionService {
 				.eq(WxCorpApp::getCorpId, corpId).last("limit 1"));
 		if (wxCorpApp == null) {
 			log.error("企业微信:{}配置不存在", corpId);
+			return null;
 		}
 		if (initCorpGroupsChat(wxCorpApp)) {
 			return null;