Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
windows
Project
Project
Details
Activity
Releases
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
zhanhai
windows
Commits
49a8da10
Commit
49a8da10
authored
Oct 20, 2023
by
LSL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还款jar包
parent
bddf0a5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
1 deletion
+36
-1
BackedCommand.java
src/main/java/com/jqtx/windows/command/BackedCommand.java
+1
-1
Testcontroller.java
src/main/java/com/jqtx/windows/web/Testcontroller.java
+35
-0
No files found.
src/main/java/com/jqtx/windows/command/BackedCommand.java
View file @
49a8da10
...
...
@@ -59,7 +59,7 @@ public class BackedCommand extends AbstractCommand {
return
JsonResult
.
success
(
"77777777"
);
}
p
rivate
void
creditRepay
(
BackedRequest
backedRequest
)
{
p
ublic
void
creditRepay
(
BackedRequest
backedRequest
)
{
RepayModel
windowsRepay
=
new
RepayModel
();
windowsRepay
.
setLoanNo
(
backedRequest
.
getLoanNo
());
windowsRepay
.
setBackedNo
(
backedRequest
.
getBackedNo
());
...
...
src/main/java/com/jqtx/windows/web/Testcontroller.java
0 → 100644
View file @
49a8da10
package
com
.
jqtx
.
windows
.
web
;
import
com.jqtx.windows.command.BackedCommand
;
import
com.jqtx.windows.web.request.BackedRequest
;
import
com.jqtx.windows.web.response.JsonResult
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
java.math.BigDecimal
;
@RestController
@RequestMapping
(
"/test"
)
@Api
(
tags
=
"网关接口"
)
@Slf4j
public
class
Testcontroller
{
@Autowired
BackedCommand
backedCommand
;
@ApiOperation
(
value
=
"网关接口"
)
@PostMapping
(
"/{url}"
)
public
JsonResult
creditSubmit
(
@RequestBody
BackedRequest
backedRequest
)
{
log
.
info
(
"浙农请求:{}"
,
backedRequest
);
backedCommand
.
creditRepay
(
backedRequest
);
//生成 windows_backed_detail 信息
//修改 windows_plan backAmt 信息
//修改 windows_plan 还款状态
//修改 windows_loan 还款状态
backedCommand
.
backedDetail
(
backedRequest
.
getLoanNo
(),
new
BigDecimal
(
backedRequest
.
getBackAmt
()),
backedRequest
.
getBackedNo
(),
backedRequest
);
return
JsonResult
.
success
(
"77777777"
);
}
}
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