|
@@ -69,16 +69,24 @@ public interface IndexMapper {
|
|
|
@Select("select sublist_id\n" +
|
|
|
"from scene_package_sublist\n" +
|
|
|
"where is_deleted = '0'\n" +
|
|
|
- " and root_id =\n" +
|
|
|
- " (select scene\n" +
|
|
|
- " from simulation_manual_project smp\n" +
|
|
|
- " where id = #{projectId})\n" +
|
|
|
- " and (scene_natural_ids like #{idExtend}\n" +
|
|
|
- " or scene_traffic_ids like #{idExtend}\n" +
|
|
|
- " or scene_statue_ids like #{idExtend}\n" +
|
|
|
- " or scene_generalization_ids like #{idExtend}\n" +
|
|
|
- " )")
|
|
|
- List<String> selectLeafIndexIdByProjectAndSceneId(@Param("projectId") String projectId, @Param("idExtend") String idExtend);
|
|
|
+ " and root_id = (select scene from simulation_manual_project smp where id = #{projectId})\n" +
|
|
|
+ " and (scene_natural_ids like #{idExtend}\n" +
|
|
|
+ " or scene_traffic_ids like #{idExtend}\n" +
|
|
|
+ " or scene_statue_ids like #{idExtend}\n" +
|
|
|
+ " or scene_generalization_ids like #{idExtend}\n" +
|
|
|
+ " )")
|
|
|
+ List<String> selectLeafIndexIdByProjectIdAndSceneIdOfManualProject(@Param("projectId") String projectId, @Param("idExtend") String idExtend);
|
|
|
+
|
|
|
+ @Select("select sublist_id\n" +
|
|
|
+ "from scene_package_sublist\n" +
|
|
|
+ "where is_deleted = '0'\n" +
|
|
|
+ " and root_id = (select scene from simulation_automatic_project sap where id = #{projectId})\n" +
|
|
|
+ " and (scene_natural_ids like #{idExtend}\n" +
|
|
|
+ " or scene_traffic_ids like #{idExtend}\n" +
|
|
|
+ " or scene_statue_ids like #{idExtend}\n" +
|
|
|
+ " or scene_generalization_ids like #{idExtend}\n" +
|
|
|
+ " )")
|
|
|
+ List<String> selectLeafIndexIdByProjectIdAndSceneIdOfAutoSubProject(@Param("projectId") String projectId, @Param("idExtend") String idExtend);
|
|
|
|
|
|
|
|
|
@Delete("delete from simulation_mpt_first_target_score where p_id = #{projectId}")
|