package com.linghu.service; import com.linghu.model.common.ResponseResult; import com.linghu.model.entity.Platform; import com.baomidou.mybatisplus.extension.service.IService; import com.linghu.model.page.CustomPage; import org.springframework.http.ResponseEntity; import org.springframework.web.multipart.MultipartFile; /** * @author xy * @description 针对表【platfrom】的数据库操作Service * @createDate 2025-07-04 20:17:33 */ public interface PlatformService extends IService { public Platform getPlatformByDomain(String domain,String platformName); public Platform getPlatformByDomain(String domain); ResponseResult addPlatform(Platform platform); ResponseResult deleteByPlatFormId(Integer platformId); ResponseResult> platformPageList(Integer page, Integer pageSize, Integer typeId, Integer keywordId, Integer questionId, Integer isNow); ResponseResult importPlatformsExcel(MultipartFile file); ResponseEntity downloadPlatformExcel(); ResponseResult updatePlatform(Platform platform); }