Commit fcf2fcda authored by 吴琼's avatar 吴琼

xiugai

parent 4a8e5d9e
...@@ -93,26 +93,26 @@ public class OrderServiceImpl implements IOrderService { ...@@ -93,26 +93,26 @@ public class OrderServiceImpl implements IOrderService {
log.info("{} 提现详情 loanId={}", logPre, loanId); log.info("{} 提现详情 loanId={}", logPre, loanId);
//JsonResult<LoanOrder> loanOrder = xyqbService.findLoanOrder(loanId); //JsonResult<LoanOrder> loanOrder = xyqbService.findLoanOrder(loanId);
//todo 替换中台接口 //todo 替换中台接口
JsonResult<LoanOrder> loanOrder = iceService.findLoanOrder(loanId); /* JsonResult<LoanOrder> loanOrder = iceService.findLoanOrder(loanId);
if (!loanOrder.isSuccess()) { if (!loanOrder.isSuccess()) {
log.error("{} 提现订单查询失败 loanId={}, result={}", logPre, loanId, loanOrder); log.error("{} 提现订单查询失败 loanId={}, result={}", logPre, loanId, loanOrder);
return JsonResult.buildErrorStateResult(loanOrder.getMsg(), loanOrder.getData()); return JsonResult.buildErrorStateResult(loanOrder.getMsg(), loanOrder.getData());
} }*/
LoanOrderDetail loanOrderDetail = new LoanOrderDetail(); LoanOrderDetail loanOrderDetail = new LoanOrderDetail();
List<Repayment> repaymentList = new ArrayList<>(); List<Repayment> repaymentList = new ArrayList<>();
LoanOrder loanOrderData = loanOrder.getData(); //LoanOrder loanOrderData = loanOrder.getData();
loanOrderDetail.setLoanOrder(loanOrderData); //loanOrderDetail.setLoanOrder(loanOrderData);
loanOrderDetail.setRepaymentList(repaymentList); loanOrderDetail.setRepaymentList(repaymentList);
//add by wuq 2021-12-30 begin //add by wuq 2021-12-30 begin
List<BaitRepaymentPlan> baitRepaymentList = new ArrayList<>(); List<BaitRepaymentPlan> baitRepaymentList = new ArrayList<>();
loanOrderDetail.setBaitRepaymentList(baitRepaymentList); loanOrderDetail.setBaitRepaymentList(baitRepaymentList);
//add by wuq 2021-12-30 end //add by wuq 2021-12-30 end
if (Objects.isNull(loanOrderData) || !loanOrderData.getShowPlans()) { /* if (Objects.isNull(loanOrderData) || !loanOrderData.getShowPlans()) {
log.info("{} 不需查询还款计划", logPre); log.info("{} 不需查询还款计划", logPre);
return JsonResult.buildSuccessResult("查询成功", loanOrderDetail); return JsonResult.buildSuccessResult("查询成功", loanOrderDetail);
} }*/
//还款计划查询 //还款计划查询
//JsonResult<OrderRepayment> orderRepaymentJsonResult = xyqbService.repaymentPlanQuery(loanId); //JsonResult<OrderRepayment> orderRepaymentJsonResult = xyqbService.repaymentPlanQuery(loanId);
......
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