| | |
| | | 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 |
| | |
| | | */ |
| | | public interface PlatformService extends IService<Platform> { |
| | | public Platform getPlatformByDomain(String domain,String platformName); |
| | | |
| | | public Platform getPlatformByDomain(String domain); |
| | | |
| | | ResponseResult<Platform> addPlatform(Platform platform); |
| | | |
| | | ResponseResult<Void> deleteByPlatFormId(Integer platformId); |
| | | |
| | | ResponseResult<CustomPage<Platform>> platformPageList(Integer page, Integer pageSize, Integer typeId, Integer keywordId, Integer questionId, Integer isNow); |
| | | |
| | | ResponseResult<String> importPlatformsExcel(MultipartFile file); |
| | | |
| | | ResponseEntity<byte[]> downloadPlatformExcel(); |
| | | |
| | | ResponseResult<Void> updatePlatform(Platform platform); |
| | | } |