Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
jinan
traffic-signal-platform
Commits
2918506b
Commit
2918506b
authored
Mar 18, 2025
by
wangtao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Service
parent
18bbf904
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
CodeGeneratorMyBatis1.java
wj-gernerator/src/main/java/CodeGeneratorMyBatis1.java
+1
-1
providerImpl.java.ftl
...c/main/resources/templates/mybatis1/providerImpl.java.ftl
+1
-1
restServer.java.ftl
...src/main/resources/templates/mybatis1/restServer.java.ftl
+1
-1
No files found.
wj-gernerator/src/main/java/CodeGeneratorMyBatis1.java
View file @
2918506b
...
@@ -29,7 +29,7 @@ public class CodeGeneratorMyBatis1 {
...
@@ -29,7 +29,7 @@ public class CodeGeneratorMyBatis1 {
private
static
final
String
password
=
"Wanji300552"
;
private
static
final
String
password
=
"Wanji300552"
;
private
static
final
String
TABLE_NAMES
=
"t_base_area_info"
;
private
static
final
String
TABLE_NAMES
=
"t_base_area_info"
;
private
static
String
ENTITY_NAME
=
null
;
private
static
String
ENTITY_NAME
=
null
;
private
static
final
String
AUTHOR
=
"
fengyi
"
;
private
static
final
String
AUTHOR
=
"
wangtao
"
;
private
static
final
boolean
OVERITE_FILE
=
true
;
//是否覆盖源文件
private
static
final
boolean
OVERITE_FILE
=
true
;
//是否覆盖源文件
private
static
final
String
PARENT_PACAGE
=
"net.wanji"
;
private
static
final
String
PARENT_PACAGE
=
"net.wanji"
;
...
...
wj-gernerator/src/main/resources/templates/mybatis1/providerImpl.java.ftl
View file @
2918506b
...
@@ -6,7 +6,7 @@ import net.wanji.common.framework.exception.DubboProviderException;
...
@@ -6,7 +6,7 @@ import net.wanji.common.framework.exception.DubboProviderException;
import
net
.
wanji
.
common
.
framework
.
mapper
.
BaseInterfaceMapper
;
import
net
.
wanji
.
common
.
framework
.
mapper
.
BaseInterfaceMapper
;
import
net
.
wanji
.
common
.
framework
.
rest
.
JsonViewObject
;
import
net
.
wanji
.
common
.
framework
.
rest
.
JsonViewObject
;
import
net
.
wanji
.${
package
.
ModuleName
}.
entity
.${
entity
};
import
net
.
wanji
.${
package
.
ModuleName
}.
entity
.${
entity
};
import
net
.
wanji
.${
package
.
ModuleName
}.
service
.${
entity
}
Provider
;
import
net
.
wanji
.${
package
.
ModuleName
}.
service
.${
entity
}
Service
;
import
${
package
.
Mapper
}.${
table
.
mapperName
};
import
${
package
.
Mapper
}.${
table
.
mapperName
};
import
lombok
.
extern
.
slf4j
.
Slf4j
;
import
lombok
.
extern
.
slf4j
.
Slf4j
;
...
...
wj-gernerator/src/main/resources/templates/mybatis1/restServer.java.ftl
View file @
2918506b
...
@@ -9,7 +9,7 @@ import net.wanji.common.framework.exception.DubboProviderException;
...
@@ -9,7 +9,7 @@ import net.wanji.common.framework.exception.DubboProviderException;
import
net
.
wanji
.
common
.
framework
.
i18n
.
I18nResourceBundle
;
import
net
.
wanji
.
common
.
framework
.
i18n
.
I18nResourceBundle
;
import
net
.
wanji
.
common
.
framework
.
rest
.
AbstractRestServer
;
import
net
.
wanji
.
common
.
framework
.
rest
.
AbstractRestServer
;
import
net
.
wanji
.
common
.
framework
.
rest
.
impl
.
AbstractRestServerImpl
;
import
net
.
wanji
.
common
.
framework
.
rest
.
impl
.
AbstractRestServerImpl
;
import
net
.
wanji
.${
package
.
ModuleName
}.
service
.${
entity
}
Provider
;
import
net
.
wanji
.${
package
.
ModuleName
}.
service
.${
entity
}
Service
;
import
net
.
wanji
.${
package
.
ModuleName
}.
entity
.${
entity
};
import
net
.
wanji
.${
package
.
ModuleName
}.
entity
.${
entity
};
import
net
.
wanji
.
common
.
framework
.
rest
.
Page
;
import
net
.
wanji
.
common
.
framework
.
rest
.
Page
;
...
...
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