Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl-generator
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
余保谷
ydl-generator
Commits
fad96e88
Commit
fad96e88
authored
Jul 14, 2021
by
yubaogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tett
parent
21c47042
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
serviceImpl.ftl
src/main/resources/freemarker/ftl/serviceImpl.ftl
+2
-1
MyGenerator.java
src/test/java/com/flying/cattle/mdg/MyGenerator.java
+2
-2
No files found.
src/main/resources/freemarker/ftl/serviceImpl.ftl
View file @
fad96e88
...
...
@@ -21,6 +21,6 @@ import com.github.pagehelper.PageHelper;
*
*/
@
Service
public
class
${
entityName
}
BizImpl
extends
BaseService
<${
entityName
}>
implements
${
entityName
}
Service
{
public
class
${
entityName
}
BizImpl
extends
BaseService
<${
entityName
}>
implements
${
entityName
}
Biz
{
}
\ No newline at end of file
src/test/java/com/flying/cattle/mdg/MyGenerator.java
View file @
fad96e88
...
...
@@ -39,7 +39,7 @@ public class MyGenerator implements Serializable {
public
static
final
String
DATABASE
=
"ydl"
;
// 类信息:类名、对象名(一般是【类名】的首字母小些)、类说明、时间
public
static
final
String
TABLE
=
"doctor"
;
public
static
final
String
[]
TABLES
=
{
"
user_emergency_contact
"
public
static
final
String
[]
TABLES
=
{
"
doctor_role
"
};
/**
"doctor_base_data","doctor_order","doctor","expert_interview","expert_interview_result","expert_result",
...
...
@@ -63,7 +63,7 @@ public class MyGenerator implements Serializable {
//是否是Swagger配置
public
static
final
String
IS_SWAGGER
=
"true"
;
public
static
final
String
PROJECT_NAME
=
"doctor
_role
"
;
public
static
final
String
PROJECT_NAME
=
"doctor"
;
public
static
void
main
(
String
[]
args
)
throws
IOException
{
System
.
out
.
println
(
MyGenerator
.
class
.
getResource
(
""
).
getPath
());
...
...
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