From cc314600529d90b4005090ce748652f22f6061dd Mon Sep 17 00:00:00 2001 From: regan <915353449@qq.com> Date: Tue, 6 Jun 2023 19:09:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6redi?= =?UTF-8?q?s=20=E5=AF=86=E7=A0=81=E5=8F=82=E6=95=B0=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cc/iotkit/data/service/ProtocolComponentDataImpl.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/ProtocolComponentDataImpl.java b/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/ProtocolComponentDataImpl.java index 1d988eb5..2869c7cd 100644 --- a/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/ProtocolComponentDataImpl.java +++ b/iot-common/iot-common-dao/iot-data-serviceImpl-rdb/src/main/java/cc/iotkit/data/service/ProtocolComponentDataImpl.java @@ -1,12 +1,12 @@ package cc.iotkit.data.service; import cc.iotkit.common.api.PageRequest; +import cc.iotkit.common.api.Paging; import cc.iotkit.common.utils.MapstructUtils; import cc.iotkit.data.dao.IJPACommData; -import cc.iotkit.data.manager.IProtocolComponentData; import cc.iotkit.data.dao.ProtocolComponentRepository; +import cc.iotkit.data.manager.IProtocolComponentData; import cc.iotkit.data.model.TbProtocolComponent; -import cc.iotkit.common.api.Paging; import cc.iotkit.data.util.PageBuilder; import cc.iotkit.data.util.PredicateBuilder; import cc.iotkit.model.protocol.ProtocolComponent; @@ -16,7 +16,6 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Primary; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; -import org.springframework.data.domain.Sort; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Service; @@ -24,8 +23,6 @@ import java.util.Collection; import java.util.List; import java.util.UUID; -import static cc.iotkit.data.model.QTbSysConfig.tbSysConfig; - @Primary @Service public class ProtocolComponentDataImpl implements IProtocolComponentData, IJPACommData {