mirror of
https://gitee.com/wujiawei1207537021/wu-lazy-cloud-network.git
synced 2025-06-06 13:27:55 +08:00
【fix】添加客户端渗透客户端映射
This commit is contained in:
parent
81e2a74cf1
commit
7aa2a70a43
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -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;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user