|
@@ -20,47 +20,41 @@ public interface SceneImportMapper {
|
|
void update(SceneImportPO po);
|
|
void update(SceneImportPO po);
|
|
|
|
|
|
void updateStatus(SceneImportPO po);
|
|
void updateStatus(SceneImportPO po);
|
|
|
|
+
|
|
void updateInfo(SceneImportPO po);
|
|
void updateInfo(SceneImportPO po);
|
|
|
|
|
|
SceneImportPO querySceneImportByTaskId(String id);
|
|
SceneImportPO querySceneImportByTaskId(String id);
|
|
- void deleteImportTask(SceneImportPO po);
|
|
|
|
|
|
|
|
- @Delete("")
|
|
|
|
- void deleteSceneByTaskId(String taskId);
|
|
|
|
-
|
|
|
|
- @Select("select scene_type\n" +
|
|
|
|
- "from scene_import_task\n" +
|
|
|
|
- "where id = #{taskId}")
|
|
|
|
- String selectSceneTypeByTaskId(@Param("taskId") String taskId);
|
|
|
|
|
|
+ void deleteImportTask(SceneImportPO po);
|
|
|
|
|
|
@Update("update scene_natural\n" +
|
|
@Update("update scene_natural\n" +
|
|
"set is_deleted = '1',\n" +
|
|
"set is_deleted = '1',\n" +
|
|
- " modify_user_id = '#{po.modifyUseId}',\n" +
|
|
|
|
- " modify_time = '#{po.modifyTime}'\n" +
|
|
|
|
|
|
+ " modify_user_id = #{po.modifyUserId},\n" +
|
|
|
|
+ " modify_time = #{po.modifyTime}\n" +
|
|
"where natural_name in (select scene_names\n" +
|
|
"where natural_name in (select scene_names\n" +
|
|
" from scene_import_task\n" +
|
|
" from scene_import_task\n" +
|
|
- " where id = '#{po.taskId}'\n" +
|
|
|
|
|
|
+ " where id = #{po.id}\n" +
|
|
")")
|
|
")")
|
|
- void deleteNaturalByTaskId(@Param("po")SceneImportPO sceneImportPO);
|
|
|
|
|
|
+ void deleteNaturalByTaskId(@Param("po") SceneImportPO sceneImportPO);
|
|
|
|
|
|
@Update("update scene_standards_regulations\n" +
|
|
@Update("update scene_standards_regulations\n" +
|
|
"set is_deleted = '1',\n" +
|
|
"set is_deleted = '1',\n" +
|
|
- " modify_user_id = '#{po.modifyUseId}',\n" +
|
|
|
|
- " modify_time = '#{po.modifyTime}'\n" +
|
|
|
|
|
|
+ " modify_user_id = #{po.modifyUserId},\n" +
|
|
|
|
+ " modify_time = #{po.modifyTime}\n" +
|
|
"where scene_name in (select scene_names\n" +
|
|
"where scene_name in (select scene_names\n" +
|
|
" from scene_import_task\n" +
|
|
" from scene_import_task\n" +
|
|
- " where id = '#{po.taskId}'\n" +
|
|
|
|
|
|
+ " where id = #{po.id}\n" +
|
|
")")
|
|
")")
|
|
- void deleteStandardsByTaskId(@Param("po")SceneImportPO sceneImportPO);
|
|
|
|
|
|
+ void deleteStandardsByTaskId(@Param("po") SceneImportPO sceneImportPO);
|
|
|
|
|
|
@Update("update scene_accident\n" +
|
|
@Update("update scene_accident\n" +
|
|
"set is_deleted = '1',\n" +
|
|
"set is_deleted = '1',\n" +
|
|
- " modify_user_id = '#{po.modifyUseId}',\n" +
|
|
|
|
- " modify_time = '#{po.modifyTime}'\n" +
|
|
|
|
|
|
+ " modify_user_id = #{po.modifyUserId},\n" +
|
|
|
|
+ " modify_time = #{po.modifyTime}\n" +
|
|
"where scene_name in (select scene_names\n" +
|
|
"where scene_name in (select scene_names\n" +
|
|
" from scene_import_task\n" +
|
|
" from scene_import_task\n" +
|
|
- " where id = '#{po.taskId}'\n" +
|
|
|
|
|
|
+ " where id = #{po.id}\n" +
|
|
")")
|
|
")")
|
|
- void deleteAccidentByTaskId(@Param("po")SceneImportPO sceneImportPO);
|
|
|
|
|
|
+ void deleteAccidentByTaskId(@Param("po") SceneImportPO sceneImportPO);
|
|
|
|
|
|
}
|
|
}
|