李春阳 1 rok temu
rodzic
commit
a747046a29

+ 2 - 0
api-common/src/main/java/api/common/pojo/vo/scene/SceneComplexityVO.java

@@ -3,6 +3,7 @@ package api.common.pojo.vo.scene;
 import lombok.*;
 
 import java.io.Serializable;
+import java.sql.Timestamp;
 
 /**
  * 复杂度数据
@@ -21,4 +22,5 @@ public class SceneComplexityVO implements Serializable {
     private String ruleName;
     private String complexity;
     private String complexityLevel;
+    public Timestamp createTime;
 }

+ 2 - 0
api-common/src/main/java/api/common/pojo/vo/scene/SceneRiskVO.java

@@ -3,6 +3,7 @@ package api.common.pojo.vo.scene;
 import lombok.*;
 
 import java.io.Serializable;
+import java.sql.Timestamp;
 
 /**
  * 复杂度数据
@@ -25,4 +26,5 @@ public class SceneRiskVO implements Serializable {
     private String taskId;
     private String risk;
     private String riskLevel;
+    public Timestamp createTime;
 }

+ 1 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/server/infra/db/mysql/mapper/SceneComplexityMapper.java

@@ -13,7 +13,7 @@ public interface SceneComplexityMapper {
 
     List<SceneComplexityPO> selectSceneIdsByEvaluation(SceneComplexityPO sceneComplexityPO);
 
-    @Select("select sc.complexity_id, sc.scene_id, sc.scene_type,sc.rule_id ,ser.rule_name, sc.task_id ,sc.complexity, sc.complexity_level\n" +
+    @Select("select sc.complexity_id, sc.scene_id, sc.scene_type,sc.rule_id ,ser.rule_name, sc.task_id ,sc.complexity, sc.complexity_level, sc.create_time\n" +
             "from scene_complexity sc LEFT JOIN scene_evaluation_rule ser  ON ser.rule_id = sc.rule_id \n" +
             "where sc.scene_id = #{sceneId} order by sc.create_time desc")
     List<SceneComplexityPO> querySceneEvaluationComplexityDetail(@Param("sceneId") String sceneId);

+ 1 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/server/infra/db/mysql/mapper/SceneRiskMapper.java

@@ -16,7 +16,7 @@ public interface SceneRiskMapper {
     List<SceneRiskPO> selectSceneRiskEvaluationForExport(@Param("taskId") String taskId, @Param("list") List<String> list);
 
 
-    @Select("select sr.risk_id, sr.scene_id, sr.scene_type,sr.rule_id ,ser.rule_name, sr.task_id ,sr.risk, sr.risk_level, mv.config_name as vehicle_name, a.algorithm_name \n" +
+    @Select("select sr.risk_id, sr.scene_id, sr.scene_type,sr.rule_id ,ser.rule_name, sr.task_id ,sr.risk, sr.risk_level, mv.config_name as vehicle_name, a.algorithm_name, sr.create_time\n" +
             "from scene_risk sr LEFT JOIN scene_evaluation_rule ser  ON ser.rule_id = sr.rule_id \n" +
             "LEFT JOIN algorithm a  ON sr.algorithm_id = a.id LEFT JOIN model_config mv ON mv.id = sr.vehicle_id  \n" +
             "where sr.scene_id = #{sceneId} order by sr.create_time desc" )