【fix】添加客户端渗透客户端映射

This commit is contained in:
wujiawei 2024-09-17 22:13:38 +08:00
parent 81e2a74cf1
commit 7aa2a70a43
10 changed files with 35 additions and 35 deletions

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMappingQueryListCommand {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMappingQueryOneCommand {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMappingRemoveCommand {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMappingStoryCommand {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMappingUpdateCommand {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMappingDTO {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -37,10 +37,10 @@ public class LazyInternalNetworkClientPermeateClientMapping {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description ="form客户端ID",name ="formClientId",example = "")
private String formClientId;
@Schema(description ="from客户端ID",name ="fromClientId",example = "")
private String fromClientId;
/**
*

View File

@ -23,11 +23,11 @@ public class LazyInternalNetworkClientPermeateClientMappingDO {
/**
*
* form客户端ID
* from客户端ID
*/
@Schema(description = "form客户端ID", name = "formClientId", example = "")
@LazyTableFieldUnique(name = "from_client_id", comment = "form客户端ID", columnType = "varchar(255)")
private String formClientId;
@Schema(description = "from客户端ID", name = "fromClientId", example = "")
@LazyTableFieldUnique(name = "from_client_id", comment = "from客户端ID", columnType = "varchar(255)")
private String fromClientId;
/**

View File

@ -1,19 +1,19 @@
package org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.persistence;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyInternalNetworkClientPermeateClientMappingDO;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.converter.LazyInternalNetworkClientPermeateClientMappingConverter;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.mapper.LazyInternalNetworkClientPermeateClientMappingMapper;
import jakarta.annotation.Resource;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.internal.network.client.permeate.client.mapping.LazyInternalNetworkClientPermeateClientMapping;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.internal.network.client.permeate.client.mapping.LazyInternalNetworkClientPermeateClientMappingRepository;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.converter.LazyInternalNetworkClientPermeateClientMappingConverter;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyInternalNetworkClientPermeateClientMappingDO;
import org.springframework.stereotype.Repository;
import java.util.stream.Collectors;
import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
import org.wu.framework.lazy.orm.database.lambda.stream.lambda.LazyLambdaStream;
import org.wu.framework.lazy.orm.database.lambda.stream.wrapper.LazyWrappers;
import org.wu.framework.web.response.Result;
import org.wu.framework.web.response.ResultFactory;
import jakarta.annotation.Resource;
import org.framework.lazy.cloud.network.heartbeat.server.standalone.domain.model.lazy.internal.network.client.permeate.client.mapping.LazyInternalNetworkClientPermeateClientMapping;
import org.wu.framework.lazy.orm.database.lambda.stream.lambda.LazyLambdaStream;
import java.util.List;
import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
import java.util.stream.Collectors;
/**
* describe 客户端渗透客户端映射
*
@ -128,7 +128,7 @@ public class LazyInternalNetworkClientPermeateClientMappingRepositoryImpl imple
@Override
public Result<LazyInternalNetworkClientPermeateClientMapping> remove(LazyInternalNetworkClientPermeateClientMapping lazyInternalNetworkClientPermeateClientMapping) {
LazyInternalNetworkClientPermeateClientMappingDO lazyInternalNetworkClientPermeateClientMappingDO = LazyInternalNetworkClientPermeateClientMappingConverter.INSTANCE.fromLazyInternalNetworkClientPermeateClientMapping(lazyInternalNetworkClientPermeateClientMapping);
// lazyLambdaStream.delete(LazyWrappers.lambdaWrapperBean(lazyInternalNetworkClientPermeateClientMappingDO));
lazyLambdaStream.delete(LazyWrappers.lambdaWrapperBean(lazyInternalNetworkClientPermeateClientMappingDO));
return ResultFactory.successOf();
}

View File

@ -5,7 +5,7 @@
<resultMap id="BaseResultMap" type="org.framework.lazy.cloud.network.heartbeat.server.standalone.infrastructure.entity.LazyInternalNetworkClientPermeateClientMappingDO">
<result column="create_time" property="createTime" />
<result column="`describe`" property="describe" />
<result column="form_client_id" property="formClientId" />
<result column="form_client_id" property="fromClientId" />
<id column="id" property="id" />
<result column="is_deleted" property="isDeleted" />
<result column="permeate_target_ip" property="permeateTargetIp" />