package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.mall.dto.MallGoodsQueryDto; import cc.mrbird.febs.mall.entity.MallGoods; import cc.mrbird.febs.mall.vo.AdminMailGoodsDetailVo; import cc.mrbird.febs.mall.vo.AdminMallGoodsVo; import cc.mrbird.febs.mall.vo.MallGoodsListVo; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; public interface MallGoodsMapper extends BaseMapper { IPage selectMallGoodsListQueryInPage(@Param("record") MallGoodsQueryDto queryDto, Page page); MallGoods selectGoodsDetailById(@Param("id") Long id); IPage selectMallGoodsInPage(Page page, @Param("record")MallGoods mallGoods); Integer selectMallGoodsCountByGoodsName(@Param("goodsName")String goodsName); Integer selectMallGoodsCountByGoodsNo(@Param("goodsNo")String goodsNo); AdminMailGoodsDetailVo selectMallGoodsInfoById(@Param("id")long id); }