From 3b36aae323ffff62fe154263939e6909e6ef35aa Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Sat, 8 May 2021 16:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E5=8D=95=E4=BA=BA=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/DgApplyAmountInfoController.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgApplyAmountInfoController.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgApplyAmountInfoController.java index ff15fc81..88d116c4 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgApplyAmountInfoController.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgApplyAmountInfoController.java @@ -245,7 +245,7 @@ public class DgApplyAmountInfoController implements DgApplyAmountInfoControllerA } System.out.println("employeeMessage==================="+employeeMessage); - if(employeeMessage!= null){ + if(employeeMessage!= null && employeeMessage.size()>0){ for (BusinessApplicationListResponse response:list) { for(LinkedHashMap res : employeeMessage){ if(response.getPresenterId().equals(res.get("id"))){//如果提单人id相同情况下,就往对象里面赋值 @@ -258,8 +258,14 @@ public class DgApplyAmountInfoController implements DgApplyAmountInfoControllerA } } } - - + } + }else{ + for (BusinessApplicationListResponse response:list) { + if(response != null){ + if(response.getAccount()==null){ + response.setAccount("客户"); + } + } } } }