🎉 优化 terminal 模块逻辑.

This commit is contained in:
lijiahangmax
2025-06-26 00:59:15 +08:00
parent 712b175179
commit 9d4c2aaeb4
206 changed files with 6612 additions and 1273 deletions

View File

@@ -1,34 +0,0 @@
/*
* Copyright (c) 2023 - present Dromara, All rights reserved.
*
* https://visor.dromara.org
* https://visor.dromara.org.cn
* https://visor.orionsec.cn
*
* Members:
* Jiahang Li - ljh1553488six@139.com - author
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dromara.visor.module.infra.constant;
/**
* 数据额外字段常量
*
* @author Jiahang Li
* @version 1.0.0
* @since 2023/12/19 22:26
*/
public interface DataExtraItems {
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright (c) 2023 - present Dromara, All rights reserved.
*
* https://visor.dromara.org
* https://visor.dromara.org.cn
* https://visor.orionsec.cn
*
* Members:
* Jiahang Li - ljh1553488six@139.com - author
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dromara.visor.module.infra.convert;
import org.dromara.visor.module.infra.entity.domain.DataPermissionDO;
import org.dromara.visor.module.infra.entity.request.data.DataPermissionUpdateRequest;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
/**
* 数据权限 内部对象转换器
*
* @author Jiahang Li
* @version 1.0.0
* @since 2023-11-21 10:32
*/
@Mapper
public interface DataPermissionConvert {
DataPermissionConvert MAPPER = Mappers.getMapper(DataPermissionConvert.class);
DataPermissionDO to(DataPermissionUpdateRequest request);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright (c) 2023 - present Dromara, All rights reserved.
*
* https://visor.dromara.org
* https://visor.dromara.org.cn
* https://visor.orionsec.cn
*
* Members:
* Jiahang Li - ljh1553488six@139.com - author
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.dromara.visor.module.infra.convert;
import org.dromara.visor.module.infra.entity.dto.data.DataPermissionUpdateDTO;
import org.dromara.visor.module.infra.entity.request.data.DataPermissionUpdateRequest;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
/**
* 数据权限 对外服务对象转换器
*
* @author Jiahang Li
* @version 1.0.0
* @since 2023-11-21 10:32
*/
@Mapper
public interface DataPermissionProviderConvert {
DataPermissionProviderConvert MAPPER = Mappers.getMapper(DataPermissionProviderConvert.class);
DataPermissionUpdateRequest toRequest(DataPermissionUpdateDTO request);
}