zhangxin 2 天之前
父节点
当前提交
98b6adaf75

+ 2 - 1
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/app/service/impl/UserServiceImpl.java

@@ -108,7 +108,8 @@ public class UserServiceImpl implements IUserService {
                         StatisticsInfo statisticsInfo = statisticsInfoMapper.findByOrgCode("A01", dateAsInt);
                         SysDepart byOrgCode = sysDepartMapper.findByOrgCode("A01");
                         if (byOrgCode == null) {
-                            throw new JeecgBootException("登录失败,平台部门不存在", SC_INTERNAL_SERVER_ERROR_500);
+                            log.error("登录失败,平台部门不存在");
+                            return;
                         }
                         if (statisticsInfo == null) {
                             statisticsInfo = new StatisticsInfo();