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("客户"); + } + } } } }