|
@@ -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();
|