guyue
2025-08-15 7c1335ff559c08bbcef479bd2b01a08a1f4e55f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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<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);
}