浏览代码

feature(应用修改bug解决): 应用修改bug解决

应用修改bug解决
mazq 2 年之前
父节点
当前提交
61f60aba93

+ 1 - 1
dcuc-app-service/src/main/java/com/dragoninfo/dcuc/app/service/impl/ApplyOauthServiceImpl.java

@@ -54,7 +54,7 @@ public class ApplyOauthServiceImpl extends BaseMybatisService<ApplyOauth, String
         ApplyOauth applyOauth = applyOauthMapper.selectOne(queryWrapper);
         ApplyOauth applyOauth = applyOauthMapper.selectOne(queryWrapper);
 
 
         if (applyOauth == null) {
         if (applyOauth == null) {
-            throw new IllegalArgumentException("ApplyOauth is does not exist.");
+            return null;
         }
         }
 
 
         applyOauth.setApplyId(id);
         applyOauth.setApplyId(id);