package com.fs.hisStore.service;

import java.util.List;
import com.fs.hisStore.domain.FsStoreProductRelationScrm;
import com.fs.hisStore.param.FsStoreProductRelationParam;
import com.fs.hisStore.param.FsStoreProductRelationQueryParam;
import com.fs.hisStore.vo.FsStoreProductRelationQueryVO;

/**
 * 商品点赞和收藏Service接口
 * 
 * @author fs
 * @date 2022-03-15
 */
public interface IFsStoreProductRelationScrmService
{
    /**
     * 查询商品点赞和收藏
     * 
     * @param id 商品点赞和收藏ID
     * @return 商品点赞和收藏
     */
    public FsStoreProductRelationScrm selectFsStoreProductRelationById(Long id);

    /**
     * 查询商品点赞和收藏列表
     * 
     * @param fsStoreProductRelation 商品点赞和收藏
     * @return 商品点赞和收藏集合
     */
    public List<FsStoreProductRelationScrm> selectFsStoreProductRelationList(FsStoreProductRelationScrm fsStoreProductRelation);

    /**
     * 新增商品点赞和收藏
     * 
     * @param fsStoreProductRelation 商品点赞和收藏
     * @return 结果
     */
    public int insertFsStoreProductRelation(FsStoreProductRelationScrm fsStoreProductRelation);

    /**
     * 修改商品点赞和收藏
     * 
     * @param fsStoreProductRelation 商品点赞和收藏
     * @return 结果
     */
    public int updateFsStoreProductRelation(FsStoreProductRelationScrm fsStoreProductRelation);

    /**
     * 批量删除商品点赞和收藏
     * 
     * @param ids 需要删除的商品点赞和收藏ID
     * @return 结果
     */
    public int deleteFsStoreProductRelationByIds(Long[] ids);

    /**
     * 删除商品点赞和收藏信息
     * 
     * @param id 商品点赞和收藏ID
     * @return 结果
     */
    public int deleteFsStoreProductRelationById(Long id);


    List<FsStoreProductRelationQueryVO> selectFsStoreProductRelationListVOQuery(FsStoreProductRelationQueryParam param);

    List<FsStoreProductRelationQueryVO> selectFsStoreProductRelationListVO(FsStoreProductRelationParam param);
}
