Commit 27fad9a3 authored by 吴琼's avatar 吴琼

xiugai

parent 807c2818
...@@ -127,9 +127,11 @@ public class OrderServiceImpl implements IOrderService { ...@@ -127,9 +127,11 @@ public class OrderServiceImpl implements IOrderService {
repaymentPlans.forEach(e -> repaymentList.add(Repayment.valueOf(e))); repaymentPlans.forEach(e -> repaymentList.add(Repayment.valueOf(e)));
//add by wuq 2021-12-30 begin //add by wuq 2021-12-30 begin
List<BaitRepaymentPlanItem> baitRepaymentPlans = orderRepaymentJsonResult.getData().getBaitRepaymentPlans(); if(orderRepaymentJsonResult.getData() != null){
if(!baitRepaymentPlans.isEmpty()){ List<BaitRepaymentPlanItem> baitRepaymentPlans = orderRepaymentJsonResult.getData().getBaitRepaymentPlans();
baitRepaymentPlans.forEach(e -> baitRepaymentList.add(BaitRepaymentPlan.valueOf(e))); if(baitRepaymentPlans !=null && !baitRepaymentPlans.isEmpty()){
baitRepaymentPlans.forEach(e -> baitRepaymentList.add(BaitRepaymentPlan.valueOf(e)));
}
} }
//add by wuq 2021-12-30 end //add by wuq 2021-12-30 end
return JsonResult.buildSuccessResult("查询成功", loanOrderDetail); return JsonResult.buildSuccessResult("查询成功", loanOrderDetail);
......
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