package com.seer.teach.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.seer.teach.common.PageListBean;
import com.seer.teach.mall.entity.CategoryEntity;
import com.seer.teach.mall.response.CategoryResp;

/**
 * <p>
 *  商品类别服务类
 * </p>
 *
 * @author Captain
 * @since 2025-06-10
 */
public interface ICategoryService extends IService<CategoryEntity> {

    /**
     * 分页查询
     *
     * @param pageNum
     * @param pageSize
     * @param showIndex
     * @param isShow
     * @return
     */
    PageListBean<CategoryResp> queryPageList(Integer pageNum, Integer pageSize,Integer showIndex, Integer isShow);

    boolean updateIsShowStatus(Integer id, Integer isShow);

    boolean updateShowIndexStatus(Integer id, Integer showIndex);
}