#### 项目简介
-一个基于 Spring Boot 2.6.4 、 Mybatis-Plus、 JWT、Spring Security、Redis、Vue的前后端分离的后台管理系统
+一个基于 Spring Boot 2.6.6 、 Mybatis-Plus、 JWT、Spring Security、Redis、Vue的前后端分离的后台管理系统
**开发文档:** [https://eladmin.vip](https://eladmin.vip)
@@ -33,7 +33,6 @@
- 对一些常用地前端组件封装:表格数据请求、数据字典等
- 前后端统一异常拦截处理,统一输出异常,避免繁琐的判断
- 支持在线用户管理与服务器性能监控,支持限制单用户登录
-- 支持运维管理,可方便地对远程服务器的应用进行部署与管理
#### 系统功能
- 用户管理:提供用户的相关配置,新增用户后,默认密码为123456
@@ -50,7 +49,6 @@
- 七牛云存储:可同步七牛云存储的数据到系统,无需登录七牛云直接操作云数据
- 支付宝支付:整合了支付宝支付并且提供了测试账号,可自行测试
- 服务监控:监控服务器的负载情况
-- 运维管理:一键部署你的应用
#### 项目结构
项目采用按功能分模块的开发方式,结构如下
@@ -72,15 +70,30 @@
- annotation 为系统自定义注解
- aspect 自定义注解的切面
- base 提供了 Entity 基类
- - config 自定义权限实现、redis配置、swagger配置、Rsa配置等
+ - config 项目通用配置
+ - Mybatis-Plus 配置
+ - Web配置跨域与静态资源映射、Swagger配置,文件上传临时路径配置
+ - Redis配置,Redission配置, 异步线程池配置
+ - 权限拦截配置:AuthorityConfig、Druid 删除广告配置
- exception 项目统一异常的处理
- - utils 系统通用工具类
+ - utils 系统通用工具类,列举一些常用的工具类
+ - BigDecimaUtils 金额计算工具类
+ - RequestHolder 请求工具类
+ - SecurityUtils 安全工具类
+ - StringUtils 字符串工具类
+ - SpringBeanHolder Spring Bean工具类
+ - RedisUtils Redis工具类
+ - EncryptUtils 加密工具类
+ - FileUtil 文件工具类
- eladmin-system 系统核心模块(系统启动入口)
- - config 配置跨域与静态资源,与数据权限
- - thread 线程池相关
- - modules 系统相关模块(登录授权、系统监控、定时任务、运维管理等)
+ - sysrunner 程序启动后处理数据
+ - modules 系统相关模块(登录授权、系统监控、定时任务、系统模块)
- eladmin-logging 系统日志模块
- eladmin-tools 系统第三方工具模块
+ - email 邮件工具
+ - qiniu 七牛云存储工具
+ - alipay 支付宝支付工具
+ - local-storage 本地存储工具
- eladmin-generator 系统代码生成模块
```
@@ -90,8 +103,6 @@
- 感谢 [Moxun](https://github.com/moxun1639) 大佬提供的前端 Curd 通用组件
-- 感谢 [zhy6599](https://gitee.com/zhy6599) 大佬提供的后端运维管理相关功能
-
- 感谢 [j.yao.SUSE](https://github.com/everhopingandwaiting) 大佬提供的匿名接口与Redis限流等功能
#### 项目捐赠
diff --git a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MyMetaObjectHandler.java b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MyMetaObjectHandler.java
index 5237eef..f21c50f 100644
--- a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MyMetaObjectHandler.java
+++ b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MyMetaObjectHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2023 Zheng Jie
+ * Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MybatisPlusConfig.java b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MybatisPlusConfig.java
index 3730f7d..9753d6a 100644
--- a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MybatisPlusConfig.java
+++ b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/mybatis/MybatisPlusConfig.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2023 Zheng Jie
+ * Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/WebSocketConfig.java b/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/WebSocketConfig.java
deleted file mode 100644
index 1a2cdd7..0000000
--- a/eladmin/eladmin-common/src/main/java/me/zhengjie/config/webConfig/WebSocketConfig.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.config.webConfig;
-
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.web.socket.server.standard.ServerEndpointExporter;
-
-/**
- * @author ZhangHouYing
- * @date 2019-08-24 15:44
- */
-@Configuration
-public class WebSocketConfig {
-
- @Bean
- public ServerEndpointExporter serverEndpointExporter() {
- return new ServerEndpointExporter();
- }
-}
diff --git a/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/ColumnInfo.java b/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/ColumnInfo.java
index 78e355e..158fa65 100644
--- a/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/ColumnInfo.java
+++ b/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/ColumnInfo.java
@@ -32,7 +32,7 @@ import java.io.Serializable;
@Getter
@Setter
@NoArgsConstructor
-@TableName("code_column_config")
+@TableName("code_column")
public class ColumnInfo implements Serializable {
@ApiModelProperty(value = "ID", hidden = true)
diff --git a/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/GenConfig.java b/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/GenConfig.java
index 056bdd0..2b9a835 100644
--- a/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/GenConfig.java
+++ b/eladmin/eladmin-generator/src/main/java/me/zhengjie/domain/GenConfig.java
@@ -34,7 +34,7 @@ import java.io.Serializable;
@Getter
@Setter
@NoArgsConstructor
-@TableName("code_gen_config")
+@TableName("code_config")
public class GenConfig implements Serializable {
public GenConfig(String tableName) {
diff --git a/eladmin/eladmin-generator/src/main/resources/mapper/ColumnInfoMapper.xml b/eladmin/eladmin-generator/src/main/resources/mapper/ColumnInfoMapper.xml
index c9accd7..ff7feae 100644
--- a/eladmin/eladmin-generator/src/main/resources/mapper/ColumnInfoMapper.xml
+++ b/eladmin/eladmin-generator/src/main/resources/mapper/ColumnInfoMapper.xml
@@ -32,7 +32,7 @@
diff --git a/eladmin/eladmin-generator/src/main/resources/mapper/GenConfigMapper.xml b/eladmin/eladmin-generator/src/main/resources/mapper/GenConfigMapper.xml
index 55926b1..6b8fbae 100644
--- a/eladmin/eladmin-generator/src/main/resources/mapper/GenConfigMapper.xml
+++ b/eladmin/eladmin-generator/src/main/resources/mapper/GenConfigMapper.xml
@@ -21,7 +21,7 @@
\ No newline at end of file
diff --git a/eladmin/eladmin-generator/src/main/resources/template/admin/Controller.ftl b/eladmin/eladmin-generator/src/main/resources/template/admin/Controller.ftl
index 9e064bf..9a37c6f 100644
--- a/eladmin/eladmin-generator/src/main/resources/template/admin/Controller.ftl
+++ b/eladmin/eladmin-generator/src/main/resources/template/admin/Controller.ftl
@@ -1,5 +1,5 @@
/*
-* Copyright 2019-2023 Zheng Jie
+* Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-generator/src/main/resources/template/admin/Entity.ftl b/eladmin/eladmin-generator/src/main/resources/template/admin/Entity.ftl
index 8b7a9af..42c8a43 100644
--- a/eladmin/eladmin-generator/src/main/resources/template/admin/Entity.ftl
+++ b/eladmin/eladmin-generator/src/main/resources/template/admin/Entity.ftl
@@ -1,5 +1,5 @@
/*
-* Copyright 2019-2023 Zheng Jie
+* Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-generator/src/main/resources/template/admin/Mapper.ftl b/eladmin/eladmin-generator/src/main/resources/template/admin/Mapper.ftl
index 7e220cb..8f90793 100644
--- a/eladmin/eladmin-generator/src/main/resources/template/admin/Mapper.ftl
+++ b/eladmin/eladmin-generator/src/main/resources/template/admin/Mapper.ftl
@@ -1,5 +1,5 @@
/*
-* Copyright 2019-2023 Zheng Jie
+* Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-generator/src/main/resources/template/admin/QueryCriteria.ftl b/eladmin/eladmin-generator/src/main/resources/template/admin/QueryCriteria.ftl
index b9aaab1..01cae97 100644
--- a/eladmin/eladmin-generator/src/main/resources/template/admin/QueryCriteria.ftl
+++ b/eladmin/eladmin-generator/src/main/resources/template/admin/QueryCriteria.ftl
@@ -1,5 +1,5 @@
/*
-* Copyright 2019-2023 Zheng Jie
+* Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-generator/src/main/resources/template/admin/Service.ftl b/eladmin/eladmin-generator/src/main/resources/template/admin/Service.ftl
index b8cb69f..d8d994c 100644
--- a/eladmin/eladmin-generator/src/main/resources/template/admin/Service.ftl
+++ b/eladmin/eladmin-generator/src/main/resources/template/admin/Service.ftl
@@ -1,5 +1,5 @@
/*
-* Copyright 2019-2023 Zheng Jie
+* Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-generator/src/main/resources/template/admin/ServiceImpl.ftl b/eladmin/eladmin-generator/src/main/resources/template/admin/ServiceImpl.ftl
index ac691b8..512815b 100644
--- a/eladmin/eladmin-generator/src/main/resources/template/admin/ServiceImpl.ftl
+++ b/eladmin/eladmin-generator/src/main/resources/template/admin/ServiceImpl.ftl
@@ -1,5 +1,5 @@
/*
-* Copyright 2019-2023 Zheng Jie
+* Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-logging/src/main/java/me/zhengjie/mapper/SysLogMapper.java b/eladmin/eladmin-logging/src/main/java/me/zhengjie/mapper/SysLogMapper.java
index 42da054..65080b8 100644
--- a/eladmin/eladmin-logging/src/main/java/me/zhengjie/mapper/SysLogMapper.java
+++ b/eladmin/eladmin-logging/src/main/java/me/zhengjie/mapper/SysLogMapper.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2023 Zheng Jie
+ * Copyright 2019-2025 Zheng Jie
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/eladmin/eladmin-system/pom.xml b/eladmin/eladmin-system/pom.xml
index 6dd6e2b..0024510 100644
--- a/eladmin/eladmin-system/pom.xml
+++ b/eladmin/eladmin-system/pom.xml
@@ -62,18 +62,6 @@
${jjwt.version}
-
-
- ch.ethz.ganymed
- ganymed-ssh2
- build210
-
-
- com.jcraft
- jsch
- 0.1.55
-
-
com.github.oshi
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/App.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/App.java
deleted file mode 100644
index 4d83cbf..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/App.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModelProperty;
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.bean.copier.CopyOptions;
-import lombok.Getter;
-import lombok.Setter;
-import me.zhengjie.base.BaseEntity;
-import java.io.Serializable;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Getter
-@Setter
-@TableName("mnt_app")
-public class App extends BaseEntity implements Serializable {
-
-
- @TableId(value = "app_id", type = IdType.AUTO)
- @ApiModelProperty(value = "ID", hidden = true)
- private Long id;
-
- @ApiModelProperty(value = "名称")
- private String name;
-
- @ApiModelProperty(value = "端口")
- private int port;
-
- @ApiModelProperty(value = "上传路径")
- private String uploadPath;
-
- @ApiModelProperty(value = "部署路径")
- private String deployPath;
-
- @ApiModelProperty(value = "备份路径")
- private String backupPath;
-
- @ApiModelProperty(value = "启动脚本")
- private String startScript;
-
- @ApiModelProperty(value = "部署脚本")
- private String deployScript;
-
- public void copy(App source){
- BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
- }
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Database.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Database.java
deleted file mode 100644
index fd4a42b..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Database.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModelProperty;
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.bean.copier.CopyOptions;
-import lombok.Getter;
-import lombok.Setter;
-import me.zhengjie.base.BaseEntity;
-import java.io.Serializable;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Getter
-@Setter
-@TableName("mnt_database")
-public class Database extends BaseEntity implements Serializable {
-
- @TableId(value = "db_id", type = IdType.AUTO)
- @ApiModelProperty(value = "ID", hidden = true)
- private String id;
-
- @ApiModelProperty(value = "数据库名称")
- private String name;
-
- @ApiModelProperty(value = "数据库连接地址")
- private String jdbcUrl;
-
- @ApiModelProperty(value = "数据库密码")
- private String pwd;
-
- @ApiModelProperty(value = "用户名")
- private String userName;
-
- public void copy(Database source){
- BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
- }
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Deploy.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Deploy.java
deleted file mode 100644
index db16437..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Deploy.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain;
-
-import cn.hutool.core.collection.CollectionUtil;
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableField;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModelProperty;
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.bean.copier.CopyOptions;
-import lombok.Getter;
-import lombok.Setter;
-import me.zhengjie.base.BaseEntity;
-import java.io.Serializable;
-import java.util.Set;
-import java.util.stream.Collectors;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-
-@Getter
-@Setter
-@TableName("mnt_deploy")
-public class Deploy extends BaseEntity implements Serializable {
-
- @TableId(value = "deploy_id", type = IdType.AUTO)
- @ApiModelProperty(value = "ID", hidden = true)
- private Long id;
-
- @ApiModelProperty(value = "应用编号")
- private Long appId;
-
- @TableField(exist = false)
- @ApiModelProperty(name = "服务器", hidden = true)
- private Set deploys;
-
- @TableField(exist = false)
- @ApiModelProperty(value = "应用")
- private App app;
-
- public void copy(Deploy source){
- BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
- }
-
- public String getServers() {
- if(CollectionUtil.isNotEmpty(deploys)){
- return deploys.stream().map(Server::getName).collect(Collectors.joining(","));
- }
- return "";
- }
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/DeployHistory.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/DeployHistory.java
deleted file mode 100644
index 09c02be..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/DeployHistory.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModelProperty;
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.bean.copier.CopyOptions;
-import lombok.Getter;
-import lombok.Setter;
-import java.io.Serializable;
-import java.sql.Timestamp;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Getter
-@Setter
-@TableName("mnt_deploy_history")
-public class DeployHistory implements Serializable {
-
- @TableId(value = "history_id", type = IdType.AUTO)
- @ApiModelProperty(value = "ID", hidden = true)
- private String id;
-
- @ApiModelProperty(value = "应用名称")
- private String appName;
-
- @ApiModelProperty(value = "IP")
- private String ip;
-
- @ApiModelProperty(value = "部署时间")
- private Timestamp deployDate;
-
- @ApiModelProperty(value = "部署者")
- private String deployUser;
-
- @ApiModelProperty(value = "部署ID")
- private Long deployId;
-
- public void copy(DeployHistory source){
- BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
- }
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Server.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Server.java
deleted file mode 100644
index 841b8c4..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/Server.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain;
-
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import io.swagger.annotations.ApiModelProperty;
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.bean.copier.CopyOptions;
-import lombok.Getter;
-import lombok.Setter;
-import me.zhengjie.base.BaseEntity;
-import java.io.Serializable;
-import java.util.Objects;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Getter
-@Setter
-@TableName("mnt_server")
-public class Server extends BaseEntity implements Serializable {
-
- @TableId(value = "server_id", type = IdType.AUTO)
- @ApiModelProperty(value = "ID", hidden = true)
- private Long id;
-
- @ApiModelProperty(value = "服务器名称")
- private String name;
-
- @ApiModelProperty(value = "IP")
- private String ip;
-
- @ApiModelProperty(value = "端口")
- private Integer port;
-
- @ApiModelProperty(value = "账号")
- private String account;
-
- @ApiModelProperty(value = "密码")
- private String password;
-
- public void copy(Server source){
- BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) {
- return true;
- }
- if (o == null || getClass() != o.getClass()) {
- return false;
- }
- Server that = (Server) o;
- return Objects.equals(id, that.id) &&
- Objects.equals(name, that.name);
- }
-
- @Override
- public int hashCode() {
- return Objects.hash(id, name);
- }
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/AppQueryCriteria.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/AppQueryCriteria.java
deleted file mode 100644
index e236b0f..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/AppQueryCriteria.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain.dto;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import java.sql.Timestamp;
-import java.util.List;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Data
-public class AppQueryCriteria{
-
- @ApiModelProperty(value = "名称")
- private String name;
-
- @ApiModelProperty(value = "创建时间")
- private List createTime;
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DatabaseQueryCriteria.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DatabaseQueryCriteria.java
deleted file mode 100644
index 5c0e732..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DatabaseQueryCriteria.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain.dto;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import java.sql.Timestamp;
-import java.util.List;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Data
-public class DatabaseQueryCriteria{
-
- @ApiModelProperty(value = "名称")
- private String name;
-
- @ApiModelProperty(value = "数据源")
- private String jdbcUrl;
-
- @ApiModelProperty(value = "创建时间")
- private List createTime;
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DeployHistoryQueryCriteria.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DeployHistoryQueryCriteria.java
deleted file mode 100644
index 4e9f241..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DeployHistoryQueryCriteria.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain.dto;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import java.sql.Timestamp;
-import java.util.List;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Data
-public class DeployHistoryQueryCriteria{
-
- @ApiModelProperty(value = "模糊查询")
- private String blurry;
-
- @ApiModelProperty(value = "部署ID")
- private Long deployId;
-
- @ApiModelProperty(value = "部署时间")
- private List deployDate;
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DeployQueryCriteria.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DeployQueryCriteria.java
deleted file mode 100644
index e8b4daf..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/DeployQueryCriteria.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain.dto;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import java.sql.Timestamp;
-import java.util.List;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Data
-public class DeployQueryCriteria{
-
- @ApiModelProperty(value = "应用名称")
- private String appName;
-
- @ApiModelProperty(value = "创建时间")
- private List createTime;
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/ServerQueryCriteria.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/ServerQueryCriteria.java
deleted file mode 100644
index 4f89c33..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/domain/dto/ServerQueryCriteria.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2019-2020 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.domain.dto;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
-import java.sql.Timestamp;
-import java.util.List;
-
-/**
-* @author zhanghouying
-* @date 2019-08-24
-*/
-@Data
-public class ServerQueryCriteria {
-
- @ApiModelProperty(value = "模糊查询")
- private String blurry;
-
- @ApiModelProperty(value = "创建时间")
- private List createTime;
-}
diff --git a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/mapper/AppMapper.java b/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/mapper/AppMapper.java
deleted file mode 100644
index 175156f..0000000
--- a/eladmin/eladmin-system/src/main/java/me/zhengjie/modules/mnt/mapper/AppMapper.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2019-2023 Zheng Jie
- *
- * 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 me.zhengjie.modules.mnt.mapper;
-
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import me.zhengjie.modules.mnt.domain.App;
-import me.zhengjie.modules.mnt.domain.dto.AppQueryCriteria;
-import org.apache.ibatis.annotations.Mapper;
-import org.apache.ibatis.annotations.Param;
-
-import java.util.List;
-
-/**
- * @author Zheng Jie
- * @description
- * @date 2023-06-12
- **/
-@Mapper
-public interface AppMapper extends BaseMapper {
-
- IPage queryAll(@Param("criteria") AppQueryCriteria criteria, Page