package com.gyee.impala.mapper.slave; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.gyee.impala.model.slave.DeviceModel; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface DeviceModelMapper extends BaseMapper { List getDeviceModelsById(@Param("id")String id); DeviceModel getDeviceModelByCode(@Param("deviceid")String deviceid, @Param("code")String code); List getAll(); }