Commit 5837cb25 by 杨林龙

1.50.0 开发1.50.0需求版本 优化警情数据返回结果

1 parent a3738991
...@@ -132,7 +132,7 @@ public class RiskAssessmentService { ...@@ -132,7 +132,7 @@ public class RiskAssessmentService {
// 组装停留点轨迹数据 // 组装停留点轨迹数据
// 通过设备号查询车辆信息 // 通过设备号查询车辆信息
List<Vehicle> vehicleInfoList = vehicleMapper.findVehicleInfoBySn(sn); List<Vehicle> vehicleInfoList = vehicleMapper.findVehicleInfoBySn(sn);
if (CollectionUtils.isNotEmpty(vehicleInfoList)) { if (CollectionUtils.isEmpty(vehicleInfoList)) {
log.warn(sn + "暂设备绑定车辆数据不存在"); log.warn(sn + "暂设备绑定车辆数据不存在");
throw new AdminException(sn + "暂设备绑定车辆数据不存在"); throw new AdminException(sn + "暂设备绑定车辆数据不存在");
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!