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
1a1ae1f7
Commit
1a1ae1f7
authored
1 year ago
by
张庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
防止重复提交
parent
ec979df4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
GetSignContractCommand.java
...java/com/jqtx/windows/command/GetSignContractCommand.java
+1
-1
LoanSubmitCommand.java
...main/java/com/jqtx/windows/command/LoanSubmitCommand.java
+3
-3
No files found.
src/main/java/com/jqtx/windows/command/GetSignContractCommand.java
View file @
1a1ae1f7
...
...
@@ -29,7 +29,7 @@ public class GetSignContractCommand extends AbstractCommand {
JsonResult
<
String
>
rongdanPdfJsonResult
=
iProtocalFeignService
.
getFilePathPdf
(
getSignContractModel
.
getLoanNo
(),
"rongdan"
);
if
(
rongdanPdfJsonResult
.
isSuccess
()
&&
StringUtils
.
isNotEmpty
(
rongdanPdfJsonResult
.
getResult
())){
getSignContractResponse
.
setSignStatus
(
"SIGN"
);
String
path
=
ossUtils
.
generateTempURL
(
rongdanPdfJsonResult
.
getResult
());
String
path
=
ossUtils
.
generateTempURL
PrivateDomain
(
rongdanPdfJsonResult
.
getResult
());
getSignContractResponse
.
setContractFileUrl
(
path
);
}
else
{
getSignContractResponse
.
setSignStatus
(
"SIGN_ING"
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/jqtx/windows/command/LoanSubmitCommand.java
View file @
1a1ae1f7
...
...
@@ -47,8 +47,8 @@ public class LoanSubmitCommand extends AbstractCommand {
public
JsonResult
execute
()
{
String
request
=
RuntimeContextHolder
.
currentRuntimeContext
().
getRequestBody
();
LoanSubmitResponse
loanSubmitResponse
=
JSON
.
parseObject
(
request
,
LoanSubmitResponse
.
class
);
CreditModel
c
reditModel
=
creditComponent
.
getByOrderNo
(
loanSubmitResponse
.
getOrderNo
());
if
(
Objects
.
isNull
(
c
reditModel
))
{
CreditModel
c
omponentByOrderNo
=
creditComponent
.
getByOrderNo
(
loanSubmitResponse
.
getOrderNo
());
if
(
Objects
.
isNull
(
c
omponentByOrderNo
))
{
throw
new
BizException
(
ExceptionCodeEnum
.
BIZ_CREDIT_NOT_FOUND_ERROR
);
}
//查询loan表是否存在
...
...
@@ -76,7 +76,7 @@ public class LoanSubmitCommand extends AbstractCommand {
creditComponent
.
updateByOrderNo
(
loanSubmitResponse
.
getOrderNo
(),
creditModel
);
// 提现授信
LoanCreditSubmitModel
model
=
new
LoanCreditSubmitModel
();
model
.
setOrderNo
(
c
reditModel
.
getOrderNo
());
model
.
setOrderNo
(
c
omponentByOrderNo
.
getOrderNo
());
JsonResult
<
Boolean
>
booleanJsonResult
=
wakandaFeignService
.
loanCredit
(
model
);
return
JsonResult
.
success
(
booleanJsonResult
.
isSuccess
());
}
...
...
This diff is collapsed.
Click to expand it.
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