test_push/src/main/java/com/amms/mapper/ItemCollectionMapper.java

53 lines
1.0 KiB
Java

package com.amms.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.amms.domain.ItemCollection;
/**
* 收藏Mapper接口
*/
@Mapper
public interface ItemCollectionMapper {
/**
* 查询收藏
*
* @param id 收藏主键
* @return 收藏
*/
public ItemCollection selectItemCollectionById(Long id);
/**
* 查询收藏列表
*
* @param itemCollection 收藏
* @return 收藏集合
*/
public List<ItemCollection> selectItemCollectionList(ItemCollection itemCollection);
/**
* 新增收藏
*
* @param itemCollection 收藏
* @return 结果
*/
public int insertItemCollection(ItemCollection itemCollection);
/**
* 修改收藏
*
* @param itemCollection 收藏
* @return 结果
*/
public int updateItemCollection(ItemCollection itemCollection);
/**
* 删除收藏
*
* @param id 收藏主键
* @return 结果
*/
public int deleteItemCollectionById(Long id);
}