mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 16:30:29 +08:00
fix: relocate cwos-portal decompiled output to correct path; remove nested directory
Former-commit-id: dc30d42a8c55ed8b2382a41dc2434233fbed9930
This commit is contained in:
+4
-3
@@ -23,14 +23,15 @@ public class AcsApplicationServiceImpl implements AcsApplicationService {
|
||||
|
||||
@Cacheable(cacheNames = {"ACS_Applicationids"},
|
||||
key = "T(cn.cloudwalk.biz.ninca.accesscontrol.cache.CacheOverrideConfig).CACHE_KEY_APPLICATION_IDS_PREFIX + #businessId")
|
||||
@Override
|
||||
public String getApplicationId(String businessId) throws ServiceException {
|
||||
ApplicationQueryParam param = new ApplicationQueryParam();
|
||||
param.setBusinessId(businessId);
|
||||
param.setServiceCode("elevator-app");
|
||||
CloudwalkResult<List<ApplicationResult>> cloudwalkResult = this.applicationService.query(param);
|
||||
CloudwalkResult cloudwalkResult = this.applicationService.query(param);
|
||||
if (cloudwalkResult.isSuccess()) {
|
||||
if (CollectionUtils.isNotEmpty((Collection)cloudwalkResult.getData())) {
|
||||
return ((ApplicationResult)((List<ApplicationResult>)cloudwalkResult.getData()).get(0)).getId();
|
||||
if (CollectionUtils.isNotEmpty((Collection)((Collection)cloudwalkResult.getData()))) {
|
||||
return ((ApplicationResult)((List)cloudwalkResult.getData()).get(0)).getId();
|
||||
}
|
||||
logger.info("未查到applicationId");
|
||||
throw new ServiceException("76260005", "未查到applicationId");
|
||||
|
||||
-1
@@ -18,7 +18,6 @@ public class UpdateFloorsTaskExecutor {
|
||||
threadPoolTaskExecutor.setAllowCoreThreadTimeOut(this.updateFloorsPoolProperties.isAllowCoreThreadTimeOut());
|
||||
threadPoolTaskExecutor.setMaxPoolSize(this.updateFloorsPoolProperties.getMaxPoolSize());
|
||||
threadPoolTaskExecutor.setQueueCapacity(this.updateFloorsPoolProperties.getQueueCapacity());
|
||||
threadPoolTaskExecutor.setKeepAliveSeconds(this.updateFloorsPoolProperties.getKeepAliveSeconds());
|
||||
threadPoolTaskExecutor.setThreadNamePrefix("update-floors-pool-");
|
||||
threadPoolTaskExecutor.setRejectedExecutionHandler(new ThreadPoolExecutor.AbortPolicy());
|
||||
threadPoolTaskExecutor.initialize();
|
||||
|
||||
+138
-129
@@ -353,34 +353,36 @@ public class AcsElevatorDeviceServiceImpl extends AbstractAcsPassService impleme
|
||||
public CloudwalkResult listFloors(AcsRestructureQueryParam param, CloudwalkCallContext context)
|
||||
throws ServiceException {
|
||||
try {
|
||||
List<AcsPassRuleImageResultDto> floorList, unBindFloors;
|
||||
List<AcsDeviceRestructureResult> results = new ArrayList<>();
|
||||
List<AcsPassRuleImageResultDto> floorList;
|
||||
List<AcsPassRuleImageResultDto> unBindFloors;
|
||||
ArrayList<AcsDeviceRestructureResult> results = new ArrayList<>();
|
||||
AcsPassRuleImageDto dto;
|
||||
if (!ObjectUtils.isEmpty(param.getPersonId())) {
|
||||
AcsPassRuleImageDto acsPassRuleImageDto = new AcsPassRuleImageDto();
|
||||
acsPassRuleImageDto.setPersonId(param.getPersonId());
|
||||
dto = new AcsPassRuleImageDto();
|
||||
dto.setPersonId(param.getPersonId());
|
||||
PersonDetailParam detailParam = new PersonDetailParam();
|
||||
detailParam.setId(param.getPersonId());
|
||||
detailParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
CloudwalkResult<PersonResult> detail = this.personService.detail(detailParam, context);
|
||||
CloudwalkResult detail = this.personService.detail(detailParam, context);
|
||||
if (!CollectionUtils.isEmpty(((PersonResult)detail.getData()).getLabelIds())) {
|
||||
acsPassRuleImageDto.setIncludeLabels(((PersonResult)detail.getData()).getLabelIds());
|
||||
dto.setIncludeLabels(((PersonResult)detail.getData()).getLabelIds());
|
||||
}
|
||||
if (!CollectionUtils.isEmpty(((PersonResult)detail.getData()).getOrganizationIds())) {
|
||||
acsPassRuleImageDto.setIncludeOrganizations(((PersonResult)detail.getData()).getOrganizationIds());
|
||||
dto.setIncludeOrganizations(((PersonResult)detail.getData()).getOrganizationIds());
|
||||
}
|
||||
floorList = this.imageRuleRefDao.listByPersonInfo(acsPassRuleImageDto);
|
||||
floorList = this.imageRuleRefDao.listByPersonInfo(dto);
|
||||
} else {
|
||||
AcsPassRuleImageDto acsPassRuleImageDto = new AcsPassRuleImageDto();
|
||||
dto = new AcsPassRuleImageDto();
|
||||
if (!ObjectUtils.isEmpty(param.getLabelId())) {
|
||||
acsPassRuleImageDto.setIncludeLabels(Collections.singletonList(param.getLabelId()));
|
||||
dto.setIncludeLabels(Collections.singletonList(param.getLabelId()));
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(param.getOrgId())) {
|
||||
acsPassRuleImageDto.setIncludeOrganizations(Collections.singletonList(param.getOrgId()));
|
||||
dto.setIncludeOrganizations(Collections.singletonList(param.getOrgId()));
|
||||
}
|
||||
floorList = this.imageRuleRefDao.listByRestructure(acsPassRuleImageDto);
|
||||
floorList = this.imageRuleRefDao.listByRestructure(dto);
|
||||
}
|
||||
AcsElevatorDeviceListDto dto = new AcsElevatorDeviceListDto();
|
||||
List<String> floorIds = new ArrayList<>();
|
||||
AcsElevatorDeviceListDto listDto = new AcsElevatorDeviceListDto();
|
||||
ArrayList<String> floorIds = new ArrayList<>();
|
||||
if (!CollectionUtils.isEmpty(floorList)) {
|
||||
floorList.forEach(floor -> floorIds.add(floor.getZoneId()));
|
||||
}
|
||||
@@ -395,37 +397,38 @@ public class AcsElevatorDeviceServiceImpl extends AbstractAcsPassService impleme
|
||||
queryDto.setZoneIds(floorIds);
|
||||
unBindFloors = this.imageRuleRefDao.listByNotZoneIds(queryDto);
|
||||
}
|
||||
List<String> unBindFloorIds = new ArrayList<>();
|
||||
if (!CollectionUtils.isEmpty(unBindFloors)) {
|
||||
unBindFloors.forEach(floor -> unBindFloorIds.add(floor.getZoneId()));
|
||||
} else {
|
||||
ArrayList<String> unBindFloorIds = new ArrayList<>();
|
||||
if (CollectionUtils.isEmpty(unBindFloors)) {
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
unBindFloors.forEach(floor -> unBindFloorIds.add(floor.getZoneId()));
|
||||
if (!ObjectUtils.isEmpty(param.getZoneId())) {
|
||||
dto.setCurrentFloorId(param.getZoneId());
|
||||
listDto.setCurrentFloorId(param.getZoneId());
|
||||
} else {
|
||||
dto.setCurrentFloorIds(unBindFloorIds);
|
||||
listDto.setCurrentFloorIds(unBindFloorIds);
|
||||
}
|
||||
List<AcsElevatorDeviceResultDTO> deviceList = this.acsElevatorDeviceDao.listByZoneIds(dto);
|
||||
List<String> deviceIds = new ArrayList<>();
|
||||
Map<String, DeviceResult> mapDevice = new HashMap<>();
|
||||
List deviceList = this.acsElevatorDeviceDao.listByZoneIds(listDto);
|
||||
ArrayList<String> deviceIds = new ArrayList<>();
|
||||
HashMap<String, DeviceResult> mapDevice = new HashMap<>();
|
||||
if (!CollectionUtils.isEmpty(deviceList)) {
|
||||
deviceList.forEach(device -> deviceIds.add(device.getDeviceId()));
|
||||
deviceList.forEach(
|
||||
device -> deviceIds.add(((AcsElevatorDeviceResultDTO)device).getDeviceId()));
|
||||
DeviceQueryParam queryParam = new DeviceQueryParam();
|
||||
queryParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
queryParam.setIds(deviceIds);
|
||||
CloudwalkResult<List<DeviceResult>> resultList = this.deviceService.list(queryParam, context);
|
||||
List<DeviceResult> list = (List<DeviceResult>)resultList.getData();
|
||||
CloudwalkResult resultList = this.deviceService.list(queryParam, context);
|
||||
List list = (List)resultList.getData();
|
||||
if (list != null && list.size() > 0) {
|
||||
for (DeviceResult deviceResult : list) {
|
||||
mapDevice.put(deviceResult.getId(), deviceResult);
|
||||
for (Object o : list) {
|
||||
DeviceResult dr = (DeviceResult)o;
|
||||
mapDevice.put(dr.getId(), dr);
|
||||
}
|
||||
}
|
||||
}
|
||||
for (AcsPassRuleImageResultDto floor : unBindFloors) {
|
||||
for (AcsPassRuleImageResultDto floor2 : unBindFloors) {
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor.getZoneId());
|
||||
result.setZoneName(floor.getZoneName());
|
||||
result.setZoneId(floor2.getZoneId());
|
||||
result.setZoneName(floor2.getZoneName());
|
||||
if (!CollectionUtils.isEmpty(deviceList)) {
|
||||
result.setParentId(((AcsElevatorDeviceResultDTO)deviceList.get(0)).getCurrentBuildingId());
|
||||
} else {
|
||||
@@ -434,25 +437,24 @@ public class AcsElevatorDeviceServiceImpl extends AbstractAcsPassService impleme
|
||||
String online = "";
|
||||
String offline = "";
|
||||
if (!CollectionUtils.isEmpty(deviceList)) {
|
||||
for (int i = 0; i < deviceList.size(); i++) {
|
||||
if (floor.getZoneId()
|
||||
.equals(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getCurrentFloorId())) {
|
||||
DeviceResult deviceResult =
|
||||
mapDevice.get(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getDeviceId());
|
||||
if (!ObjectUtils.isEmpty(deviceResult)) {
|
||||
if ("2".equals(deviceResult.getOnlineStatus())) {
|
||||
if ("".equals(online)) {
|
||||
online = online + deviceResult.getDeviceName();
|
||||
} else {
|
||||
online = online + "," + deviceResult.getDeviceName();
|
||||
}
|
||||
} else if ("".equals(offline)) {
|
||||
offline = offline + deviceResult.getDeviceName();
|
||||
} else {
|
||||
offline = offline + ',' + deviceResult.getDeviceName();
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < deviceList.size(); ++i) {
|
||||
DeviceResult deviceResult;
|
||||
if (!floor2.getZoneId()
|
||||
.equals(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getCurrentFloorId())
|
||||
|| ObjectUtils.isEmpty((deviceResult = mapDevice
|
||||
.get(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getDeviceId())))) {
|
||||
continue;
|
||||
}
|
||||
if ("2".equals(deviceResult.getOnlineStatus())) {
|
||||
if ("".equals(online)) {
|
||||
online = online + deviceResult.getDeviceName();
|
||||
continue;
|
||||
}
|
||||
online = online + "," + deviceResult.getDeviceName();
|
||||
continue;
|
||||
}
|
||||
offline = "".equals(offline) ? offline + deviceResult.getDeviceName()
|
||||
: offline + ',' + deviceResult.getDeviceName();
|
||||
}
|
||||
}
|
||||
result.setOnlineDevices(online);
|
||||
@@ -470,17 +472,18 @@ public class AcsElevatorDeviceServiceImpl extends AbstractAcsPassService impleme
|
||||
throws ServiceException {
|
||||
try {
|
||||
List<AcsPassRuleImageResultDto> floorList;
|
||||
List<AcsDeviceRestructureResult> results = new ArrayList<>();
|
||||
AcsPassRuleImageDto dto;
|
||||
ArrayList<AcsDeviceRestructureResult> results = new ArrayList<>();
|
||||
if (!ObjectUtils.isEmpty(param.getBusinessId())) {
|
||||
context.getCompany().setCompanyId(param.getBusinessId());
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(param.getPersonId())) {
|
||||
AcsPassRuleImageDto dto = new AcsPassRuleImageDto();
|
||||
dto = new AcsPassRuleImageDto();
|
||||
dto.setPersonId(param.getPersonId());
|
||||
PersonDetailParam detailParam = new PersonDetailParam();
|
||||
detailParam.setId(param.getPersonId());
|
||||
detailParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
CloudwalkResult<PersonResult> detail = this.personService.detail(detailParam, context);
|
||||
CloudwalkResult detail = this.personService.detail(detailParam, context);
|
||||
if (!CollectionUtils.isEmpty(((PersonResult)detail.getData()).getLabelIds())) {
|
||||
dto.setIncludeLabels(((PersonResult)detail.getData()).getLabelIds());
|
||||
}
|
||||
@@ -489,7 +492,7 @@ public class AcsElevatorDeviceServiceImpl extends AbstractAcsPassService impleme
|
||||
}
|
||||
floorList = this.imageRuleRefDao.listByPersonInfo(dto);
|
||||
} else {
|
||||
AcsPassRuleImageDto dto = new AcsPassRuleImageDto();
|
||||
dto = new AcsPassRuleImageDto();
|
||||
if (!ObjectUtils.isEmpty(param.getLabelId())) {
|
||||
dto.setIncludeLabels(Collections.singletonList(param.getLabelId()));
|
||||
}
|
||||
@@ -498,90 +501,96 @@ public class AcsElevatorDeviceServiceImpl extends AbstractAcsPassService impleme
|
||||
}
|
||||
floorList = this.imageRuleRefDao.listByRestructure(dto);
|
||||
}
|
||||
if (!CollectionUtils.isEmpty(floorList)) {
|
||||
AcsElevatorDeviceListDto dto = new AcsElevatorDeviceListDto();
|
||||
List<String> floorIds = new ArrayList<>();
|
||||
floorList.forEach(floor -> floorIds.add(floor.getZoneId()));
|
||||
if (!ObjectUtils.isEmpty(param.getZoneId())) {
|
||||
if (floorIds.contains(param.getZoneId())) {
|
||||
dto.setCurrentFloorIds(Collections.singletonList(param.getZoneId()));
|
||||
} else {
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
} else {
|
||||
dto.setCurrentFloorIds(floorIds);
|
||||
if (CollectionUtils.isEmpty(floorList)) {
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
AcsElevatorDeviceListDto listDto = new AcsElevatorDeviceListDto();
|
||||
ArrayList<String> floorIds = new ArrayList<>();
|
||||
floorList.forEach(floor -> floorIds.add(floor.getZoneId()));
|
||||
if (!ObjectUtils.isEmpty(param.getZoneId())) {
|
||||
if (!floorIds.contains(param.getZoneId())) {
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
List<AcsElevatorDeviceResultDTO> deviceList = this.acsElevatorDeviceDao.listByZoneIds(dto);
|
||||
if (!CollectionUtils.isEmpty(deviceList)) {
|
||||
List<String> deviceIds = new ArrayList<>();
|
||||
deviceList.forEach(device -> deviceIds.add(device.getDeviceId()));
|
||||
Map<String, DeviceResult> mapDevice = new HashMap<>();
|
||||
DeviceQueryParam queryParam = new DeviceQueryParam();
|
||||
queryParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
queryParam.setIds(deviceIds);
|
||||
CloudwalkResult<List<DeviceResult>> resultList = this.deviceService.list(queryParam, context);
|
||||
List<DeviceResult> list = (List<DeviceResult>)resultList.getData();
|
||||
if (list != null && list.size() > 0) {
|
||||
for (DeviceResult deviceResult : list) {
|
||||
mapDevice.put(deviceResult.getId(), deviceResult);
|
||||
}
|
||||
listDto.setCurrentFloorIds(Collections.singletonList(param.getZoneId()));
|
||||
} else {
|
||||
listDto.setCurrentFloorIds(floorIds);
|
||||
}
|
||||
List deviceList = this.acsElevatorDeviceDao.listByZoneIds(listDto);
|
||||
if (!CollectionUtils.isEmpty(deviceList)) {
|
||||
ArrayList<String> deviceIds = new ArrayList<>();
|
||||
deviceList.forEach(
|
||||
device -> deviceIds.add(((AcsElevatorDeviceResultDTO)device).getDeviceId()));
|
||||
HashMap<String, DeviceResult> mapDevice = new HashMap<>();
|
||||
DeviceQueryParam queryParam = new DeviceQueryParam();
|
||||
queryParam.setBusinessId(context.getCompany().getCompanyId());
|
||||
queryParam.setIds(deviceIds);
|
||||
CloudwalkResult resultList = this.deviceService.list(queryParam, context);
|
||||
List list = (List)resultList.getData();
|
||||
if (list != null && list.size() > 0) {
|
||||
for (Object o : list) {
|
||||
DeviceResult dr = (DeviceResult)o;
|
||||
mapDevice.put(dr.getId(), dr);
|
||||
}
|
||||
for (AcsPassRuleImageResultDto floor : floorList) {
|
||||
if (!ObjectUtils.isEmpty(param.getZoneId()) && !param.getZoneId().equals(floor.getZoneId())) {
|
||||
}
|
||||
for (AcsPassRuleImageResultDto floor2 : floorList) {
|
||||
if (!ObjectUtils.isEmpty(param.getZoneId()) && !param.getZoneId().equals(floor2.getZoneId())) {
|
||||
continue;
|
||||
}
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor2.getZoneId());
|
||||
result.setZoneName(floor2.getZoneName());
|
||||
result.setParentId(this.floorBuildingId);
|
||||
String online = "";
|
||||
String offline = "";
|
||||
for (int i = 0; i < deviceList.size(); ++i) {
|
||||
if (!floor2.getZoneId()
|
||||
.equals(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getCurrentFloorId())) {
|
||||
continue;
|
||||
}
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor.getZoneId());
|
||||
result.setZoneName(floor.getZoneName());
|
||||
result.setParentId(this.floorBuildingId);
|
||||
String online = "";
|
||||
String offline = "";
|
||||
for (int i = 0; i < deviceList.size(); i++) {
|
||||
if (floor.getZoneId()
|
||||
.equals(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getCurrentFloorId())) {
|
||||
DeviceResult deviceResult =
|
||||
mapDevice.get(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getDeviceId());
|
||||
result.setParentId(
|
||||
((AcsElevatorDeviceResultDTO)deviceList.get(i)).getCurrentBuildingId());
|
||||
if (!ObjectUtils.isEmpty(deviceResult)) {
|
||||
if ("2".equals(deviceResult.getOnlineStatus())) {
|
||||
if ("".equals(online)) {
|
||||
online = online + deviceResult.getDeviceName();
|
||||
} else {
|
||||
online = online + "," + deviceResult.getDeviceName();
|
||||
}
|
||||
} else if ("".equals(offline)) {
|
||||
offline = offline + deviceResult.getDeviceName();
|
||||
} else {
|
||||
offline = offline + ',' + deviceResult.getDeviceName();
|
||||
}
|
||||
}
|
||||
DeviceResult deviceResult =
|
||||
mapDevice.get(((AcsElevatorDeviceResultDTO)deviceList.get(i)).getDeviceId());
|
||||
result.setParentId(
|
||||
((AcsElevatorDeviceResultDTO)deviceList.get(i)).getCurrentBuildingId());
|
||||
if (ObjectUtils.isEmpty(deviceResult)) {
|
||||
continue;
|
||||
}
|
||||
if ("2".equals(deviceResult.getOnlineStatus())) {
|
||||
if ("".equals(online)) {
|
||||
online = online + deviceResult.getDeviceName();
|
||||
continue;
|
||||
}
|
||||
online = online + "," + deviceResult.getDeviceName();
|
||||
continue;
|
||||
}
|
||||
result.setOnlineDevices(online);
|
||||
result.setOfflineDevices(offline);
|
||||
results.add(result);
|
||||
}
|
||||
} else if (!ObjectUtils.isEmpty(param.getZoneId())) {
|
||||
for (AcsPassRuleImageResultDto floor : floorList) {
|
||||
if (floor.getZoneId().equals(param.getZoneId())) {
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor.getZoneId());
|
||||
result.setZoneName(floor.getZoneName());
|
||||
result.setParentId(this.floorBuildingId);
|
||||
results.add(result);
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (AcsPassRuleImageResultDto floor : floorList) {
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor.getZoneId());
|
||||
result.setZoneName(floor.getZoneName());
|
||||
result.setParentId(this.floorBuildingId);
|
||||
results.add(result);
|
||||
offline = "".equals(offline) ? offline + deviceResult.getDeviceName()
|
||||
: offline + ',' + deviceResult.getDeviceName();
|
||||
}
|
||||
result.setOnlineDevices(online);
|
||||
result.setOfflineDevices(offline);
|
||||
results.add(result);
|
||||
}
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
if (!ObjectUtils.isEmpty(param.getZoneId())) {
|
||||
for (AcsPassRuleImageResultDto floor3 : floorList) {
|
||||
if (!floor3.getZoneId().equals(param.getZoneId())) {
|
||||
continue;
|
||||
}
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor3.getZoneId());
|
||||
result.setZoneName(floor3.getZoneName());
|
||||
result.setParentId(this.floorBuildingId);
|
||||
results.add(result);
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
return CloudwalkResult.success(results);
|
||||
}
|
||||
for (AcsPassRuleImageResultDto floor4 : floorList) {
|
||||
AcsDeviceRestructureResult result = new AcsDeviceRestructureResult();
|
||||
result.setZoneId(floor4.getZoneId());
|
||||
result.setZoneName(floor4.getZoneName());
|
||||
result.setParentId(this.floorBuildingId);
|
||||
results.add(result);
|
||||
}
|
||||
return CloudwalkResult.success(results);
|
||||
} catch (Exception e) {
|
||||
|
||||
+2
-2
@@ -112,11 +112,11 @@ public class ElevatorRecordSendTask {
|
||||
CloudwalkResult<SendRecordTokenResult> tokenResult =
|
||||
(CloudwalkResult<SendRecordTokenResult>)RestTemplateUtil.post(uri, sendRecordTokenParam, null,
|
||||
new TypeReference<CloudwalkResult<SendRecordTokenResult>>() {});
|
||||
LinkedMultiValueMap linkedMultiValueMap = new LinkedMultiValueMap();
|
||||
MultiValueMap<String, String> linkedMultiValueMap = new LinkedMultiValueMap<>();
|
||||
linkedMultiValueMap.add("token", ((SendRecordTokenResult)tokenResult.getData()).getToken());
|
||||
URI uri2 =
|
||||
combineAuthClientURI("/forward_webfront/api/pti-oapi/v2/api/starriver/device/sign-third-import",
|
||||
(MultiValueMap<String, String>)linkedMultiValueMap);
|
||||
linkedMultiValueMap);
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.set("token", ((SendRecordTokenResult)tokenResult.getData()).getToken());
|
||||
SendRecordSendParam sendParam2 = new SendRecordSendParam();
|
||||
|
||||
Reference in New Issue
Block a user