Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
48455732
Commit
48455732
authored
May 10, 2019
by
youjj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
cea09af7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
34 deletions
+59
-34
pom.xml
xx-third-party/pom.xml
+53
-28
mybatis-generator.xml
...rd-party/src/main/resources/builder/mybatis-generator.xml
+6
-6
No files found.
xx-third-party/pom.xml
View file @
48455732
...
@@ -107,43 +107,68 @@
...
@@ -107,43 +107,68 @@
<plugin>
<plugin>
<groupId>
org.mybatis.generator
</groupId>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<version>
1.3.7
</version>
<version>
1.3.2
</version>
<configuration>
<configurationFile>
${basedir}/src/main/resources/builder/generatorConfig.xml
</configurationFile>
<overwrite>
true
</overwrite>
<verbose>
true
</verbose>
</configuration>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
mysql
</groupId>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<artifactId>
mysql-connector-java
</artifactId>
<version>
8.0.15
</version>
<version>
5.1.30
</version>
</dependency>
<scope>
runtime
</scope>
<dependency>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-core
</artifactId>
<version>
1.3.7
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
tk.mybatis
</groupId>
<groupId>
tk.mybatis
</groupId>
<artifactId>
mapper
</artifactId>
<artifactId>
mapper
</artifactId>
<version>
4.0.4
</version>
<version>
${mapper.version}
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<executions>
<execution>
<id>
Generate MyBatis Artifacts
</id>
<phase>
package
</phase>
<goals>
<goal>
generate
</goal>
</goals>
</execution>
</executions>
<configuration>
<!--允许移动生成的文件 -->
<verbose>
true
</verbose>
<!-- 是否覆盖 -->
<overwrite>
true
</overwrite>
<!-- 自动生成的配置 -->
<configurationFile>
src/main/resources/builder/mybatis-generator.xml
</configurationFile>
</configuration>
</plugin>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.mybatis.generator</groupId>-->
<!-- <artifactId>mybatis-generator-maven-plugin</artifactId>-->
<!-- <version>1.3.7</version>-->
<!-- <dependencies>-->
<!-- <dependency>-->
<!-- <groupId> mysql</groupId>-->
<!-- <artifactId> mysql-connector-java</artifactId>-->
<!-- <version>8.0.15</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.mybatis.generator</groupId>-->
<!-- <artifactId>mybatis-generator-core</artifactId>-->
<!-- <version>1.3.7</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>tk.mybatis</groupId>-->
<!-- <artifactId>mapper</artifactId>-->
<!-- <version>4.0.4</version>-->
<!-- </dependency>-->
<!-- </dependencies>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>Generate MyBatis Artifacts</id>-->
<!-- <phase>package</phase>-->
<!-- <goals>-->
<!-- <goal>generate</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- <configuration>-->
<!-- <!–允许移动生成的文件 –>-->
<!-- <verbose>true</verbose>-->
<!-- <!– 是否覆盖 –>-->
<!-- <overwrite>true</overwrite>-->
<!-- <!– 自动生成的配置 –>-->
<!-- <configurationFile>-->
<!-- src/main/resources/builder/mybatis-generator.xml</configurationFile>-->
<!-- </configuration>-->
<!-- </plugin>-->
</plugins>
</plugins>
</build>
</build>
...
...
xx-third-party/src/main/resources/builder/mybatis-generator.xml
View file @
48455732
...
@@ -47,13 +47,13 @@
...
@@ -47,13 +47,13 @@
<property
name=
"enableSubPackages"
value=
"true"
/>
<property
name=
"enableSubPackages"
value=
"true"
/>
</javaClientGenerator>
</javaClientGenerator>
<table
tableName=
"member_info"
domainObjectName=
"MemberInfo"
enableCountByExample=
"false"
<!-- <table tableName="member_info" domainObjectName="MemberInfo" enableCountByExample="false"-->
enableUpdateByExample=
"false"
enableDeleteByExample=
"false"
enableSelectByExample=
"false"
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
selectByExampleQueryId=
"false"
/
>
<!-- selectByExampleQueryId="false"/>--
>
<table
tableName=
"member_family_info"
domainObjectName=
"MemberFamilyInfo"
enableCountByExample=
"false"
<!-- <table tableName="member_family_info" domainObjectName="MemberFamilyInfo" enableCountByExample="false"-->
enableUpdateByExample=
"false"
enableDeleteByExample=
"false"
enableSelectByExample=
"false"
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
selectByExampleQueryId=
"false"
/
>
<!-- selectByExampleQueryId="false"/>--
>
</context>
</context>
</generatorConfiguration>
</generatorConfiguration>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment