Helius
2022-09-23 7c6f033b8754b07bf5c75ae8745a982d76f9abb4
src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsCategoryMapper.java
@@ -1,6 +1,8 @@
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;
@@ -11,7 +13,7 @@
public interface MallGoodsCategoryMapper extends BaseMapper<MallGoodsCategory> {
    IPage<MallGoodsCategory> selectCategoryList(Page<MallGoodsCategory> page, @Param("record")MallGoodsCategory mallGoodsCategory);
    IPage<MallGoodsCategory> selectCategoryListInPage(Page<MallGoodsCategory> page, @Param("record")MallGoodsCategory mallGoodsCategory);
    List<MallGoodsCategory> selectCategoryByName(@Param("name")String name);
@@ -22,4 +24,12 @@
    List<MallGoodsCategory> selectCategoryListByParentId(@Param("id") Long id);
    List<MallGoodsCategory> selectRecommendCategoryList();
    AdminMallGoodsCategoryVo getMallGoodsCategoryInfoById(@Param("id")long id);
    List<AdminMallGoodsCategoryTreeVo> getParentCategorys();
    List<MallGoodsCategory> selectChildCategaryById(@Param("id")Long id);
    List<AdminMallGoodsCategoryTreeVo> getAllCategorys();
}