From 94749bd47a7adf7cdb48d0faa107485ce9677c85 Mon Sep 17 00:00:00 2001 From: jay <75509151@qq.com> Date: Wed, 28 Jun 2023 21:00:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=99=9A=E6=8B=9F=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E6=97=A5=E5=BF=97mapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cc/iotkit/temporal/es/document/DocVirtualDeviceLog.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iot-common/iot-common-dao/iot-temporal-serviceImpl-es/src/main/java/cc/iotkit/temporal/es/document/DocVirtualDeviceLog.java b/iot-common/iot-common-dao/iot-temporal-serviceImpl-es/src/main/java/cc/iotkit/temporal/es/document/DocVirtualDeviceLog.java index 21f9f6ad..42efa33f 100644 --- a/iot-common/iot-common-dao/iot-temporal-serviceImpl-es/src/main/java/cc/iotkit/temporal/es/document/DocVirtualDeviceLog.java +++ b/iot-common/iot-common-dao/iot-temporal-serviceImpl-es/src/main/java/cc/iotkit/temporal/es/document/DocVirtualDeviceLog.java @@ -9,6 +9,8 @@ */ package cc.iotkit.temporal.es.document; +import cc.iotkit.model.device.VirtualDeviceLog; +import io.github.linpeilie.annotations.AutoMapper; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; @@ -22,6 +24,7 @@ import org.springframework.data.elasticsearch.annotations.FieldType; @NoArgsConstructor @AllArgsConstructor @Builder +@AutoMapper(target= VirtualDeviceLog.class) @Document(indexName = "virtual_device_log") public class DocVirtualDeviceLog {