package com.njcn.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.user.pojo.dto.ComponentDTO;
import com.njcn.user.pojo.po.Component;
import com.njcn.user.pojo.vo.ComponentVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hongawen
 * @since 2021-12-13
 */
public interface ComponentMapper extends BaseMapper<Component> {

    List<ComponentDTO> getAllComponent();

    List<ComponentDTO> getComponentByList(@Param("list")List<String> list);

}
