Selaa lähdekoodia

fix bug

release_toaliyun_real
xiaohanzi 5 vuotta sitten
vanhempi
commit
9878b6cb71
1 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. +4
    -4
      mallinkCApi/src/main/java/com/iformall/controller/BaseController.java

+ 4
- 4
mallinkCApi/src/main/java/com/iformall/controller/BaseController.java Näytä tiedosto

@@ -96,15 +96,15 @@ public class BaseController {
HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest();
String tenantId = (String) request.getAttribute(Constant.TENANT_ID);
String parentTenantId = (String) request.getAttribute(Constant.PARENT_TENANT_ID);
TenantEntity tenantEntity = new TenantEntity() {{
setTenantId(tenantId);
setParentTenantId(parentTenantId);
}};
TenantEntity tenantEntity = new TenantEntity() ;
tenantEntity.setTenantId(tenantId);
tenantEntity.setParentTenantId(parentTenantId);
return tenantEntity;
}

public String getFinalTenantId() {
TenantEntity tenantEntity = getTenantInfo();
String tenantId = tenantEntity.getTenantId();
return tenantEntity.getFinalTenantId();
}


Ladataan…
Peruuta
Tallenna