package com.smartor.mapper;
|
|
import java.util.List;
|
|
import com.smartor.domain.HeLibrary;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* 宣教资料库Mapper接口
|
*
|
* @author ruoyi
|
* @date 2023-12-24
|
*/
|
@Mapper
|
public interface HeLibraryMapper {
|
/**
|
* 查询宣教资料库
|
*
|
* @param id 宣教资料库主键
|
* @return 宣教资料库
|
*/
|
public HeLibrary selectHeLibraryById(Long id);
|
|
/**
|
* 查询宣教资料库列表
|
*
|
* @param heLibrary 宣教资料库
|
* @return 宣教资料库集合
|
*/
|
public List<HeLibrary> selectHeLibraryList(HeLibrary heLibrary);
|
|
/**
|
* 新增宣教资料库
|
*
|
* @param heLibrary 宣教资料库
|
* @return 结果
|
*/
|
public int insertHeLibrary(HeLibrary heLibrary);
|
|
/**
|
* 修改宣教资料库
|
*
|
* @param heLibrary 宣教资料库
|
* @return 结果
|
*/
|
public int updateHeLibrary(HeLibrary heLibrary);
|
|
/**
|
* 删除宣教资料库
|
*
|
* @param id 宣教资料库主键
|
* @return 结果
|
*/
|
public int deleteHeLibraryById(Long id);
|
|
/**
|
* 批量删除宣教资料库
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteHeLibraryByIds(Long[] ids);
|
}
|