Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZTGK
hzsomms
Commits
ff1e352b
Commit
ff1e352b
authored
Jul 24, 2023
by
shizhilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改 -shizhilong
parent
e02b21dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
CodeGenerate.java
...em/src/main/java/org/jeecg/codegenerate/CodeGenerate.java
+4
-6
No files found.
jeecg-module-system/src/main/java/org/jeecg/codegenerate/CodeGenerate.java
View file @
ff1e352b
...
@@ -25,14 +25,12 @@ public class CodeGenerate {
...
@@ -25,14 +25,12 @@ public class CodeGenerate {
String
outputDir
=
projectPath
+
"\\jeecg-module-system\\src\\main\\java\\"
;
String
outputDir
=
projectPath
+
"\\jeecg-module-system\\src\\main\\java\\"
;
// 模块名
// 模块名
String
moduleName
=
"
dynamicStaticAnalysis
"
;
String
moduleName
=
"
school
"
;
// 表名
// 表名
String
[]
tables
=
{
String
[]
tables
=
{
"t_dsa_config_static"
,
"t_jh_school_plan_batch_master"
,
"t_dsa_config_static_biz"
,
"t_dsa_config_dynamics"
,
"t_dsa_config_dynamics_biz"
,
};
};
...
@@ -60,7 +58,7 @@ public class CodeGenerate {
...
@@ -60,7 +58,7 @@ public class CodeGenerate {
// 设置过滤前缀
// 设置过滤前缀
.
strategyConfig
(
builder
->
{
.
strategyConfig
(
builder
->
{
builder
.
addInclude
(
tables
)
// 设置需要生成的表名
builder
.
addInclude
(
tables
)
// 设置需要生成的表名
.
addTablePrefix
(
"t_sn"
,
"t_da"
,
"t_ek"
,
"t_xd"
,
"t_dsg"
,
"t_d
sa
"
);
// 设置过滤表前缀
.
addTablePrefix
(
"t_sn"
,
"t_da"
,
"t_ek"
,
"t_xd"
,
"t_dsg"
,
"t_d
jt"
,
"t_jh
"
);
// 设置过滤表前缀
// entity实体策略
// entity实体策略
builder
.
entityBuilder
()
builder
.
entityBuilder
()
...
...
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