From f373bbf83d9d2a7e5f96118d7dcd658c9fea8bc8 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期四, 14 八月 2025 17:27:44 +0800 Subject: [PATCH] 2025.8.14 1. 新增文件导入场景信息接口 2. 新增导出接口文档接口 --- src/main/kotlin/cn/flightfeather/supervision/lightshare/service/MediafileService.kt | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/MediafileService.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/MediafileService.kt index c2a59eb..fefebf0 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/MediafileService.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/service/MediafileService.kt @@ -1,7 +1,7 @@ package cn.flightfeather.supervision.lightshare.service import cn.flightfeather.supervision.domain.ds1.entity.Mediafile -import cn.flightfeather.supervision.lightshare.vo.MediafileVo +import cn.flightfeather.supervision.lightshare.vo.MediaFileVo import org.springframework.web.multipart.MultipartFile @@ -12,15 +12,24 @@ fun save(mediafile: Mediafile): Int + /** + * 淇濆瓨鍥剧墖 + */ + fun saveMediaFile(files: Array<MultipartFile>, getMediaFile: () -> Mediafile): Int + fun update(mediafile: Mediafile): Int fun delete(id: String): Int - fun findByBusinessGUID(businessGuid: String): List<MediafileVo> + fun deleteList(idList: List<String>): Int + + fun findByBusinessGUID(businessGuid: String): List<MediaFileVo> fun addMedifile(mediafileVoList: String, files: Array<MultipartFile>) - fun findByProblemID(id: String): List<MediafileVo> + fun findByProblemID(id: String): List<MediaFileVo> fun findBysubtaskbtid(id: String, btid: String): MutableList<Mediafile>? + + fun getRoutineRecord(iGuid: String?, stGuid: String?): List<Mediafile?> } \ No newline at end of file -- Gitblit v1.9.3