Fixing store and loading companyInfo in CompanyMapStore
This commit is contained in:
parent
04905c4e0a
commit
4a9708b205
1 changed files with 13 additions and 2 deletions
|
|
@ -37,7 +37,8 @@ public class CompanyMapStore extends BusinessObjectMapStore<Company> {
|
||||||
return new String[]{
|
return new String[]{
|
||||||
"id", "company_id", "corporation_sole_type", "country_code", "description",
|
"id", "company_id", "corporation_sole_type", "country_code", "description",
|
||||||
"professional_sign", "legal_kind", "organization_type", "residence",
|
"professional_sign", "legal_kind", "organization_type", "residence",
|
||||||
"short_name_eng", "full_name_eng",
|
"short_name_eng", "full_name_eng", "short_name", "full_name", "trading_code",
|
||||||
|
"clearing_code", "registration_code"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -113,6 +114,11 @@ public class CompanyMapStore extends BusinessObjectMapStore<Company> {
|
||||||
companyInfo.setResidence(rs.getString("RESIDENCE"));
|
companyInfo.setResidence(rs.getString("RESIDENCE"));
|
||||||
companyInfo.setShortNameEng(rs.getString("SHORT_NAME_ENG"));
|
companyInfo.setShortNameEng(rs.getString("SHORT_NAME_ENG"));
|
||||||
companyInfo.setFullNameEng(rs.getString("FULL_NAME_ENG"));
|
companyInfo.setFullNameEng(rs.getString("FULL_NAME_ENG"));
|
||||||
|
companyInfo.setShortName(rs.getString("SHORT_NAME"));
|
||||||
|
companyInfo.setFullName(rs.getString("FULL_NAME"));
|
||||||
|
companyInfo.setTradingCode(rs.getString("TRADING_CODE"));
|
||||||
|
companyInfo.setClearingCode(rs.getString("CLEARING_CODE"));
|
||||||
|
companyInfo.setRegistrationCode(rs.getString("REGISTRATION_CODE"));
|
||||||
return companyInfo;
|
return companyInfo;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
@ -144,7 +150,12 @@ public class CompanyMapStore extends BusinessObjectMapStore<Company> {
|
||||||
companyInfo.getOrganizationType(),
|
companyInfo.getOrganizationType(),
|
||||||
companyInfo.getResidence(),
|
companyInfo.getResidence(),
|
||||||
companyInfo.getShortNameEng(),
|
companyInfo.getShortNameEng(),
|
||||||
companyInfo.getFullNameEng()
|
companyInfo.getFullNameEng(),
|
||||||
|
companyInfo.getShortName(),
|
||||||
|
companyInfo.getFullName(),
|
||||||
|
companyInfo.getTradingCode(),
|
||||||
|
companyInfo.getClearingCode(),
|
||||||
|
companyInfo.getRegistrationCode()
|
||||||
));
|
));
|
||||||
return companyInfoArgs;
|
return companyInfoArgs;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue