|
|
@@ -235,6 +235,11 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
addClientRoleDtoList(WaterWayConstant.WATERWAY_CLIENT_ADMIN, dto, list); |
|
|
|
addClientRoleDtoList(WaterWayConstant.WATERWAY_CLIENT_MP, dto, list); |
|
|
|
break; |
|
|
|
//水环境 |
|
|
|
case WeptspConstant.WEPTSP_CLIENT: |
|
|
|
addClientRoleDtoList(WeptspConstant.WEPTSP_CLIENT_ADMIN, dto, list); |
|
|
|
//addClientRoleDtoList(WeptspConstant.WATERWAY_CLIENT_MP, dto, list); |
|
|
|
break; |
|
|
|
default: |
|
|
|
break; |
|
|
|
} |
|
|
@@ -284,6 +289,8 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
x.setPlatformName(PilotConstant.PILOT_NAME); |
|
|
|
} else if (platformCode.contains(AirportConstant.AIRPORT_CLIENT)) { |
|
|
|
x.setPlatformName(AirportConstant.AIRPORT_NAME); |
|
|
|
} else if (platformCode.contains(WeptspConstant.WEPTSP_CLIENT)) { |
|
|
|
x.setPlatformName(WeptspConstant.WEPTSP_NAME); |
|
|
|
} |
|
|
|
return x; |
|
|
|
}); |
|
|
@@ -387,6 +394,8 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
businessSystemVoList.add(getbusinessSystemVo(FreeWayConstant.FREEWAY_CLIENT, FreeWayConstant.FREEWAY_NAME)); |
|
|
|
} else if (authoritiesPo.getAuthority().contains(PilotConstant.PILOT_CLIENT)) { |
|
|
|
businessSystemVoList.add(getbusinessSystemVo(PilotConstant.PILOT_CLIENT, PilotConstant.PILOT_NAME)); |
|
|
|
} else if (authoritiesPo.getAuthority().contains(WeptspConstant.WEPTSP_CLIENT)) { |
|
|
|
businessSystemVoList.add(getbusinessSystemVo(WeptspConstant.WEPTSP_CLIENT, WeptspConstant.WEPTSP_NAME)); |
|
|
|
} |
|
|
|
} |
|
|
|
businessSystemVoList = businessSystemVoList.stream().distinct().collect(Collectors.toList()); |
|
|
@@ -778,6 +787,10 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
case PilotConstant.PILOT_CLIENT: |
|
|
|
url = url + PilotConstant.CREATE_TENANT; |
|
|
|
break; |
|
|
|
//水环境 |
|
|
|
case WeptspConstant.WEPTSP_CLIENT: |
|
|
|
url = url + WeptspConstant.CREATE_TENANT; |
|
|
|
break; |
|
|
|
default: |
|
|
|
break; |
|
|
|
} |
|
|
@@ -841,6 +854,10 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
case PilotConstant.PILOT_CLIENT: |
|
|
|
url = url + PilotConstant.DELETE_TENANT; |
|
|
|
break; |
|
|
|
//水环境 |
|
|
|
case WeptspConstant.WEPTSP_CLIENT: |
|
|
|
url = url + WeptspConstant.DELETE_TENANT; |
|
|
|
break; |
|
|
|
default: |
|
|
|
break; |
|
|
|
} |
|
|
@@ -904,6 +921,10 @@ public class TenantServiceImpl implements TenantService { |
|
|
|
case PilotConstant.PILOT_CLIENT: |
|
|
|
url = url + PilotConstant.UPDATE_TENANT; |
|
|
|
break; |
|
|
|
//水环境 |
|
|
|
case WeptspConstant.WEPTSP_CLIENT: |
|
|
|
url = url + WeptspConstant.UPDATE_TENANT; |
|
|
|
break; |
|
|
|
default: |
|
|
|
break; |
|
|
|
} |