Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
5a4d825a
Commit
5a4d825a
authored
Oct 30, 2017
by
stylefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级代码生成
parent
f33982ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
guns-admin/src/main/java/generator/config/GunsGeneratorConfig.java
+13
-9
No files found.
guns-admin/src/main/java/generator/config/GunsGeneratorConfig.java
View file @
5a4d825a
...
...
@@ -55,16 +55,20 @@ public class GunsGeneratorConfig extends AbstractGeneratorConfig {
contextConfig
.
setEntityName
(
"Bill"
);
/**
* 生成器开关
*
mybatis-plus
生成器开关
*/
contextConfig
.
setEntitySwitch
(
true
);
contextConfig
.
setControllerSwitch
(
false
);
contextConfig
.
setDaoSwitch
(
true
);
contextConfig
.
setEntitySwitch
(
false
);
contextConfig
.
setDaoSwitch
(
false
);
contextConfig
.
setServiceSwitch
(
false
);
contextConfig
.
setIndexPageSwitch
(
false
);
contextConfig
.
setAddPageSwitch
(
false
);
contextConfig
.
setEditPageSwitch
(
false
);
contextConfig
.
setJsSwitch
(
false
);
contextConfig
.
setInfoJsSwitch
(
false
);
/**
* guns 生成器开关
*/
contextConfig
.
setControllerSwitch
(
true
);
contextConfig
.
setIndexPageSwitch
(
true
);
contextConfig
.
setAddPageSwitch
(
true
);
contextConfig
.
setEditPageSwitch
(
true
);
contextConfig
.
setJsSwitch
(
true
);
contextConfig
.
setInfoJsSwitch
(
true
);
}
}
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