diff --git a/boot-starter/boot-starter-util/src/main/resources/templates/generatorConfig.fm b/boot-starter/boot-starter-util/src/main/resources/templates/generatorConfig.fm index ce8f51a..6572adf 100644 --- a/boot-starter/boot-starter-util/src/main/resources/templates/generatorConfig.fm +++ b/boot-starter/boot-starter-util/src/main/resources/templates/generatorConfig.fm @@ -3,11 +3,9 @@ PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd"> - - - + @@ -26,10 +24,10 @@ + driverClass="${db.driverClassName}" + connectionURL="${db.url}" + userId="${db.url}" + password="{db.passworld}"> diff --git a/boot-starter/boot-starter-util/src/main/resources/templates/mybatisGenerator.fm b/boot-starter/boot-starter-util/src/main/resources/templates/mybatisGenerator.fm new file mode 100644 index 0000000..9a696e6 --- /dev/null +++ b/boot-starter/boot-starter-util/src/main/resources/templates/mybatisGenerator.fm @@ -0,0 +1,5 @@ +db.driverLocation=${db.driverLocation} +db.driverClassName=${db.driverClassName} +db.url=${db.url} +db.username=${db.url} +db.password=${db.passworld} \ No newline at end of file