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 063756b7f fix Application entity not set setModifyTime on create on 
update (#3455)
063756b7f is described below

commit 063756b7f7508a95aa3ab89f5ac6a900a3e2f4ab
Author: Bibo <[email protected]>
AuthorDate: Wed Jan 3 15:18:04 2024 +0800

    fix Application entity not set setModifyTime on create on update (#3455)
    
    Co-authored-by: 毕博 <[email protected]>
---
 .../core/service/application/impl/ApplicationManageServiceImpl.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/application/impl/ApplicationManageServiceImpl.java
 
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/application/impl/ApplicationManageServiceImpl.java
index 61807c930..681d6f7d7 100644
--- 
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/application/impl/ApplicationManageServiceImpl.java
+++ 
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/service/application/impl/ApplicationManageServiceImpl.java
@@ -324,6 +324,7 @@ public class ApplicationManageServiceImpl extends 
ServiceImpl<ApplicationMapper,
     appParam.setRelease(ReleaseStateEnum.NEED_RELEASE.get());
     appParam.setOptionState(OptionStateEnum.NONE.getValue());
     appParam.setCreateTime(new Date());
+    appParam.setModifyTime(new Date());
     appParam.setDefaultModeIngress(settingService.getIngressModeDefault());
 
     boolean success = validateQueueIfNeeded(appParam);
@@ -432,6 +433,7 @@ public class ApplicationManageServiceImpl extends 
ServiceImpl<ApplicationMapper,
     newApp.setRelease(ReleaseStateEnum.NEED_RELEASE.get());
     newApp.setOptionState(OptionStateEnum.NONE.getValue());
     newApp.setCreateTime(new Date());
+    newApp.setModifyTime(new Date());
     newApp.setHotParams(oldApp.getHotParams());
 
     newApp.setJar(oldApp.getJar());

Reply via email to