Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
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
pseer
gxpt_ht
Commits
e549dcab
Commit
e549dcab
authored
Oct 18, 2023
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code generator opt;
parent
a3d2c862
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
VelocityUtils.java
...tor/src/main/java/share/generator/util/VelocityUtils.java
+1
-1
service.java.vm
share-generator/src/main/resources/vm/java/service.java.vm
+1
-1
No files found.
share-generator/src/main/java/share/generator/util/VelocityUtils.java
View file @
e549dcab
...
...
@@ -187,7 +187,7 @@ public class VelocityUtils
}
else
if
(
template
.
contains
(
"service.java.vm"
))
{
fileName
=
StringUtils
.
format
(
"{}/service/
I
{}Service.java"
,
javaPath
,
className
);
fileName
=
StringUtils
.
format
(
"{}/service/{}Service.java"
,
javaPath
,
className
);
}
else
if
(
template
.
contains
(
"serviceImpl.java.vm"
))
{
...
...
share-generator/src/main/resources/vm/java/service.java.vm
View file @
e549dcab
...
...
@@ -10,7 +10,7 @@ import ${packageName}.domain.${ClassName};
*
@
author
${
author
}
*
@
date
${
datetime
}
*/
public
interface
I
${
ClassName
}
Service
extends
IService
<${
ClassName
}>
public
interface
${
ClassName
}
Service
extends
IService
<${
ClassName
}>
{
/**
*
查询
${
functionName
}
...
...
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