wolfboys commented on code in PR #1792:
URL: 
https://github.com/apache/incubator-streampark/pull/1792#discussion_r991824664


##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/service/TeamService.java:
##########
@@ -39,4 +39,5 @@ public interface TeamService extends IService<Team> {
 
     List<Team> findUserTeams(Long userId);
 
+    Team getDefaultTeam();

Review Comment:
   > The code can be removed as well.
   
   done.



##########
streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/system/service/impl/TeamServiceImpl.java:
##########
@@ -99,4 +100,9 @@ public List<Team> findUserTeams(Long userId) {
         }
         return baseMapper.findUserTeams(userId);
     }
+
+    @Override
+    public Team getDefaultTeam() {
+        return getById(Constant.DEFAULT_TEAM_ID);
+    }

Review Comment:
   > This file too.
   
   done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to