提单人查询

master
shijie 4 years ago
parent 1b1917ee1a
commit 3b36aae323
  1. 12
      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); System.out.println("employeeMessage==================="+employeeMessage);
if(employeeMessage!= null){ if(employeeMessage!= null && employeeMessage.size()>0){
for (BusinessApplicationListResponse response:list) { for (BusinessApplicationListResponse response:list) {
for(LinkedHashMap res : employeeMessage){ for(LinkedHashMap res : employeeMessage){
if(response.getPresenterId().equals(res.get("id"))){//如果提单人id相同情况下,就往对象里面赋值 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("客户");
}
}
} }
} }
} }

Loading…
Cancel
Save