package com.ycl.platform.service;
|
|
import com.ycl.platform.domain.entity.ImageResourceSecurity;
|
import jakarta.servlet.http.HttpServletResponse;
|
import org.springframework.web.multipart.MultipartFile;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
|
/**
|
* platformService接口
|
*
|
* @author flq
|
* @date 2024-08-24
|
*/
|
public interface IImageResourceSecurityService
|
{
|
/**
|
* 查询platform
|
*
|
* @param id platform主键
|
* @return platform
|
*/
|
public ImageResourceSecurity selectImageResourceSecurityById(Long id);
|
|
/**
|
* 查询platform列表
|
*
|
* @param imageResourceSecurity platform
|
* @return platform集合
|
*/
|
public List<ImageResourceSecurity> selectImageResourceSecurityList(ImageResourceSecurity imageResourceSecurity);
|
|
/**
|
* 新增platform
|
*
|
* @param imageResourceSecurity platform
|
* @return 结果
|
*/
|
public int insertImageResourceSecurity(ImageResourceSecurity imageResourceSecurity);
|
|
/**
|
* 修改platform
|
*
|
* @param imageResourceSecurity platform
|
* @return 结果
|
*/
|
public int updateImageResourceSecurity(ImageResourceSecurity imageResourceSecurity);
|
|
/**
|
* 批量删除platform
|
*
|
* @param ids 需要删除的platform主键集合
|
* @return 结果
|
*/
|
public int deleteImageResourceSecurityByIds(Long[] ids);
|
|
/**
|
* 删除platform信息
|
*
|
* @param id platform主键
|
* @return 结果
|
*/
|
public int deleteImageResourceSecurityById(Long id);
|
|
/**
|
* 导入模板
|
* @param response 文件
|
*/
|
void importTemplate(HttpServletResponse response);
|
|
/**
|
* 导入数据
|
* @param file 数据
|
* @return 结果
|
*/
|
Boolean importData(MultipartFile file);
|
|
/**
|
* 批量保存
|
* @param imageResourceSecurities 数据集合
|
*/
|
void saveBatch(ArrayList<ImageResourceSecurity> imageResourceSecurities);
|
}
|