Commit 2a2689e6 by 杨林龙

1.50.0 开发1.50.0需求版本 优化用户行为查询

1 parent 837a1474
...@@ -175,7 +175,7 @@ public class RiskAssessmentService { ...@@ -175,7 +175,7 @@ public class RiskAssessmentService {
List<String> snsList = Arrays.stream(sns.split(",")).collect(Collectors.toList()); List<String> snsList = Arrays.stream(sns.split(",")).collect(Collectors.toList());
List<Integer> sourceList = Arrays.stream(sources.split(",")).map(Integer::parseInt).collect(Collectors.toList()); List<Integer> sourceList = Arrays.stream(sources.split(",")).map(Integer::parseInt).collect(Collectors.toList());
List<Integer> deviceTypeList = Arrays.stream(deviceTypes.split(",")).map(Integer::parseInt).collect(Collectors.toList()); List<Integer> deviceTypeList = Arrays.stream(deviceTypes.split(",")).map(Integer::parseInt).collect(Collectors.toList());
snsList.forEach(s -> snsMap.put(s, deviceTypeList.get(snsList.indexOf(s)))); snsList.forEach(s -> snsMap.put(s, Objects.nonNull(deviceTypeList.get(snsList.indexOf(s))) ? deviceTypeList.get(snsList.indexOf(s)) : 8));
// 获取设备号对应的设备状态 // 获取设备号对应的设备状态
Map<String, DeviceStatusModel> deviceStatusMap = remoteFeignDeviceService.getDeviceStatusBySns(snsMap); Map<String, DeviceStatusModel> deviceStatusMap = remoteFeignDeviceService.getDeviceStatusBySns(snsMap);
// 获取设备号对应的定位信息 // 获取设备号对应的定位信息
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!