diff --git a/README.md b/README.md index 155d5db..58f1f4d 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ SpringBootCodeGenerator CSDN博客 http://blog.csdn.net/moshowgame 更新日期 更新内容 -201909101.修复mapper接口load方法,但是xml中方法不匹配问题 2.移除mapper中CRUD时的@param 注解,会影响xml的解析(感谢@caojiantao的反馈)。3.优化MyBatis的xml文件对Oracle的支持。(感谢@wylove1992的反馈) 4.新增对boolean的处理(感谢@violinxsc的反馈)以及优化tinyint类型生成boolean类型问题(感谢@hahaYhui的反馈) +20190910-2优化以及更新Maven依赖,减少打包体积。 +20190910-11.修复mapper接口load方法,但是xml中方法不匹配问题 2.移除mapper中CRUD时的@param 注解,会影响xml的解析(感谢@caojiantao的反馈)。3.优化MyBatis的xml文件对Oracle的支持。(感谢@wylove1992的反馈) 4.新增对boolean的处理(感谢@violinxsc的反馈)以及优化tinyint类型生成boolean类型问题(感谢@hahaYhui的反馈) 20190909添加是否下划线转换为驼峰的选择(感谢@youngking28 的pull request)。 201905181.优化注释 2.修改 mybatis模板中 controller注解 3.修改 mybatis模板中 dao文件使用为 mapper文件 4.修改 mybatis模板中 service实现类中的一个 bug 5.修改 index.ftl文件中 mybatis模板的 dao -> mapper(感谢@unqin的pull request) 20190511优化mybatis模块的dao和xml模板,修改dao接口注解为@Repository,所有dao参数改为包装类,删除update语句最后的UpdateTime = NOW(),修改dao接口文件的方法注释使其更符合javaDoc的标准,修改insert语句增加插入行主键的返回,修改load的方法名为selectByPrimaryKey,修改xml的update语句新增动态if判空,修改xml的insert语句新增动态插入判空,更符合mybatisGenerator标准(感谢@Archer-Wen的贡献 )。 diff --git a/pom.xml b/pom.xml index 34bd8d4..a4e4264 100644 --- a/pom.xml +++ b/pom.xml @@ -1,234 +1,200 @@ - - 4.0.0 - - com.softdev.system - SpringBootCodeGenerator - 0.0.1-SNAPSHOT - pom - - - org.springframework.boot - spring-boot-starter-parent - 2.0.4.RELEASE - - - - generator-web - - - - - - UTF-8 - - 1.8 - - - - - - org.springframework.boot - spring-boot-starter-web - - - - com.alibaba - fastjson - 1.2.44 - - - - - org.springframework.boot - spring-boot-configuration-processor - true - - - - - - org.springframework.boot - spring-boot-devtools - 2.0.4.RELEASE - - - - - org.springframework - springloaded - 1.2.8.RELEASE - - - - - - cn.hutool - hutool-all - 4.1.12 - - - - - org.projectlombok - lombok - 1.18.2 - - - - - - - - - com.alibaba - druid - 1.1.3 - - - - log4j - log4j - 1.2.16 - - - - - junit - junit - test - - - - - - - org.apache.commons - commons-lang3 - 3.8 - - - - - org.springframework.boot - spring-boot-starter-freemarker - - - - - javax.xml.bind - jaxb-api - 2.3.0 - - - com.sun.xml.bind - jaxb-impl - 2.3.0 - - - com.sun.xml.bind - jaxb-core - 2.3.0 - - - javax.activation - activation - 1.1.1 - - - - - - - - - - src/main/java - - **/*.properties - **/*.xml - - false - - - src/main/resources - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - true - javac - 1.8 - 1.8 - UTF-8 - 1.8 - true - true - - - - org.codehaus.plexus - plexus-compiler-eclipse - 2.2 - - - - - org.apache.maven.plugins - maven-resources-plugin - 3.0.1 - - - true - - - - org.apache.maven.plugins - maven-war-plugin - 2.1.1 - - false - upload/** - - - - org.springframework.boot - spring-boot-maven-plugin - 2.0.4.RELEASE - - - - repackage - - - - - - - - - - - spring-milestones - Spring Milestones - https://repo.spring.io/libs-milestone - - false - - - - + + 4.0.0 + + com.softdev.system + SpringBootCodeGenerator + 0.0.1-SNAPSHOT + pom + + + org.springframework.boot + spring-boot-starter-parent + 2.1.7.RELEASE + + + + generator-web + + + + + + UTF-8 + + 1.8 + + + + + + org.springframework.boot + spring-boot-starter-web + + + + + com.alibaba + fastjson + 1.2.60 + + + + + org.springframework.boot + spring-boot-configuration-processor + true + + + + + + + + + + + + + cn.hutool + hutool-all + 4.6.1 + + + + + org.projectlombok + lombok + 1.18.8 + + + + + org.apache.commons + commons-lang3 + 3.8 + + + + + org.springframework.boot + spring-boot-starter-freemarker + + + + + + + + + + + + + src/main/java + + **/*.properties + **/*.xml + + false + + + src/main/resources + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + true + javac + 1.8 + 1.8 + UTF-8 + 1.8 + true + true + + + + org.codehaus.plexus + plexus-compiler-eclipse + 2.2 + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.0.1 + + + true + + + + org.apache.maven.plugins + maven-war-plugin + 2.1.1 + + false + upload/** + + + + org.springframework.boot + spring-boot-maven-plugin + 2.0.4.RELEASE + + + + repackage + + + + + + + + + + + spring-milestones + Spring Milestones + https://repo.spring.io/libs-milestone + + false + + + +