From 159f6d57f547d05664690a2cf8280cddf22e40b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=AD=E7=90=AA=E6=9E=AB?= <374696376@qq.com> Date: Sun, 16 Jul 2023 22:09:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=B7=BB=E5=8A=A0=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iotkit/data/service/DeviceOtaDetailDataImpl.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/DeviceOtaDetailDataImpl.java b/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/DeviceOtaDetailDataImpl.java index 62080966..e68bee1a 100644 --- a/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/DeviceOtaDetailDataImpl.java +++ b/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/DeviceOtaDetailDataImpl.java @@ -1,9 +1,11 @@ package cc.iotkit.data.service; +import cc.iotkit.data.dao.DeviceOtaDetailRepository; import cc.iotkit.data.dao.DeviceOtaInfoRepository; import cc.iotkit.data.dao.IJPACommData; import cc.iotkit.data.manager.IDeviceOtaDetailData; import cc.iotkit.data.manager.IDeviceOtaInfoData; +import cc.iotkit.data.model.TbDeviceOtaDetail; import cc.iotkit.data.model.TbDeviceOtaInfo; import cc.iotkit.model.ota.DeviceOtaDetail; import cc.iotkit.model.ota.DeviceOtaInfo; @@ -23,22 +25,22 @@ import org.springframework.stereotype.Service; @RequiredArgsConstructor public class DeviceOtaDetailDataImpl implements IDeviceOtaDetailData, IJPACommData { - private final DeviceOtaInfoRepository deviceOtaInfoRepository; + private final DeviceOtaDetailRepository deviceOtaDetailRepository; private final JPAQueryFactory jpaQueryFactory; @Override public JpaRepository getBaseRepository() { - return deviceOtaInfoRepository; + return deviceOtaDetailRepository; } @Override public Class getJpaRepositoryClass() { - return TbDeviceOtaInfo.class; + return TbDeviceOtaDetail.class; } @Override public Class getTClass() { - return DeviceOtaInfo.class; + return DeviceOtaDetail.class; } }