Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
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
customer-service
Commits
3795bc93
Commit
3795bc93
authored
Apr 24, 2020
by
王向伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还款信息查询返回结果去掉用户信息
parent
af4d48a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
RepayServiceImpl.java
...cn/quantgroup/customer/service/impl/RepayServiceImpl.java
+14
-14
No files found.
src/main/java/cn/quantgroup/customer/service/impl/RepayServiceImpl.java
View file @
3795bc93
...
@@ -78,18 +78,18 @@ public class RepayServiceImpl implements IRepayService {
...
@@ -78,18 +78,18 @@ public class RepayServiceImpl implements IRepayService {
Long
loanId
=
repayOrderQuery
.
getLoanId
();
Long
loanId
=
repayOrderQuery
.
getLoanId
();
RepayInfoResult
repayInfoResult
=
new
RepayInfoResult
();
RepayInfoResult
repayInfoResult
=
new
RepayInfoResult
();
// 处理用户信息
//
// 处理用户信息
OrderQueryParam
orderQueryParam
=
new
OrderQueryParam
();
//
OrderQueryParam orderQueryParam = new OrderQueryParam();
orderQueryParam
.
setLoanId
(
loanId
);
//
orderQueryParam.setLoanId(loanId);
JsonResult
userJsonResult
=
userService
.
findUserInfoByOrderParam
(
orderQueryParam
);
//
JsonResult userJsonResult = userService.findUserInfoByOrderParam(orderQueryParam);
if
(
Objects
.
isNull
(
userJsonResult
)
//
if (Objects.isNull(userJsonResult)
||
!
userJsonResult
.
isSuccess
())
{
//
|| !userJsonResult.isSuccess()) {
log
.
error
(
"根据loanId查不到用户信息"
);
//
log.error("根据loanId查不到用户信息");
return
JsonResult
.
buildErrorStateResult
(
"该笔借款申请号查询不到用户信息"
,
ErrorCodeEnum
.
PARAM_ERROR
.
getCode
());
//
return JsonResult.buildErrorStateResult("该笔借款申请号查询不到用户信息", ErrorCodeEnum.PARAM_ERROR.getCode());
}
//
}
//
UserBasicInfo
userbasicinfo
=
(
UserBasicInfo
)
userJsonResult
.
getData
();
//
UserBasicInfo userbasicinfo = (UserBasicInfo) userJsonResult.getData();
repayInfoResult
.
setUserInfo
(
userbasicinfo
);
//
repayInfoResult.setUserInfo(userbasicinfo);
//处理还款信息
//处理还款信息
...
@@ -115,9 +115,9 @@ public class RepayServiceImpl implements IRepayService {
...
@@ -115,9 +115,9 @@ public class RepayServiceImpl implements IRepayService {
}
}
repayInfoResult
.
setRepaymentList
(
xyqbRepayInfoResult
.
getData
());
//
repayInfoResult.setRepaymentList(xyqbRepayInfoResult.getData());
log
.
info
(
"[查询还款信息],返回 repayInfoResult={}"
,
repayInfoResult
);
log
.
info
(
"[查询还款信息],返回 repayInfoResult={}"
,
repayInfoResult
);
return
JsonResult
.
buildSuccessResult
(
"处理成功"
,
repayInfoResult
);
return
JsonResult
.
buildSuccessResult
(
"处理成功"
,
xyqbRepayInfoResult
.
getData
()
);
}
}
@Override
@Override
...
...
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