KKSU
2023-12-25 f61293e97bb2cb21c8f49e88b1ae5a3cbadefb6a
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);
@@ -19,7 +21,19 @@
    List<MallGoodsCategoryVo> selectAllCategoryList();
    List<MallGoodsCategoryVo> selectAllAppCategoryList();
    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();
    List<MallGoodsCategoryVo> selectAllCategoryListByIsApp(@Param("isApp")Integer isAppCategory);
}