Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public class EdcrIndexData {
private String transactionNumber;
private String thirdPartyUserTenant;
private String applicantName;
private String tenantId;

// PlanInformation
private String serviceType;
Expand Down Expand Up @@ -231,13 +232,21 @@ public void setFloorsAboveGround(BigDecimal floorsAboveGround) {
this.floorsAboveGround = floorsAboveGround;
}

public String getTenantId() {
return tenantId;
}

public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}

@Override
public String toString() {
return "EdcrIndexData [applicationType=" + applicationType + ", applicationNumber=" + applicationNumber
+ ", applicationDate=" + applicationDate + ", status=" + status + ", planPermitNumber="
+ planPermitNumber + ", permitApplicationDate=" + permitApplicationDate + ", transactionNumber="
+ transactionNumber + ", thirdPartyUserTenant=" + thirdPartyUserTenant + ", applicantName="
+ applicantName + ", serviceType=" + serviceType + ", architectInformation=" + architectInformation
+ applicantName + ", tenantId=" + tenantId + ", serviceType=" + serviceType + ", architectInformation=" + architectInformation
+ ", dcrNumber=" + dcrNumber + ", comparisonDcrNumber=" + comparisonDcrNumber + ", plotBndryArea="
+ plotBndryArea + ", buildingHeight=" + buildingHeight + ", occupancyTypes=" + occupancyTypes
+ ", totalBuitUpArea=" + totalBuitUpArea + ", totalFloorArea=" + totalFloorArea + ", totalCarpetArea="
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ public void pushDataToIndexer(Object data, String topicName) {
public EdcrIndexData setEdcrIndexData(EdcrApplication edcrApplication, EdcrApplicationDetail edcrApplnDtl) {

EdcrIndexData edcrIndexData = new EdcrIndexData();
if (edcrApplication.getTenantId() != null) {
edcrIndexData.setTenantId(edcrApplication.getTenantId());
}
if (edcrApplication.getApplicantName() != null) {
edcrIndexData.setApplicantName(edcrApplication.getApplicantName());
}
Expand Down