package com.ltkj.mall.mapper;
|
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.ltkj.mall.domain.MallCategory;
|
import com.ltkj.mall.domain.MallFootprint;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* 用户浏览足迹Mapper接口
|
*
|
* @author ltkj_赵佳豪&李格
|
* @date 2023-07-12
|
*/
|
@Mapper
|
public interface MallFootprintMapper extends BaseMapper<MallFootprint> {
|
/**
|
* 查询用户浏览足迹
|
*
|
* @param id 用户浏览足迹主键
|
* @return 用户浏览足迹
|
*/
|
public MallFootprint selectMallFootprintById(Long id);
|
|
/**
|
* 查询用户浏览足迹列表
|
*
|
* @param mallFootprint 用户浏览足迹
|
* @return 用户浏览足迹集合
|
*/
|
public List<MallFootprint> selectMallFootprintList(MallFootprint mallFootprint);
|
|
/**
|
* 新增用户浏览足迹
|
*
|
* @param mallFootprint 用户浏览足迹
|
* @return 结果
|
*/
|
public int insertMallFootprint(MallFootprint mallFootprint);
|
|
/**
|
* 修改用户浏览足迹
|
*
|
* @param mallFootprint 用户浏览足迹
|
* @return 结果
|
*/
|
public int updateMallFootprint(MallFootprint mallFootprint);
|
|
/**
|
* 删除用户浏览足迹
|
*
|
* @param id 用户浏览足迹主键
|
* @return 结果
|
*/
|
public int deleteMallFootprintById(Long id);
|
|
/**
|
* 批量删除用户浏览足迹
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteMallFootprintByIds(Long[] ids);
|
}
|