Company map store fix
This commit is contained in:
parent
20bbf515ff
commit
4df954baa2
1 changed files with 3 additions and 13 deletions
|
|
@ -36,8 +36,8 @@ public class CompanyMapStore extends BusinessObjectMapStore<Company> {
|
||||||
public String[] getFieldsForCompanyInfo() {
|
public String[] getFieldsForCompanyInfo() {
|
||||||
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", "short_name", "full_name",
|
"professional_sign", "legal_kind", "organization_type", "residence",
|
||||||
"short_name_eng", "full_name_eng", "trading_code", "clearing_code", "registration_code"
|
"short_name_eng", "full_name_eng",
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -111,13 +111,8 @@ public class CompanyMapStore extends BusinessObjectMapStore<Company> {
|
||||||
companyInfo.setLegalKind(rs.getString("LEGAL_KIND"));
|
companyInfo.setLegalKind(rs.getString("LEGAL_KIND"));
|
||||||
companyInfo.setOrganizationType(rs.getString("ORGANIZATION_TYPE"));
|
companyInfo.setOrganizationType(rs.getString("ORGANIZATION_TYPE"));
|
||||||
companyInfo.setResidence(rs.getString("RESIDENCE"));
|
companyInfo.setResidence(rs.getString("RESIDENCE"));
|
||||||
companyInfo.setShortName(rs.getString("SHORT_NAME"));
|
|
||||||
companyInfo.setFullName(rs.getString("FULL_NAME"));
|
|
||||||
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.setTradingCode(rs.getObject("TRADING_CODE", String.class));
|
|
||||||
companyInfo.setClearingCode(rs.getObject("CLEARING_CODE", String.class));
|
|
||||||
companyInfo.setRegistrationCode(rs.getObject("REGISTRATION_CODE", String.class));
|
|
||||||
return companyInfo;
|
return companyInfo;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
@ -148,13 +143,8 @@ public class CompanyMapStore extends BusinessObjectMapStore<Company> {
|
||||||
companyInfo.getLegalKind(),
|
companyInfo.getLegalKind(),
|
||||||
companyInfo.getOrganizationType(),
|
companyInfo.getOrganizationType(),
|
||||||
companyInfo.getResidence(),
|
companyInfo.getResidence(),
|
||||||
companyInfo.getShortName(),
|
|
||||||
companyInfo.getFullName(),
|
|
||||||
companyInfo.getShortNameEng(),
|
companyInfo.getShortNameEng(),
|
||||||
companyInfo.getFullNameEng(),
|
companyInfo.getFullNameEng()
|
||||||
companyInfo.getTradingCode(),
|
|
||||||
companyInfo.getClearingCode(),
|
|
||||||
companyInfo.getRegistrationCode()
|
|
||||||
));
|
));
|
||||||
return companyInfoArgs;
|
return companyInfoArgs;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue