diff --git a/backend/libs/sdk-bundle-2.0.jar b/backend/libs/sdk-bundle-2.0.jar
index 3384ade..9b67071 100644
Binary files a/backend/libs/sdk-bundle-2.0.jar and b/backend/libs/sdk-bundle-2.0.jar differ
diff --git a/backend/pom.xml b/backend/pom.xml
index db9dfa8..4e6a760 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -149,6 +149,12 @@
fastjson
1.2.83
+
+
+ com.h2database
+ h2
+ 2.1.214
+
diff --git a/backend/src/main/java/com/stdproject/controller/UserController.java b/backend/src/main/java/com/stdproject/controller/UserController.java
index 5d03a58..6ebc503 100644
--- a/backend/src/main/java/com/stdproject/controller/UserController.java
+++ b/backend/src/main/java/com/stdproject/controller/UserController.java
@@ -223,6 +223,7 @@ private Long jwtExpirationMs;
long expireTime = System.currentTimeMillis() + jwtExpirationMs;
Map map = new HashMap();
map.put("appid", loginUser.getUser().getAppId());
+ map.put("app_name", loginUser.getApp_name());
map.put("userid", userId);
map.put("username", loginUser.getUsername());
map.put("nickname", loginUser.getUser().getNickname());
diff --git a/backend/src/main/java/com/stdproject/entity/DeTemplateVersion.java b/backend/src/main/java/com/stdproject/entity/DeTemplateVersion.java
new file mode 100644
index 0000000..3610800
--- /dev/null
+++ b/backend/src/main/java/com/stdproject/entity/DeTemplateVersion.java
@@ -0,0 +1,138 @@
+package com.stdproject.entity;
+
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ *
+ *
+ *
+ *
+ * @Author bi-coder
+ * @since 2024-05-07
+ */
+@TableName("de_template_version")
+public class DeTemplateVersion implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ @TableId("installed_rank")
+ private Integer installedRank;
+
+ private String version;
+
+ private String description;
+
+ private String type;
+
+ private String script;
+
+ private Integer checksum;
+
+ private String installedBy;
+
+ private LocalDateTime installedOn;
+
+ private Integer executionTime;
+
+ private Boolean success;
+
+ public Integer getInstalledRank() {
+ return installedRank;
+ }
+
+ public void setInstalledRank(Integer installedRank) {
+ this.installedRank = installedRank;
+ }
+
+ public String getVersion() {
+ return version;
+ }
+
+ public void setVersion(String version) {
+ this.version = version;
+ }
+
+ public String getDescription() {
+ return description;
+ }
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ public String getType() {
+ return type;
+ }
+
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ public String getScript() {
+ return script;
+ }
+
+ public void setScript(String script) {
+ this.script = script;
+ }
+
+ public Integer getChecksum() {
+ return checksum;
+ }
+
+ public void setChecksum(Integer checksum) {
+ this.checksum = checksum;
+ }
+
+ public String getInstalledBy() {
+ return installedBy;
+ }
+
+ public void setInstalledBy(String installedBy) {
+ this.installedBy = installedBy;
+ }
+
+ public LocalDateTime getInstalledOn() {
+ return installedOn;
+ }
+
+ public void setInstalledOn(LocalDateTime installedOn) {
+ this.installedOn = installedOn;
+ }
+
+ public Integer getExecutionTime() {
+ return executionTime;
+ }
+
+ public void setExecutionTime(Integer executionTime) {
+ this.executionTime = executionTime;
+ }
+
+ public Boolean getSuccess() {
+ return success;
+ }
+
+ public void setSuccess(Boolean success) {
+ this.success = success;
+ }
+
+ @Override
+ public String toString() {
+ return "DeTemplateVersion{" +
+ "installedRank = " + installedRank +
+ ", version = " + version +
+ ", description = " + description +
+ ", type = " + type +
+ ", script = " + script +
+ ", checksum = " + checksum +
+ ", installedBy = " + installedBy +
+ ", installedOn = " + installedOn +
+ ", executionTime = " + executionTime +
+ ", success = " + success +
+ "}";
+ }
+}
diff --git a/backend/src/main/java/com/stdproject/entity/LoginUser.java b/backend/src/main/java/com/stdproject/entity/LoginUser.java
index 2d9f73b..cacc456 100644
--- a/backend/src/main/java/com/stdproject/entity/LoginUser.java
+++ b/backend/src/main/java/com/stdproject/entity/LoginUser.java
@@ -19,11 +19,12 @@ import java.util.Set;
public class LoginUser implements UserDetails {
private User user;
-
+ private String app_name;
private Set