package cn.pluss.platform.mapper;

import cn.pluss.platform.entity.DeviceType;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 设备类型表 Mapper 接口
 * </p>
 *
 * @author Djh
 * @since 2022-03-04
 */
public interface DeviceTypeMapper extends BaseMapper<DeviceType> {

    @Select("SELECT `code` FROM tb_pluss_device_type WHERE showFlag = 1")
    List<String> selectListCodeByShowFlag();
}
