Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
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
data-spider
baihang-report
Commits
d99f52d5
Commit
d99f52d5
authored
Mar 16, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
D2报送:信贷业务申请时间应早于等于信贷账户开立时间
parent
d258ed3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
BaiHangZhuDaiService.java
...antgroup/report/service/baihang/BaiHangZhuDaiService.java
+2
-3
No files found.
src/main/java/cn/quantgroup/report/service/baihang/BaiHangZhuDaiService.java
View file @
d99f52d5
...
@@ -296,7 +296,7 @@ public class BaiHangZhuDaiService {
...
@@ -296,7 +296,7 @@ public class BaiHangZhuDaiService {
}
}
//{"errorCode":"D2_002","errorMsg":"信贷业务申请时间应早于等于信贷账户开立时间。"}
//
2020.03.16
{"errorCode":"D2_002","errorMsg":"信贷业务申请时间应早于等于信贷账户开立时间。"}
try
{
try
{
Date
applyDate
=
DateUtils
.
parseDate
(
"yyyy-MM-dd'T'HH:mm:ss"
,
loanInfozd_tmp
.
getApplyDate
());
Date
applyDate
=
DateUtils
.
parseDate
(
"yyyy-MM-dd'T'HH:mm:ss"
,
loanInfozd_tmp
.
getApplyDate
());
Date
accountOpenDate
=
DateUtils
.
parseDate
(
"yyyy-MM-dd'T'HH:mm:ss"
,
loanInfozd_tmp
.
getAccountOpenDate
());
Date
accountOpenDate
=
DateUtils
.
parseDate
(
"yyyy-MM-dd'T'HH:mm:ss"
,
loanInfozd_tmp
.
getAccountOpenDate
());
...
@@ -335,8 +335,7 @@ public class BaiHangZhuDaiService {
...
@@ -335,8 +335,7 @@ public class BaiHangZhuDaiService {
loanInfo
.
setPid
(
interfaceUploadClient
(
loanInfo
.
getPid
()));
loanInfo
.
setPid
(
interfaceUploadClient
(
loanInfo
.
getPid
()));
loanInfo
.
setMobile
(
interfaceUploadClient
(
loanInfo
.
getMobile
()));
loanInfo
.
setMobile
(
interfaceUploadClient
(
loanInfo
.
getMobile
()));
//String resultStr = iHttpService.postBaiHang(baiHangLoanInfoUrl, getHeader(), JSON.toJSONString(loanInfo));
String
resultStr
=
iHttpService
.
postBaiHang
(
baiHangLoanInfoUrl
,
getHeader
(),
JSON
.
toJSONString
(
loanInfo
));
String
resultStr
=
"{\"loanId\":\""
+
loanInfo
.
getLoanId
()+
"\",\"reqID\":\""
+
loanInfo
.
getReqID
()+
"\",\"status\":\"success\",\"msg\":\"测试没有真正报送\"}"
;
log
.
info
(
"助贷放款用户报送结果, param: {} , resultStr: {} "
,
logJson
,
resultStr
);
log
.
info
(
"助贷放款用户报送结果, param: {} , resultStr: {} "
,
logJson
,
resultStr
);
if
(
Objects
.
isNull
(
resultStr
)
||
!
"success"
.
equalsIgnoreCase
(
JSON
.
parseObject
(
resultStr
).
getString
(
"status"
)))
{
if
(
Objects
.
isNull
(
resultStr
)
||
!
"success"
.
equalsIgnoreCase
(
JSON
.
parseObject
(
resultStr
).
getString
(
"status"
)))
{
...
...
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