package com.ltkj.mall.service;
|
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.ltkj.mall.domain.MallOrder;
|
import com.ltkj.mall.domain.MallSearchHistory;
|
|
/**
|
* 搜索历史Service接口
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-07-12
|
*/
|
public interface IMallSearchHistoryService extends IService<MallSearchHistory> {
|
/**
|
* 查询搜索历史
|
*
|
* @param id 搜索历史主键
|
* @return 搜索历史
|
*/
|
public MallSearchHistory selectMallSearchHistoryById(Long id);
|
|
/**
|
* 查询搜索历史列表
|
*
|
* @param mallSearchHistory 搜索历史
|
* @return 搜索历史集合
|
*/
|
public List<MallSearchHistory> selectMallSearchHistoryList(MallSearchHistory mallSearchHistory);
|
|
/**
|
* 新增搜索历史
|
*
|
* @param mallSearchHistory 搜索历史
|
* @return 结果
|
*/
|
public int insertMallSearchHistory(MallSearchHistory mallSearchHistory);
|
|
/**
|
* 修改搜索历史
|
*
|
* @param mallSearchHistory 搜索历史
|
* @return 结果
|
*/
|
public int updateMallSearchHistory(MallSearchHistory mallSearchHistory);
|
|
/**
|
* 批量删除搜索历史
|
*
|
* @param ids 需要删除的搜索历史主键集合
|
* @return 结果
|
*/
|
public int deleteMallSearchHistoryByIds(Long[] ids);
|
|
/**
|
* 删除搜索历史信息
|
*
|
* @param id 搜索历史主键
|
* @return 结果
|
*/
|
public int deleteMallSearchHistoryById(Long id);
|
}
|