package com.casic.missiles.modular.system.dao;

import com.casic.missiles.modular.system.model.DeviceModels;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 设备型号表 Mapper 接口
 * </p>
 *
 * @author lwh123
 * @since 2019-05-23
 */
public interface DeviceModelsMapper extends BaseMapper<DeviceModels> {

    int countDeviceByModels(@Param("modelId") Serializable modelId);

    List<DeviceModels> selectModelList(@Param("deviceType") Long deviceType);

    Map<String, String> getDictNameByCode();
}
