Files
youlai-boot/src/main/java/com/youlai/boot/device/service/HardwareInfoService.java
TongTongStudio 3608c205b9 refactor(device): 重构设备信息模块,按面板拆分数据存储和接口
将原 SnDeviceSystemInfo 单一实体拆分为基本信息、硬件、网络、安全、其他信息五个独立子表和服务,重构 DeviceController 和 MobileController 接口以支持分面板查询和上传
2026-08-05 02:09:38 +08:00

22 lines
532 B
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.youlai.boot.device.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.boot.device.model.entity.SnDeviceHardwareInfo;
/**
* 设备硬件信息服务
*
* @author Ray.Hao
* @since 2026-08-04
*/
public interface HardwareInfoService extends IService<SnDeviceHardwareInfo> {
/**
* 根据序列号查询设备硬件信息
*
* @param sn 设备序列号
* @return 硬件信息实体(无则返回 null
*/
SnDeviceHardwareInfo getBySn(String sn);
}