SUPPORT-8407: Fix
This commit is contained in:
parent
b947bab361
commit
5c9dd1ccb1
2 changed files with 6 additions and 16 deletions
|
|
@ -22,13 +22,11 @@ public class OrganizationModel implements Serializable {
|
|||
|
||||
private String type;
|
||||
|
||||
private String typeName;
|
||||
|
||||
private String inn;
|
||||
|
||||
private String ogrn;
|
||||
|
||||
private String orgTypeLeg;
|
||||
private String leg;
|
||||
|
||||
private String kpp;
|
||||
|
||||
|
|
@ -88,12 +86,12 @@ public class OrganizationModel implements Serializable {
|
|||
this.ogrn = ogrn;
|
||||
}
|
||||
|
||||
public String getOrgTypeLeg() {
|
||||
return orgTypeLeg;
|
||||
public String getLeg() {
|
||||
return leg;
|
||||
}
|
||||
|
||||
public void setOrgTypeLeg(String orgTypeLeg) {
|
||||
this.orgTypeLeg = orgTypeLeg;
|
||||
public void setLeg(String leg) {
|
||||
this.leg = leg;
|
||||
}
|
||||
|
||||
public String getKpp() {
|
||||
|
|
@ -152,14 +150,6 @@ public class OrganizationModel implements Serializable {
|
|||
this.type = type;
|
||||
}
|
||||
|
||||
public String getTypeName() {
|
||||
return typeName;
|
||||
}
|
||||
|
||||
public void setTypeName(String typeName) {
|
||||
this.typeName = typeName;
|
||||
}
|
||||
|
||||
public Long getStaffCount() {
|
||||
return staffCount;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public class UlDataServiceImpl implements UlDataService {
|
|||
private EmployeeModel getEmplData(String prsnId, String orgOid, String accessToken) {
|
||||
try {
|
||||
String url = esiaConfig.getEsiaBaseUri() + "rs/orgs/" + orgOid + "/emps/" + prsnId;
|
||||
HttpRequest getReq = HttpRequest.newBuilder(URI.create(url + prsnId))
|
||||
HttpRequest getReq = HttpRequest.newBuilder(URI.create(url))
|
||||
.header(HttpHeaders.CONTENT_TYPE, "application/x-www-form-urlencoded")
|
||||
.header("Authorization", "Bearer ".concat(accessToken))
|
||||
.GET()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue