|
@@ -315,21 +315,22 @@ public class TaskApplicationService {
|
|
JSONObject jsonObject = JSONObject.parseObject(podString).getJSONObject("scenario");
|
|
JSONObject jsonObject = JSONObject.parseObject(podString).getJSONObject("scenario");
|
|
MultiSimulationProjectResultPO multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
MultiSimulationProjectResultPO multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId())
|
|
multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId())
|
|
- .setAbnormalTimeDescription(jsonObject.getString("collision_time")).setAbnormalType(MultiSimulationResultTypeEnum.COLLISION.getResultType());
|
|
|
|
|
|
+ .setAbnormalTimeDescription(jsonObject.getString("collision_time"))
|
|
|
|
+ .setProjectId(projectId)
|
|
|
|
+ .setAbnormalType(MultiSimulationResultTypeEnum.COLLISION.getResultType());
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
- multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId())
|
|
|
|
|
|
+ multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId()).setProjectId(projectId)
|
|
.setAbnormalTimeDescription(jsonObject.getString("line_crossing_time")).setAbnormalType(MultiSimulationResultTypeEnum.ABNORMAL_PARKING.getResultType());
|
|
.setAbnormalTimeDescription(jsonObject.getString("line_crossing_time")).setAbnormalType(MultiSimulationResultTypeEnum.ABNORMAL_PARKING.getResultType());
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
- multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId())
|
|
|
|
|
|
+ multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId()).setProjectId(projectId)
|
|
.setAbnormalTimeDescription(jsonObject.getString("lane_departure")).setAbnormalType(MultiSimulationResultTypeEnum.OUT_OF_PAVEMENT.getResultType());
|
|
.setAbnormalTimeDescription(jsonObject.getString("lane_departure")).setAbnormalType(MultiSimulationResultTypeEnum.OUT_OF_PAVEMENT.getResultType());
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
multiSimulationProjectResultPO = new MultiSimulationProjectResultPO();
|
|
- multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId())
|
|
|
|
|
|
+ multiSimulationProjectResultPO.setId(StringUtil.getRandomUUID()).setSceneId(taskEntity.getSceneId()).setProjectId(projectId)
|
|
.setAbnormalTimeDescription(jsonObject.getString("phrases")).setAbnormalType(MultiSimulationResultTypeEnum.LAST_DESCRIPTION.getResultType());
|
|
.setAbnormalTimeDescription(jsonObject.getString("phrases")).setAbnormalType(MultiSimulationResultTypeEnum.LAST_DESCRIPTION.getResultType());
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
multiSimulationResultMapper.insertProjectResult(multiSimulationProjectResultPO);
|
|
-
|
|
|
|
// String urlMp4Pub = minioClient.getPresignedObjectUrl(GetPresignedObjectUrlArgs.builder()
|
|
// String urlMp4Pub = minioClient.getPresignedObjectUrl(GetPresignedObjectUrlArgs.builder()
|
|
// .method(Method.GET)
|
|
// .method(Method.GET)
|
|
// .bucket(bucketName)
|
|
// .bucket(bucketName)
|