修改convert
This commit is contained in:
parent
f4f5db269a
commit
9ccd38bb50
5
pom.xml
5
pom.xml
|
|
@ -93,6 +93,11 @@
|
||||||
<groupId>org.flywaydb</groupId>
|
<groupId>org.flywaydb</groupId>
|
||||||
<artifactId>flyway-mysql</artifactId>
|
<artifactId>flyway-mysql</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.projectlombok</groupId>
|
||||||
|
<artifactId>lombok</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package com.ruoyi.device.service.impl;
|
package com.ruoyi.device.service.impl;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson2.JSON;
|
||||||
import com.ruoyi.device.domain.api.IDeviceDomain;
|
import com.ruoyi.device.domain.api.IDeviceDomain;
|
||||||
import com.ruoyi.device.domain.api.IDockDomain;
|
import com.ruoyi.device.domain.api.IDockDomain;
|
||||||
import com.ruoyi.device.domain.api.IAircraftDomain;
|
import com.ruoyi.device.domain.api.IAircraftDomain;
|
||||||
|
|
@ -21,6 +22,7 @@ import com.ruoyi.device.service.dto.DockDetailDTO;
|
||||||
import com.ruoyi.device.service.dto.NetworkDTO;
|
import com.ruoyi.device.service.dto.NetworkDTO;
|
||||||
import com.ruoyi.device.service.dto.PayloadDTO;
|
import com.ruoyi.device.service.dto.PayloadDTO;
|
||||||
import com.ruoyi.device.service.convert.AircraftDTOConvert;
|
import com.ruoyi.device.service.convert.AircraftDTOConvert;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
|
@ -35,6 +37,7 @@ import java.util.stream.Collectors;
|
||||||
* @date 2026-01-20
|
* @date 2026-01-20
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
|
@Slf4j
|
||||||
public class BufferDeviceImpl implements IBufferDeviceService
|
public class BufferDeviceImpl implements IBufferDeviceService
|
||||||
{
|
{
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|
@ -205,6 +208,8 @@ public class BufferDeviceImpl implements IBufferDeviceService
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.info("getThingsBoardData {}", JSON.toJSONString(data));
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue