| | |
| | | package cn.flightfeather.supervision.lightshare.service |
| | | |
| | | import cn.flightfeather.supervision.domain.ds1.entity.Mediafile |
| | | import cn.flightfeather.supervision.lightshare.vo.ExcelConfigVo |
| | | import cn.flightfeather.supervision.lightshare.vo.MediaFileVo |
| | | import org.springframework.web.multipart.MultipartFile |
| | | import javax.servlet.http.HttpServletResponse |
| | | |
| | | |
| | | interface MediafileService { |
| | |
| | | fun findAll(): MutableList<Mediafile> |
| | | |
| | | fun save(mediafile: Mediafile): Int |
| | | |
| | | /** |
| | | * 保存图片 |
| | | */ |
| | | fun saveMediaFile(files: Array<MultipartFile>, getMediaFile: () -> Mediafile): Int |
| | | |
| | | fun update(mediafile: Mediafile): Int |
| | | |
| | |
| | | fun findByProblemID(id: String): List<MediaFileVo> |
| | | |
| | | fun findBysubtaskbtid(id: String, btid: String): MutableList<Mediafile>? |
| | | |
| | | fun getRoutineRecord(iGuid: String?, stGuid: String?): List<Mediafile?> |
| | | |
| | | fun downloadPic(config: ExcelConfigVo, response: HttpServletResponse): HttpServletResponse |
| | | } |