From c34f1239d89d583de2142467b7ebdc52e64a8ab2 Mon Sep 17 00:00:00 2001 From: wujiawei <12345678> Date: Tue, 10 Jun 2025 09:26:40 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=20=E4=BF=AE=E5=A4=8Dnative=E6=89=93?= =?UTF-8?q?=E5=8C=85=E4=B8=8Emapper=E4=B8=8D=E5=85=BC=E5=AE=B9=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E5=88=87=E6=8D=A2=E8=87=B3=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89bean=E6=8B=B7=E8=B4=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...NettyServerPropertiesDTOAssemblerImpl.java | 144 ------------------ ...azyNettyServerPropertiesConverterImpl.java | 57 ------- 2 files changed, 201 deletions(-) delete mode 100644 wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/application/assembler/LazyNettyServerPropertiesDTOAssemblerImpl.java delete mode 100644 wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/infrastructure/converter/LazyNettyServerPropertiesConverterImpl.java diff --git a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/application/assembler/LazyNettyServerPropertiesDTOAssemblerImpl.java b/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/application/assembler/LazyNettyServerPropertiesDTOAssemblerImpl.java deleted file mode 100644 index c6070b77..00000000 --- a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/application/assembler/LazyNettyServerPropertiesDTOAssemblerImpl.java +++ /dev/null @@ -1,144 +0,0 @@ -package org.framework.lazy.cloud.network.heartbeat.client.application.assembler; - -import javax.annotation.processing.Generated; -import org.framework.lazy.cloud.network.heartbeat.client.application.command.lazy.netty.server.properties.LazyNettyServerPropertiesQueryListCommand; -import org.framework.lazy.cloud.network.heartbeat.client.application.command.lazy.netty.server.properties.LazyNettyServerPropertiesQueryOneCommand; -import org.framework.lazy.cloud.network.heartbeat.client.application.command.lazy.netty.server.properties.LazyNettyServerPropertiesRemoveCommand; -import org.framework.lazy.cloud.network.heartbeat.client.application.command.lazy.netty.server.properties.LazyNettyServerPropertiesStoryCommand; -import org.framework.lazy.cloud.network.heartbeat.client.application.command.lazy.netty.server.properties.LazyNettyServerPropertiesUpdateCommand; -import org.framework.lazy.cloud.network.heartbeat.client.application.dto.LazyNettyServerPropertiesDTO; -import org.framework.lazy.cloud.network.heartbeat.client.domain.model.lazy.netty.server.properties.LazyNettyServerProperties; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2025-06-03T16:10:52+0800", - comments = "version: 1.6.3, compiler: javac, environment: Java 21.0.2 (Oracle Corporation)" -) -public class LazyNettyServerPropertiesDTOAssemblerImpl implements LazyNettyServerPropertiesDTOAssembler { - - @Override - public LazyNettyServerProperties toLazyNettyServerProperties(LazyNettyServerPropertiesStoryCommand lazyNettyServerPropertiesStoryCommand) { - if ( lazyNettyServerPropertiesStoryCommand == null ) { - return null; - } - - LazyNettyServerProperties lazyNettyServerProperties = new LazyNettyServerProperties(); - - lazyNettyServerProperties.setClientId( lazyNettyServerPropertiesStoryCommand.getClientId() ); - lazyNettyServerProperties.setConnectStatus( lazyNettyServerPropertiesStoryCommand.getConnectStatus() ); - lazyNettyServerProperties.setCreateTime( lazyNettyServerPropertiesStoryCommand.getCreateTime() ); - lazyNettyServerProperties.setInetHost( lazyNettyServerPropertiesStoryCommand.getInetHost() ); - lazyNettyServerProperties.setInetPort( lazyNettyServerPropertiesStoryCommand.getInetPort() ); - lazyNettyServerProperties.setType( lazyNettyServerPropertiesStoryCommand.getType() ); - lazyNettyServerProperties.setAppKey( lazyNettyServerPropertiesStoryCommand.getAppKey() ); - lazyNettyServerProperties.setAppSecret( lazyNettyServerPropertiesStoryCommand.getAppSecret() ); - lazyNettyServerProperties.setUpdateTime( lazyNettyServerPropertiesStoryCommand.getUpdateTime() ); - - return lazyNettyServerProperties; - } - - @Override - public LazyNettyServerProperties toLazyNettyServerProperties(LazyNettyServerPropertiesUpdateCommand lazyNettyServerPropertiesUpdateCommand) { - if ( lazyNettyServerPropertiesUpdateCommand == null ) { - return null; - } - - LazyNettyServerProperties lazyNettyServerProperties = new LazyNettyServerProperties(); - - lazyNettyServerProperties.setClientId( lazyNettyServerPropertiesUpdateCommand.getClientId() ); - lazyNettyServerProperties.setConnectStatus( lazyNettyServerPropertiesUpdateCommand.getConnectStatus() ); - lazyNettyServerProperties.setCreateTime( lazyNettyServerPropertiesUpdateCommand.getCreateTime() ); - lazyNettyServerProperties.setInetHost( lazyNettyServerPropertiesUpdateCommand.getInetHost() ); - lazyNettyServerProperties.setInetPort( lazyNettyServerPropertiesUpdateCommand.getInetPort() ); - lazyNettyServerProperties.setType( lazyNettyServerPropertiesUpdateCommand.getType() ); - lazyNettyServerProperties.setAppKey( lazyNettyServerPropertiesUpdateCommand.getAppKey() ); - lazyNettyServerProperties.setAppSecret( lazyNettyServerPropertiesUpdateCommand.getAppSecret() ); - lazyNettyServerProperties.setUpdateTime( lazyNettyServerPropertiesUpdateCommand.getUpdateTime() ); - - return lazyNettyServerProperties; - } - - @Override - public LazyNettyServerProperties toLazyNettyServerProperties(LazyNettyServerPropertiesQueryOneCommand lazyNettyServerPropertiesQueryOneCommand) { - if ( lazyNettyServerPropertiesQueryOneCommand == null ) { - return null; - } - - LazyNettyServerProperties lazyNettyServerProperties = new LazyNettyServerProperties(); - - lazyNettyServerProperties.setClientId( lazyNettyServerPropertiesQueryOneCommand.getClientId() ); - lazyNettyServerProperties.setConnectStatus( lazyNettyServerPropertiesQueryOneCommand.getConnectStatus() ); - lazyNettyServerProperties.setCreateTime( lazyNettyServerPropertiesQueryOneCommand.getCreateTime() ); - lazyNettyServerProperties.setInetHost( lazyNettyServerPropertiesQueryOneCommand.getInetHost() ); - lazyNettyServerProperties.setInetPort( lazyNettyServerPropertiesQueryOneCommand.getInetPort() ); - lazyNettyServerProperties.setType( lazyNettyServerPropertiesQueryOneCommand.getType() ); - lazyNettyServerProperties.setAppKey( lazyNettyServerPropertiesQueryOneCommand.getAppKey() ); - lazyNettyServerProperties.setAppSecret( lazyNettyServerPropertiesQueryOneCommand.getAppSecret() ); - lazyNettyServerProperties.setUpdateTime( lazyNettyServerPropertiesQueryOneCommand.getUpdateTime() ); - - return lazyNettyServerProperties; - } - - @Override - public LazyNettyServerProperties toLazyNettyServerProperties(LazyNettyServerPropertiesQueryListCommand lazyNettyServerPropertiesQueryListCommand) { - if ( lazyNettyServerPropertiesQueryListCommand == null ) { - return null; - } - - LazyNettyServerProperties lazyNettyServerProperties = new LazyNettyServerProperties(); - - lazyNettyServerProperties.setClientId( lazyNettyServerPropertiesQueryListCommand.getClientId() ); - lazyNettyServerProperties.setConnectStatus( lazyNettyServerPropertiesQueryListCommand.getConnectStatus() ); - lazyNettyServerProperties.setCreateTime( lazyNettyServerPropertiesQueryListCommand.getCreateTime() ); - lazyNettyServerProperties.setInetHost( lazyNettyServerPropertiesQueryListCommand.getInetHost() ); - lazyNettyServerProperties.setInetPort( lazyNettyServerPropertiesQueryListCommand.getInetPort() ); - lazyNettyServerProperties.setType( lazyNettyServerPropertiesQueryListCommand.getType() ); - lazyNettyServerProperties.setAppKey( lazyNettyServerPropertiesQueryListCommand.getAppKey() ); - lazyNettyServerProperties.setAppSecret( lazyNettyServerPropertiesQueryListCommand.getAppSecret() ); - lazyNettyServerProperties.setUpdateTime( lazyNettyServerPropertiesQueryListCommand.getUpdateTime() ); - - return lazyNettyServerProperties; - } - - @Override - public LazyNettyServerProperties toLazyNettyServerProperties(LazyNettyServerPropertiesRemoveCommand lazyNettyServerPropertiesRemoveCommand) { - if ( lazyNettyServerPropertiesRemoveCommand == null ) { - return null; - } - - LazyNettyServerProperties lazyNettyServerProperties = new LazyNettyServerProperties(); - - lazyNettyServerProperties.setClientId( lazyNettyServerPropertiesRemoveCommand.getClientId() ); - lazyNettyServerProperties.setConnectStatus( lazyNettyServerPropertiesRemoveCommand.getConnectStatus() ); - lazyNettyServerProperties.setCreateTime( lazyNettyServerPropertiesRemoveCommand.getCreateTime() ); - lazyNettyServerProperties.setInetHost( lazyNettyServerPropertiesRemoveCommand.getInetHost() ); - lazyNettyServerProperties.setInetPort( lazyNettyServerPropertiesRemoveCommand.getInetPort() ); - lazyNettyServerProperties.setType( lazyNettyServerPropertiesRemoveCommand.getType() ); - lazyNettyServerProperties.setAppKey( lazyNettyServerPropertiesRemoveCommand.getAppKey() ); - lazyNettyServerProperties.setAppSecret( lazyNettyServerPropertiesRemoveCommand.getAppSecret() ); - lazyNettyServerProperties.setUpdateTime( lazyNettyServerPropertiesRemoveCommand.getUpdateTime() ); - - return lazyNettyServerProperties; - } - - @Override - public LazyNettyServerPropertiesDTO fromLazyNettyServerProperties(LazyNettyServerProperties lazyNettyServerProperties) { - if ( lazyNettyServerProperties == null ) { - return null; - } - - LazyNettyServerPropertiesDTO lazyNettyServerPropertiesDTO = new LazyNettyServerPropertiesDTO(); - - lazyNettyServerPropertiesDTO.setClientId( lazyNettyServerProperties.getClientId() ); - lazyNettyServerPropertiesDTO.setConnectStatus( lazyNettyServerProperties.getConnectStatus() ); - lazyNettyServerPropertiesDTO.setCreateTime( lazyNettyServerProperties.getCreateTime() ); - lazyNettyServerPropertiesDTO.setInetHost( lazyNettyServerProperties.getInetHost() ); - lazyNettyServerPropertiesDTO.setInetPort( lazyNettyServerProperties.getInetPort() ); - lazyNettyServerPropertiesDTO.setType( lazyNettyServerProperties.getType() ); - lazyNettyServerPropertiesDTO.setAppKey( lazyNettyServerProperties.getAppKey() ); - lazyNettyServerPropertiesDTO.setAppSecret( lazyNettyServerProperties.getAppSecret() ); - lazyNettyServerPropertiesDTO.setUpdateTime( lazyNettyServerProperties.getUpdateTime() ); - - return lazyNettyServerPropertiesDTO; - } -} diff --git a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/infrastructure/converter/LazyNettyServerPropertiesConverterImpl.java b/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/infrastructure/converter/LazyNettyServerPropertiesConverterImpl.java deleted file mode 100644 index 24451d08..00000000 --- a/wu-lazy-cloud-heartbeat-client/src/main/java/org/framework/lazy/cloud/network/heartbeat/client/infrastructure/converter/LazyNettyServerPropertiesConverterImpl.java +++ /dev/null @@ -1,57 +0,0 @@ -package org.framework.lazy.cloud.network.heartbeat.client.infrastructure.converter; - -import javax.annotation.processing.Generated; -import org.framework.lazy.cloud.network.heartbeat.client.domain.model.lazy.netty.server.properties.LazyNettyServerProperties; -import org.framework.lazy.cloud.network.heartbeat.client.infrastructure.entity.LazyNettyServerPropertiesDO; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2025-06-03T16:10:52+0800", - comments = "version: 1.6.3, compiler: javac, environment: Java 21.0.2 (Oracle Corporation)" -) -public class LazyNettyServerPropertiesConverterImpl implements LazyNettyServerPropertiesConverter { - - @Override - public LazyNettyServerProperties toLazyNettyServerProperties(LazyNettyServerPropertiesDO lazyNettyServerPropertiesDO) { - if ( lazyNettyServerPropertiesDO == null ) { - return null; - } - - LazyNettyServerProperties lazyNettyServerProperties = new LazyNettyServerProperties(); - - lazyNettyServerProperties.setClientId( lazyNettyServerPropertiesDO.getClientId() ); - lazyNettyServerProperties.setConnectStatus( lazyNettyServerPropertiesDO.getConnectStatus() ); - lazyNettyServerProperties.setCreateTime( lazyNettyServerPropertiesDO.getCreateTime() ); - lazyNettyServerProperties.setInetHost( lazyNettyServerPropertiesDO.getInetHost() ); - lazyNettyServerProperties.setInetPort( lazyNettyServerPropertiesDO.getInetPort() ); - lazyNettyServerProperties.setType( lazyNettyServerPropertiesDO.getType() ); - lazyNettyServerProperties.setProtocolType( lazyNettyServerPropertiesDO.getProtocolType() ); - lazyNettyServerProperties.setAppKey( lazyNettyServerPropertiesDO.getAppKey() ); - lazyNettyServerProperties.setAppSecret( lazyNettyServerPropertiesDO.getAppSecret() ); - lazyNettyServerProperties.setUpdateTime( lazyNettyServerPropertiesDO.getUpdateTime() ); - - return lazyNettyServerProperties; - } - - @Override - public LazyNettyServerPropertiesDO fromLazyNettyServerProperties(LazyNettyServerProperties lazyNettyServerProperties) { - if ( lazyNettyServerProperties == null ) { - return null; - } - - LazyNettyServerPropertiesDO lazyNettyServerPropertiesDO = new LazyNettyServerPropertiesDO(); - - lazyNettyServerPropertiesDO.setClientId( lazyNettyServerProperties.getClientId() ); - lazyNettyServerPropertiesDO.setConnectStatus( lazyNettyServerProperties.getConnectStatus() ); - lazyNettyServerPropertiesDO.setCreateTime( lazyNettyServerProperties.getCreateTime() ); - lazyNettyServerPropertiesDO.setInetHost( lazyNettyServerProperties.getInetHost() ); - lazyNettyServerPropertiesDO.setInetPort( lazyNettyServerProperties.getInetPort() ); - lazyNettyServerPropertiesDO.setAppKey( lazyNettyServerProperties.getAppKey() ); - lazyNettyServerPropertiesDO.setAppSecret( lazyNettyServerProperties.getAppSecret() ); - lazyNettyServerPropertiesDO.setType( lazyNettyServerProperties.getType() ); - lazyNettyServerPropertiesDO.setProtocolType( lazyNettyServerProperties.getProtocolType() ); - lazyNettyServerPropertiesDO.setUpdateTime( lazyNettyServerProperties.getUpdateTime() ); - - return lazyNettyServerPropertiesDO; - } -}