[fix] 修复native打包与mapper不兼容问题,切换至自定义bean拷贝

This commit is contained in:
wujiawei
2025-06-09 14:40:06 +08:00
parent e8383c78ad
commit 01a2937414
40 changed files with 81 additions and 80 deletions

View File

@ -7,7 +7,7 @@ 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.mapstruct.factory.Mappers;
import org.wu.framework.core.mapper.LazyMappers;
import org.mapstruct.Mapper;
/**
* describe 服务端配置信息
@ -29,7 +29,7 @@ public interface LazyNettyServerPropertiesDTOAssembler {
* @author Jia wei Wu
* @date 2024/04/03 03:00 下午
**/
LazyNettyServerPropertiesDTOAssembler INSTANCE = Mappers.getMapper(LazyNettyServerPropertiesDTOAssembler.class);
LazyNettyServerPropertiesDTOAssembler INSTANCE = LazyMappers.getMapper(LazyNettyServerPropertiesDTOAssembler.class);
/**
* describe 应用层存储入参转换成 领域对象
*

View File

@ -2,7 +2,7 @@ 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.mapstruct.factory.Mappers;
import org.wu.framework.core.mapper.LazyMappers;
import org.mapstruct.Mapper;
/**
* describe 服务端配置信息
@ -24,7 +24,7 @@ public interface LazyNettyServerPropertiesConverter {
* @author Jia wei Wu
* @date 2024/04/03 03:00 下午
**/
LazyNettyServerPropertiesConverter INSTANCE = Mappers.getMapper(LazyNettyServerPropertiesConverter.class);
LazyNettyServerPropertiesConverter INSTANCE = LazyMappers.getMapper(LazyNettyServerPropertiesConverter.class);
/**
* describe 实体对象 转换成领域对象
*