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
04daa939
Commit
04daa939
authored
Oct 27, 2023
by
张庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增MQ
parent
479589a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CreditResultListener.java
...java/com/jqtx/windows/common/mq/CreditResultListener.java
+1
-1
LoanResultListener.java
...n/java/com/jqtx/windows/common/mq/LoanResultListener.java
+1
-1
No files found.
src/main/java/com/jqtx/windows/common/mq/CreditResultListener.java
View file @
04daa939
...
...
@@ -52,7 +52,7 @@ public class CreditResultListener extends AbstractMQConsumerHandler<CreditResult
if
(
"RETRIAL"
.
equalsIgnoreCase
(
creditResultModel
.
getCreditStatus
()))
{
update
.
setCreditResult
(
CreditResultStatusEnum
.
INIT
.
getCode
());
}
if
(
"
REJECT
"
.
equalsIgnoreCase
(
creditResultModel
.
getCreditStatus
()))
{
if
(
"
NO
"
.
equalsIgnoreCase
(
creditResultModel
.
getCreditStatus
()))
{
update
.
setCreditResult
(
CreditResultStatusEnum
.
REFUSED
.
getCode
());
creditDetailResponse
.
setStatus
(
"2"
);
}
...
...
src/main/java/com/jqtx/windows/common/mq/LoanResultListener.java
View file @
04daa939
...
...
@@ -48,7 +48,7 @@ public class LoanResultListener extends AbstractMQConsumerHandler<CreditResultMo
byOrderNo
.
setLoanCreditResult
(
CreditResultStatusEnum
.
INIT
.
getCode
());
response
.
setStatus
(
0
);
}
if
(
"
REJECT
"
.
equalsIgnoreCase
(
creditResultModel
.
getCreditStatus
()))
{
if
(
"
NO
"
.
equalsIgnoreCase
(
creditResultModel
.
getCreditStatus
()))
{
byOrderNo
.
setLoanCreditResult
(
CreditResultStatusEnum
.
REFUSED
.
getCode
());
response
.
setStatus
(
2
);
}
...
...
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