You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2022/10/08 09:43:29 UTC

[incubator-streampark] branch dev updated: [Bug] Fixe team_id was not copied when copying jobs bug (#1768)

This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 302dabad0 [Bug] Fixe team_id was not copied when copying jobs bug (#1768)
302dabad0 is described below

commit 302dabad000ea77c73a3846b5454a959bb0c6f8c
Author: Gerry <33...@users.noreply.github.com>
AuthorDate: Sat Oct 8 17:43:23 2022 +0800

    [Bug] Fixe team_id was not copied when copying jobs bug (#1768)
    
    Fixed the bug that the team_id was not copied when copying jobs
---
 .../streampark/console/core/service/impl/ApplicationServiceImpl.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
index ed94fedbe..fa2e4276e 100644
--- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
+++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/impl/ApplicationServiceImpl.java
@@ -656,6 +656,7 @@ public class ApplicationServiceImpl extends ServiceImpl<ApplicationMapper, Appli
         newApp.setJar(oldApp.getJar());
         newApp.setJarCheckSum(oldApp.getJarCheckSum());
         newApp.setTags(oldApp.getTags());
+        newApp.setTeamId(oldApp.getTeamId());
 
         boolean saved = save(newApp);
         if (saved) {