Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
ka-code-generator
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
QG
ka-code-generator
Commits
5339af9b
Commit
5339af9b
authored
Jun 18, 2020
by
王向伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉没必要的变量,解决编译错误
parent
43afadf3
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
387 additions
and
364 deletions
+387
-364
EventHandler.ftl
...es/templates/code-generator/eventhandler/EventHandler.ftl
+384
-361
QueryLoanResult.ftl
...ources/templates/code-generator/model/QueryLoanResult.ftl
+2
-0
ServiceImpl.ftl
...esources/templates/code-generator/service/ServiceImpl.ftl
+1
-3
No files found.
src/main/resources/templates/code-generator/eventhandler/EventHandler.ftl
View file @
5339af9b
This diff is collapsed.
Click to expand it.
src/main/resources/templates/code-generator/model/QueryLoanResult.ftl
View file @
5339af9b
...
@@ -38,4 +38,6 @@ public class ${prefix}QueryLoanResult {
...
@@ -38,4 +38,6 @@ public class ${prefix}QueryLoanResult {
}
}
}
}
public
${
prefix
}
QueryLoanResult
(){}
}
}
\ No newline at end of file
src/main/resources/templates/code-generator/service/ServiceImpl.ftl
View file @
5339af9b
...
@@ -491,7 +491,7 @@ public class ${prefix}ServiceImpl implements ${prefix}Service{
...
@@ -491,7 +491,7 @@ public class ${prefix}ServiceImpl implements ${prefix}Service{
*/
*/
@
Override
@
Override
public
ServiceResult
<${
prefix
}
RepayByPlanResult
>
repayByPlan
(${
prefix
}
RepayByPlanRequest
request
){
public
ServiceResult
<${
prefix
}
RepayByPlanResult
>
repayByPlan
(${
prefix
}
RepayByPlanRequest
request
){
String
logPre
=
LOG_PRE
+
"[repayByPlan][{prefix}发起主动还款]"
;
String
logPre
=
LOG_PRE
+
"[repayByPlan][
$
{prefix}发起主动还款]"
;
log
.
info
(
"{} request={}"
,
logPre
,
request
);
log
.
info
(
"{} request={}"
,
logPre
,
request
);
Long
channelId
=
request
.
getChannelId
();
Long
channelId
=
request
.
getChannelId
();
ServiceResult
<
MoBankCardInfoOutput
>
bankInfoResult
=
moOrderRepresentationService
.
queryBankCardInfoByBindCardId
(
request
.
getBindId
());
ServiceResult
<
MoBankCardInfoOutput
>
bankInfoResult
=
moOrderRepresentationService
.
queryBankCardInfoByBindCardId
(
request
.
getBindId
());
...
@@ -527,6 +527,4 @@ public class ${prefix}ServiceImpl implements ${prefix}Service{
...
@@ -527,6 +527,4 @@ public class ${prefix}ServiceImpl implements ${prefix}Service{
}
}
\ No newline at end of file
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