|
@@ -29,24 +29,7 @@ public interface ScenePackageSublistMapper {
|
|
List<String> selectPackageIdById(SceneDeleteParam param);
|
|
List<String> selectPackageIdById(SceneDeleteParam param);
|
|
|
|
|
|
|
|
|
|
- void deleteScenePackageSublistById(SceneDeleteParam param);
|
|
|
|
-
|
|
|
|
- @Update("update simulation.scene_package_sublist\n" +
|
|
|
|
- "set scene_natural_ids = replace(replace(replace(scene_natural_ids, concat(#{sceneZrId}, ','), ''), concat(',', #{sceneZrId}), ''),#{sceneZrId}, '')\n" +
|
|
|
|
-
|
|
|
|
- " where\n" +
|
|
|
|
- " is_deleted='0'\n" +
|
|
|
|
- " <if test=\"sceneZrId != null and sceneZrId != ''\">\n" +
|
|
|
|
- " and scene_natural_ids like CONCAT('%',#{sceneZrId,jdbcType=VARCHAR},'%')\n" +
|
|
|
|
- " </if>\n" +
|
|
|
|
- " <if test=\"sceneJtId != null and sceneJtId != ''\">\n" +
|
|
|
|
- " and scene_traffic_ids like CONCAT('%',#{sceneJtId,jdbcType=VARCHAR},'%')\n" +
|
|
|
|
- " </if>\n" +
|
|
|
|
- " <if test=\"sceneBzId != null and sceneBzId != ''\">\n" +
|
|
|
|
- " and scene_statue_ids like CONCAT('%',#{sceneBzId,jdbcType=VARCHAR},'%')\n" +
|
|
|
|
- " </if>\n" +
|
|
|
|
- " <if test=\"sceneFhId != null and sceneFhId != ''\">\n" +
|
|
|
|
- " and scene_generalization_ids like CONCAT('%',#{sceneFhId,jdbcType=VARCHAR},'%')\n" +
|
|
|
|
- " </if>")
|
|
|
|
- void updateSceneNaturalIdsBySceneId();
|
|
|
|
|
|
+ void updateScenePackageSublistById(SceneDeleteParam param);
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|