Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
59192535
Commit
59192535
authored
Jul 15, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码生成器调整
parent
4196924b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
Service.java.vm
.../yifu-codegen/src/main/resources/template/Service.java.vm
+8
-0
ServiceImpl.java.vm
...u-codegen/src/main/resources/template/ServiceImpl.java.vm
+8
-1
No files found.
yifu-visual/yifu-codegen/src/main/resources/template/Service.java.vm
View file @
59192535
...
@@ -19,6 +19,14 @@ package ${package}.${moduleName}.service;
...
@@ -19,6 +19,14 @@ package ${package}.${moduleName}.service;
import
com
.
baomidou
.
mybatisplus
.
extension
.
service
.
IService
;
import
com
.
baomidou
.
mybatisplus
.
extension
.
service
.
IService
;
import
${
package
}.${
moduleName
}.
entity
.${
className
};
import
${
package
}.${
moduleName
}.
entity
.${
className
};
import
com
.
baomidou
.
mybatisplus
.
core
.
metadata
.
IPage
;
import
com
.
baomidou
.
mybatisplus
.
extension
.
plugins
.
pagination
.
Page
;
import
com
.
pig4cloud
.
plugin
.
excel
.
vo
.
ErrorMessage
;
import
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
common
.
core
.
util
.
R
;
import
${
package
}.${
moduleName
}.
vo
.${
className
}
SearchVo
;
import
javax
.
servlet
.
http
.
HttpServletResponse
;
import
java
.
io
.
InputStream
;
import
java
.
util
.
List
;
/**
/**
*
${
comments
}
*
${
comments
}
...
...
yifu-visual/yifu-codegen/src/main/resources/template/ServiceImpl.java.vm
View file @
59192535
...
@@ -21,7 +21,14 @@ import ${package}.${moduleName}.entity.${className};
...
@@ -21,7 +21,14 @@ import ${package}.${moduleName}.entity.${className};
import
${
package
}.${
moduleName
}.
mapper
.${
className
}
Mapper
;
import
${
package
}.${
moduleName
}.
mapper
.${
className
}
Mapper
;
import
${
package
}.${
moduleName
}.
service
.${
className
}
Service
;
import
${
package
}.${
moduleName
}.
service
.${
className
}
Service
;
import
org
.
springframework
.
stereotype
.
Service
;
import
org
.
springframework
.
stereotype
.
Service
;
import
com
.
baomidou
.
mybatisplus
.
core
.
metadata
.
IPage
;
import
com
.
baomidou
.
mybatisplus
.
extension
.
plugins
.
pagination
.
Page
;
import
com
.
pig4cloud
.
plugin
.
excel
.
vo
.
ErrorMessage
;
import
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
common
.
core
.
util
.
R
;
import
${
package
}.${
moduleName
}.
vo
.${
className
}
SearchVo
;
import
javax
.
servlet
.
http
.
HttpServletResponse
;
import
java
.
io
.
InputStream
;
import
java
.
util
.
List
;
/**
/**
*
${
comments
}
*
${
comments
}
*
*
...
...
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