package shop.alien.mapper.second;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import shop.alien.entity.second.SecondGoodsCategory;

import java.util.List;

/**
 * 二手商品映射器
 */
public interface SecondGoodsCategoryMapper extends BaseMapper<SecondGoodsCategory> {
    /**
     * 自定义分页查询
     */
    List<SecondGoodsCategory> querySecondGoodsByParentId(@Param("parentId") Integer parentId, @Param("categoryState") Integer categoryState);

    List<SecondGoodsCategory> querySecondGoodsInfo();
}