设备状态修改

This commit is contained in:
jjLv 2025-11-13 16:31:36 +08:00
parent ad0ebbcb77
commit 3fc528065a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class TCPMonitorService {
try {
List<CheckDevice> initialDevices = mapper.selectDeviceList();
initialDevices.forEach(device -> {
if (device.getPort().equals("8080")){
if (device.getPort() == 8080){
devices.put(device.getId(), device);
}else{
pingDevices.put(device.getId(), device);