diff --git a/star/pom.xml b/star/pom.xml
index 12a27dd..c0ee224 100644
--- a/star/pom.xml
+++ b/star/pom.xml
@@ -20,14 +20,14 @@
org.springframework.boot
spring-boot-starter-parent
- 2.0.4.RELEASE
+ 2.1.3.RELEASE
UTF-8
1.8
1.4.0
- 2.0.4.RELEASE
+ 2.1.3.RELEASE
diff --git a/star/star-dal/src/main/java/com/gui/star/dal/model/User.java b/star/star-dal/src/main/java/com/gui/star/dal/model/User.java
index f55e91c..46ffce8 100644
--- a/star/star-dal/src/main/java/com/gui/star/dal/model/User.java
+++ b/star/star-dal/src/main/java/com/gui/star/dal/model/User.java
@@ -7,6 +7,10 @@
import javax.persistence.Id;
public class User {
+ /**
+ * 标识主键
+ * 定义ID的生成规则,每次保存后返回ID
+ */
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Long id;
diff --git a/star/star-web/src/main/java/com/gui/star/web/Application.java b/star/star-web/src/main/java/com/gui/star/web/Application.java
index aaef832..7c1a4f2 100644
--- a/star/star-web/src/main/java/com/gui/star/web/Application.java
+++ b/star/star-web/src/main/java/com/gui/star/web/Application.java
@@ -1,11 +1,9 @@
package com.gui.star.web;
import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
-
import tk.mybatis.spring.annotation.MapperScan;
/**
@@ -19,7 +17,6 @@
@SpringBootApplication
@ComponentScan(basePackages = "com.gui")
@MapperScan(basePackages = "com.gui.star.dal.mapper")
-@EnableAutoConfiguration
@EnableScheduling
public class Application {
public static void main(String[] args) {