Commit c43a458e authored by chenzhao's avatar chenzhao

修改bug

parent edfb42dc
...@@ -801,7 +801,10 @@ public class ExcelServiceImpl { ...@@ -801,7 +801,10 @@ public class ExcelServiceImpl {
String[] bizCompany = fireStation.getBizCompany().split("@"); String[] bizCompany = fireStation.getBizCompany().split("@");
fireStation.setBizCompany(bizCompany[0]); fireStation.setBizCompany(bizCompany[0]);
fireStation.setBizCompanyId(Long.valueOf(bizCompany[1])); fireStation.setBizCompanyId(Long.valueOf(bizCompany[1]));
fireStation.setBizCompanyCode(bizCompany[2]); OrgUsr byId = orgUsrService.getById(Long.valueOf(bizCompany[1]));
if (byId != null && byId.getBizOrgCode() != null){
fireStation.setBizCompanyCode(byId.getBizOrgCode());
}
} }
excelEntityList.add(fireStation); excelEntityList.add(fireStation);
}); });
......
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