diff --git a/README.md b/README.md
index 5dd649f..b735792 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,3 @@
-# SpringBootCodeGenerator
\ No newline at end of file
+SpringBootCodeGenerator
+----
+SpringBoot代码生成器。用于生成mybatis和jpa相关代码,基于xxl-codegenerator。
\ No newline at end of file
diff --git a/generator-web/generator-web.iml b/generator-web/generator-web.iml
index 7ed8653..3ebd07f 100644
--- a/generator-web/generator-web.iml
+++ b/generator-web/generator-web.iml
@@ -21,11 +21,14 @@
-
+
+
+
+
@@ -33,33 +36,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -73,8 +49,13 @@
+
+
+
+
+
diff --git a/generator-web/pom.xml b/generator-web/pom.xml
index bc37b68..21d35c5 100644
--- a/generator-web/pom.xml
+++ b/generator-web/pom.xml
@@ -33,10 +33,10 @@
-
+
junit
diff --git a/generator-web/src/main/java/com/softdev/system/generator/config/DruidConfiguration.java b/generator-web/src/main/java/com/softdev/system/generator/config/DruidConfiguration.java
index 9375769..f77f928 100644
--- a/generator-web/src/main/java/com/softdev/system/generator/config/DruidConfiguration.java
+++ b/generator-web/src/main/java/com/softdev/system/generator/config/DruidConfiguration.java
@@ -17,7 +17,7 @@ import com.alibaba.druid.pool.DruidDataSource;
import com.alibaba.druid.support.http.StatViewServlet;
import com.alibaba.druid.support.http.WebStatFilter;
-@Configuration
+//@Configuration
public class DruidConfiguration {
private static final Logger logger = LoggerFactory.getLogger(DruidConfiguration.class);
diff --git a/generator-web/src/main/resources/templates/xxl-code-generator/entity.ftl b/generator-web/src/main/resources/templates/xxl-code-generator/entity.ftl
index 096d837..9313198 100644
--- a/generator-web/src/main/resources/templates/xxl-code-generator/entity.ftl
+++ b/generator-web/src/main/resources/templates/xxl-code-generator/entity.ftl
@@ -15,7 +15,7 @@ import java.util.Date;
/**
* ${classInfo.classComment}
*
-* Created by xuxueli on '${.now?string('yyyy-MM-dd HH:mm:ss')}'.
+* Created by by-health on '${.now?string('yyyy-MM-dd HH:mm:ss')}'.
*/
@Entity
@Data
@@ -33,16 +33,4 @@ public class ${classInfo.className} implements Serializable {
#list>
#if>
-<#if classInfo.fieldList?exists && classInfo.fieldList?size gt 0>
-<#list classInfo.fieldList as fieldItem>
- public ${fieldItem.fieldClass} get${fieldItem.fieldName?cap_first}() {
- return ${fieldItem.fieldName};
- }
-
- public void set${fieldItem.fieldName?cap_first}(${fieldItem.fieldClass} ${fieldItem.fieldName}) {
- this.${fieldItem.fieldName} = ${fieldItem.fieldName};
- }
-
-#list>
-#if>
}
\ No newline at end of file
diff --git a/generator-web/src/main/resources/templates/xxl-code-generator/repository.ftl b/generator-web/src/main/resources/templates/xxl-code-generator/repository.ftl
index 7c52df5..e3b71cc 100644
--- a/generator-web/src/main/resources/templates/xxl-code-generator/repository.ftl
+++ b/generator-web/src/main/resources/templates/xxl-code-generator/repository.ftl
@@ -14,7 +14,7 @@ import org.springframework.stereotype.Repository;
/**
* ${classInfo.classComment}
*
-* Created by xuxueli on '${.now?string('yyyy-MM-dd HH:mm:ss')}'.
+* Created by by-health on '${.now?string('yyyy-MM-dd HH:mm:ss')}'.
*/
@Repository
public interface ${classInfo.className}Respotory extends JpaRepository<${classInfo.className},Integer> {