123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- package com.ruoyi.system.mapper;
- import java.util.List;
- import com.ruoyi.system.domain.vo.PostCollectionsVo;
- import com.ruoyi.system.domain.PostCollections;
- /**
- * 藏品Mapper接口
- *
- * @author ruoyi
- * @date 2023-02-15
- */
- public interface PostCollectionsMapper
- {
- /**
- * 查询藏品
- *
- * @param id 藏品主键
- * @return 藏品
- */
- public PostCollectionsVo selectPostCollectionsById(Long id);
- /**
- * 查询藏品列表
- *
- * @param id 藏品
- * @return 藏品集合
- */
- public List<PostCollections> selectPostCollectionsList(Long id);
- /**
- * 新增藏品
- *
- * @param postCollectionsVo 藏品
- * @return 结果
- */
- public int insertPostCollections(PostCollectionsVo postCollectionsVo);
- /**
- * 修改藏品
- *
- * @param postCollections 藏品
- * @return 结果
- */
- public int updatePostCollections(PostCollections postCollections);
- /**
- * 删除藏品
- *
- * @param id 藏品主键
- * @return 结果
- */
- public int deletePostCollectionsById(Long id);
- /**
- * 批量删除藏品
- *
- * @param ids 需要删除的数据主键集合
- * @return 结果
- */
- public int deletePostCollectionsByIds(Long[] ids);
- }
|