|
@@ -11,6 +11,7 @@ import com.css.simulation.resource.video.mapper.VehicleMapper;
|
|
|
import com.css.simulation.resource.video.util.MinioUtil;
|
|
|
import io.minio.MinioClient;
|
|
|
import lombok.SneakyThrows;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.dom4j.Attribute;
|
|
|
import org.dom4j.Document;
|
|
|
import org.dom4j.Element;
|
|
@@ -30,6 +31,7 @@ import java.nio.file.Paths;
|
|
|
import java.util.Iterator;
|
|
|
|
|
|
@Service
|
|
|
+@Slf4j
|
|
|
public class VideoService {
|
|
|
@Resource
|
|
|
VehicleMapper vehicleMapper;
|
|
@@ -273,9 +275,12 @@ public class VideoService {
|
|
|
} else if (projectType.equals("2")) {
|
|
|
vehicle = simulationAutomaticProjectMapper.vehicleByZdId(projectId);
|
|
|
}
|
|
|
+ log.info("VideoService--vehicleById 车辆配置 Id 为:" + vehicle);
|
|
|
String vehicleId = configMapper.getVehicleId(vehicle);
|
|
|
|
|
|
+ log.info("VideoService--vehicleById 车辆 Id 为:" + vehicleId);
|
|
|
VehicleVO vehicleInfo = vehicleMapper.getVehicleInfo(vehicleId);
|
|
|
+ log.info("VideoService--vehicleById 车辆信息为:" + vehicleInfo);
|
|
|
|
|
|
//自车模型
|
|
|
String car = vehicleInfo.getVehicleTypeStr().substring(0, vehicleInfo.getVehicleTypeStr().indexOf(","));
|