Commit 3795bc93 authored by 王向伟's avatar 王向伟

还款信息查询返回结果去掉用户信息

parent af4d48a8
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment