Commit 807c2818 authored by 吴琼's avatar 吴琼

判空

parent 413b6c0c
...@@ -128,7 +128,9 @@ public class OrderServiceImpl implements IOrderService { ...@@ -128,7 +128,9 @@ public class OrderServiceImpl implements IOrderService {
//add by wuq 2021-12-30 begin //add by wuq 2021-12-30 begin
List<BaitRepaymentPlanItem> baitRepaymentPlans = orderRepaymentJsonResult.getData().getBaitRepaymentPlans(); List<BaitRepaymentPlanItem> baitRepaymentPlans = orderRepaymentJsonResult.getData().getBaitRepaymentPlans();
baitRepaymentPlans.forEach(e -> baitRepaymentList.add(BaitRepaymentPlan.valueOf(e))); if(!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