package cn.sikey.hmd.service.activation;

import cn.sikey.hmd.dal.dataobject.AdminDeviceDO;
import cn.sikey.hmd.dal.mysql.AdminDeviceMapper;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 后台设备 Service 实现类
 *
 * @author nelson
 */
@Service("adminDeviceService")
@Slf4j
public class AdminDeviceServiceImpl implements AdminDeviceService {

    @Resource
    private AdminDeviceMapper deviceMapper;

    @Override
    public AdminDeviceDO selectByDeviceId(String deviceId) {
        return deviceMapper.selectByDeviceId(deviceId);
    }
}
