[fix] 使用自定义@LazyMapper 进行数据转换

This commit is contained in:
wujiawei
2025-06-19 16:25:37 +08:00
parent e41c293c31
commit aafa684525
40 changed files with 160 additions and 160 deletions

View File

@@ -7,8 +7,8 @@ import org.framework.lazy.cloud.network.heartbeat.client.application.command.laz
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.dto.LazyNettyServerPropertiesDTO;
import org.wu.framework.core.mapper.LazyMappers;
import org.wu.framework.core.mapper.LazyMapper;
import org.wu.framework.core.mapper.LazyStructMappers;
import org.wu.framework.core.mapper.LazyStructMapper;
/**
* describe 服务端配置信息
@@ -17,7 +17,7 @@ import org.wu.framework.core.mapper.LazyMapper;
* @date 2024/04/03 03:00 下午
* @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyAssembler
**/
@LazyMapper
@LazyStructMapper
public interface LazyNettyServerPropertiesDTOAssembler {
@@ -27,7 +27,7 @@ public interface LazyNettyServerPropertiesDTOAssembler {
* @author Jia wei Wu
* @date 2024/04/03 03:00 下午
**/
LazyNettyServerPropertiesDTOAssembler INSTANCE = LazyMappers.getMapper(LazyNettyServerPropertiesDTOAssembler.class);
LazyNettyServerPropertiesDTOAssembler INSTANCE = LazyStructMappers.getMapper(LazyNettyServerPropertiesDTOAssembler.class);
// LazyNettyServerPropertiesDTOAssembler INSTANCE = new LazyNettyServerPropertiesDTOAssemblerImpl();
/**

View File

@@ -2,8 +2,8 @@ package org.framework.lazy.cloud.network.heartbeat.client.infrastructure.convert
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;
import org.wu.framework.core.mapper.LazyMapper;
import org.wu.framework.core.mapper.LazyMappers;
import org.wu.framework.core.mapper.LazyStructMapper;
import org.wu.framework.core.mapper.LazyStructMappers;
/**
* describe 服务端配置信息
@@ -12,7 +12,7 @@ import org.wu.framework.core.mapper.LazyMappers;
* @date 2024/04/03 03:00 下午
* @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyInfrastructureConverter
**/
@LazyMapper
@LazyStructMapper
public interface LazyNettyServerPropertiesConverter {
@@ -22,7 +22,7 @@ public interface LazyNettyServerPropertiesConverter {
* @author Jia wei Wu
* @date 2024/04/03 03:00 下午
**/
LazyNettyServerPropertiesConverter INSTANCE = LazyMappers.getMapper(LazyNettyServerPropertiesConverter.class);
LazyNettyServerPropertiesConverter INSTANCE = LazyStructMappers.getMapper(LazyNettyServerPropertiesConverter.class);
// LazyNettyServerPropertiesConverter INSTANCE = new LazyNettyServerPropertiesConverterImpl();
/**