Commit 7e9a4d0d authored by chenzhao's avatar chenzhao

BUG 4728

parent 4db8b537
...@@ -746,9 +746,10 @@ public class ExcelServiceImpl { ...@@ -746,9 +746,10 @@ public class ExcelServiceImpl {
if (firefighters.getCompanyName() != null) { if (firefighters.getCompanyName() != null) {
String[] tempCompany = firefighters.getCompanyName().split("@"); String[] tempCompany = firefighters.getCompanyName().split("@");
firefighters.setCompanyName(tempCompany[0]); firefighters.setCompanyName(tempCompany[0]);
firefighters.setCompany(tempCompany[1]); firefighters.setCompanyCode(tempCompany[1]);
OrgUsr result = orgUsrService.getById(Long.valueOf(tempCompany[1]));
firefighters.setBizOrgName(tempCompany[0]); firefighters.setBizOrgName(tempCompany[0]);
firefighters.setBizOrgCode(tempCompany[2]); firefighters.setBizOrgCode(result.getBizOrgCode());
} }
if (firefighters.getNativePlaceValue() != null) { if (firefighters.getNativePlaceValue() != null) {
String[] tempCity = firefighters.getNativePlaceValue().split("@"); String[] tempCity = firefighters.getNativePlaceValue().split("@");
......
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