package com.cool.store.mapper.config;

import com.cool.store.entity.config.ConfigItemCategoryDO;
import com.cool.store.vo.config.ConfigItemBaseInfoVO;
import com.cool.store.vo.config.ConfigItemCategoryBaseInfoVO;
import com.cool.store.vo.config.ConfigItemCategoryVO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface ConfigItemCategoryMapper extends Mapper<ConfigItemCategoryDO> {

    List<ConfigItemCategoryVO> queryByCondition(@Param("categoryName") String categoryName,
                                                @Param("status") Integer status);

    List<ConfigItemCategoryBaseInfoVO> queryAllActiveList();
}
