Loading dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/ProcessDao.java +5 −2 Original line number Diff line number Diff line Loading @@ -457,10 +457,13 @@ public class ProcessDao { if(tenantId >= 0){ tenant = tenantMapper.queryById(tenantId); } if(tenant == null){ if(null == tenant){ User user = userMapper.selectById(userId); if (null != user) { tenant = tenantMapper.queryById(user.getTenantId()); } } return tenant; } Loading Loading
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/ProcessDao.java +5 −2 Original line number Diff line number Diff line Loading @@ -457,10 +457,13 @@ public class ProcessDao { if(tenantId >= 0){ tenant = tenantMapper.queryById(tenantId); } if(tenant == null){ if(null == tenant){ User user = userMapper.selectById(userId); if (null != user) { tenant = tenantMapper.queryById(user.getTenantId()); } } return tenant; } Loading