package cc.mrbird.febs.mall.mapper; import cc.mrbird.febs.mall.entity.MallGoodsCategory; import cc.mrbird.febs.mall.vo.AdminMallGoodsCategoryTreeVo; import cc.mrbird.febs.mall.vo.AdminMallGoodsCategoryVo; import cc.mrbird.febs.mall.vo.MallGoodsCategoryVo; 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; import java.util.List; public interface MallGoodsCategoryMapper extends BaseMapper { IPage selectCategoryListInPage(Page page, @Param("record")MallGoodsCategory mallGoodsCategory); List selectCategoryByName(@Param("name")String name); List getCategorys(); List selectAllCategoryList(); List selectCategoryListByParentId(@Param("id") Long id); List selectRecommendCategoryList(); AdminMallGoodsCategoryVo getMallGoodsCategoryInfoById(@Param("id")long id); List getParentCategorys(); List selectChildCategaryById(@Param("id")Long id); List getAllCategorys(); }