diff --git a/LICENSE b/LICENSE index 8564f29..efcb64f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 RuoYi +Copyright (c) 2018 McWl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in @@ -17,4 +17,4 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 8584f3a..4943b14 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,14 @@ -

- logo -

-

RuoYi v3.8.8

-

基于SpringBoot+Vue前后端分离的Java快速开发框架

-

- - - -

- -## 平台简介 - -若依是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。 - * 前端采用Vue、Element UI。 * 后端采用Spring Boot、Spring Security、Redis & Jwt。 * 权限认证使用Jwt,支持多终端认证系统。 * 支持加载动态权限菜单,多方式轻松权限控制。 * 高效率开发,使用代码生成器可以一键生成前后端代码。 -* 提供了技术栈([Vue3](https://v3.cn.vuejs.org) [Element Plus](https://element-plus.org/zh-CN) [Vite](https://cn.vitejs.dev))版本[RuoYi-Vue3](https://gitcode.com/yangzongzhuan/RuoYi-Vue3),保持同步更新。 -* 提供了单应用版本[RuoYi-Vue-fast](https://gitcode.com/yangzongzhuan/RuoYi-Vue-fast),Oracle版本[RuoYi-Vue-Oracle](https://gitcode.com/yangzongzhuan/RuoYi-Vue-Oracle),保持同步更新。 -* 不分离版本,请移步[RuoYi](https://gitee.com/y_project/RuoYi),微服务版本,请移步[RuoYi-Cloud](https://gitee.com/y_project/RuoYi-Cloud) -* 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)   +* 提供了技术栈([Vue3](https://v3.cn.vuejs.org) [Element Plus](https://element-plus.org/zh-CN) [Vite](https://cn.vitejs.dev))版本[McWl-Vue3](https://gitcode.com/yangzongzhuan/McWl-Vue3),保持同步更新。 +* 提供了单应用版本[McWl-Vue-fast](https://gitcode.com/yangzongzhuan/McWl-Vue-fast),Oracle版本[McWl-Vue-Oracle](https://gitcode.com/yangzongzhuan/McWl-Vue-Oracle),保持同步更新。 +* 不分离版本,请移步[McWl](https://gitee.com/y_project/McWl),微服务版本,请移步[McWl-Cloud](https://gitee.com/y_project/McWl-Cloud) +* 阿里云折扣场:[点我进入](http://aly.mcwl.vip),腾讯云秒杀场:[点我进入](http://txy.mcwl.vip)   ## 内置功能 - 1. 用户管理:用户是系统操作者,该功能主要完成系统用户配置。 2. 部门管理:配置系统组织机构(公司、部门、小组),树结构展现支持数据权限。 3. 岗位管理:配置系统用户所属担任职务。 @@ -43,53 +27,3 @@ 16. 缓存监控:对系统的缓存信息查询,命令统计等。 17. 在线构建器:拖动表单元素生成相应的HTML代码。 18. 连接池监视:监视当前系统数据库连接池状态,可进行分析SQL找出系统性能瓶颈。 - -## 在线体验 - -- admin/admin123 -- 陆陆续续收到一些打赏,为了更好的体验已用于演示服务器升级。谢谢各位小伙伴。 - -演示地址:http://vue.ruoyi.vip -文档地址:http://doc.ruoyi.vip - -## 演示图 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -## 若依前后端分离交流群 - -QQ群: [![加入QQ群](https://img.shields.io/badge/已满-937441-blue.svg)](https://jq.qq.com/?_wv=1027&k=5bVB1og) [![加入QQ群](https://img.shields.io/badge/已满-887144332-blue.svg)](https://jq.qq.com/?_wv=1027&k=5eiA4DH) [![加入QQ群](https://img.shields.io/badge/已满-180251782-blue.svg)](https://jq.qq.com/?_wv=1027&k=5AxMKlC) [![加入QQ群](https://img.shields.io/badge/已满-104180207-blue.svg)](https://jq.qq.com/?_wv=1027&k=51G72yr) [![加入QQ群](https://img.shields.io/badge/已满-186866453-blue.svg)](https://jq.qq.com/?_wv=1027&k=VvjN2nvu) [![加入QQ群](https://img.shields.io/badge/已满-201396349-blue.svg)](https://jq.qq.com/?_wv=1027&k=5vYAqA05) [![加入QQ群](https://img.shields.io/badge/已满-101456076-blue.svg)](https://jq.qq.com/?_wv=1027&k=kOIINEb5) [![加入QQ群](https://img.shields.io/badge/已满-101539465-blue.svg)](https://jq.qq.com/?_wv=1027&k=UKtX5jhs) [![加入QQ群](https://img.shields.io/badge/已满-264312783-blue.svg)](https://jq.qq.com/?_wv=1027&k=EI9an8lJ) [![加入QQ群](https://img.shields.io/badge/已满-167385320-blue.svg)](https://jq.qq.com/?_wv=1027&k=SWCtLnMz) [![加入QQ群](https://img.shields.io/badge/已满-104748341-blue.svg)](https://jq.qq.com/?_wv=1027&k=96Dkdq0k) [![加入QQ群](https://img.shields.io/badge/已满-160110482-blue.svg)](https://jq.qq.com/?_wv=1027&k=0fsNiYZt) [![加入QQ群](https://img.shields.io/badge/已满-170801498-blue.svg)](https://jq.qq.com/?_wv=1027&k=7xw4xUG1) [![加入QQ群](https://img.shields.io/badge/已满-108482800-blue.svg)](https://jq.qq.com/?_wv=1027&k=eCx8eyoJ) [![加入QQ群](https://img.shields.io/badge/已满-101046199-blue.svg)](https://jq.qq.com/?_wv=1027&k=SpyH2875) [![加入QQ群](https://img.shields.io/badge/已满-136919097-blue.svg)](https://jq.qq.com/?_wv=1027&k=tKEt51dz) [![加入QQ群](https://img.shields.io/badge/已满-143961921-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=0vBbSb0ztbBgVtn3kJS-Q4HUNYwip89G&authKey=8irq5PhutrZmWIvsUsklBxhj57l%2F1nOZqjzigkXZVoZE451GG4JHPOqW7AW6cf0T&noverify=0&group_code=143961921) [![加入QQ群](https://img.shields.io/badge/已满-174951577-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=ZFAPAbp09S2ltvwrJzp7wGlbopsc0rwi&authKey=HB2cxpxP2yspk%2Bo3WKTBfktRCccVkU26cgi5B16u0KcAYrVu7sBaE7XSEqmMdFQp&noverify=0&group_code=174951577) [![加入QQ群](https://img.shields.io/badge/已满-161281055-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=Fn2aF5IHpwsy8j6VlalNJK6qbwFLFHat&authKey=uyIT%2B97x2AXj3odyXpsSpVaPMC%2Bidw0LxG5MAtEqlrcBcWJUA%2FeS43rsF1Tg7IRJ&noverify=0&group_code=161281055) [![加入QQ群](https://img.shields.io/badge/已满-138988063-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=XIzkm_mV2xTsUtFxo63bmicYoDBA6Ifm&authKey=dDW%2F4qsmw3x9govoZY9w%2FoWAoC4wbHqGal%2BbqLzoS6VBarU8EBptIgPKN%2FviyC8j&noverify=0&group_code=138988063) [![加入QQ群](https://img.shields.io/badge/151450850-blue.svg)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=DkugnCg68PevlycJSKSwjhFqfIgrWWwR&authKey=pR1Pa5lPIeGF%2FFtIk6d%2FGB5qFi0EdvyErtpQXULzo03zbhopBHLWcuqdpwY241R%2F&noverify=0&group_code=151450850) 点击按钮入群。 \ No newline at end of file diff --git a/mcwl-admin/src/main/java/com/mcwl/RuoYiApplication.java b/mcwl-admin/src/main/java/com/mcwl/McWlApplication.java similarity index 82% rename from mcwl-admin/src/main/java/com/mcwl/RuoYiApplication.java rename to mcwl-admin/src/main/java/com/mcwl/McWlApplication.java index 21b19f8..bd02bff 100644 --- a/mcwl-admin/src/main/java/com/mcwl/RuoYiApplication.java +++ b/mcwl-admin/src/main/java/com/mcwl/McWlApplication.java @@ -6,17 +6,17 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; /** * 启动程序 - * - * @author ruoyi + * + * @author mcwl */ @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class }) -public class RuoYiApplication +public class McWlApplication { public static void main(String[] args) { // System.setProperty("spring.devtools.restart.enabled", "false"); - SpringApplication.run(RuoYiApplication.class, args); - System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" + + SpringApplication.run(McWlApplication.class, args); + System.out.println("(♥◠‿◠)ノ゙ 魔创未来启动成功 ლ(´ڡ`ლ)゙ \n" + " .-------. ____ __ \n" + " | _ _ \\ \\ \\ / / \n" + " | ( ' ) | \\ _. / ' \n" + diff --git a/mcwl-admin/src/main/java/com/mcwl/RuoYiServletInitializer.java b/mcwl-admin/src/main/java/com/mcwl/McWlServletInitializer.java similarity index 68% rename from mcwl-admin/src/main/java/com/mcwl/RuoYiServletInitializer.java rename to mcwl-admin/src/main/java/com/mcwl/McWlServletInitializer.java index 7a05849..c407372 100644 --- a/mcwl-admin/src/main/java/com/mcwl/RuoYiServletInitializer.java +++ b/mcwl-admin/src/main/java/com/mcwl/McWlServletInitializer.java @@ -6,13 +6,13 @@ import org.springframework.boot.web.servlet.support.SpringBootServletInitializer /** * web容器中进行部署 * - * @author ruoyi + * @author mcwl */ -public class RuoYiServletInitializer extends SpringBootServletInitializer +public class McWlServletInitializer extends SpringBootServletInitializer { @Override protected SpringApplicationBuilder configure(SpringApplicationBuilder application) { - return application.sources(RuoYiApplication.class); + return application.sources(McWlApplication.class); } } diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CaptchaController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CaptchaController.java index a5d9e00..7ac3294 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CaptchaController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CaptchaController.java @@ -11,7 +11,7 @@ import org.springframework.util.FastByteArrayOutputStream; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import com.google.code.kaptcha.Producer; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.constant.CacheConstants; import com.mcwl.common.constant.Constants; import com.mcwl.common.core.domain.AjaxResult; @@ -23,7 +23,7 @@ import com.mcwl.system.service.ISysConfigService; /** * 验证码操作处理 * - * @author ruoyi + * @author mcwl */ @RestController public class CaptchaController @@ -61,7 +61,7 @@ public class CaptchaController BufferedImage image = null; // 生成验证码 - String captchaType = RuoYiConfig.getCaptchaType(); + String captchaType = McWlConfig.getCaptchaType(); if ("math".equals(captchaType)) { String capText = captchaProducerMath.createText(); diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CommonController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CommonController.java index acd30d3..94ec150 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CommonController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/common/CommonController.java @@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.constant.Constants; import com.mcwl.common.core.domain.AjaxResult; import com.mcwl.common.utils.StringUtils; @@ -23,8 +23,8 @@ import com.mcwl.framework.config.ServerConfig; /** * 通用请求处理 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/common") @@ -39,7 +39,7 @@ public class CommonController /** * 通用下载请求 - * + * * @param fileName 文件名称 * @param delete 是否删除 */ @@ -53,7 +53,7 @@ public class CommonController throw new Exception(StringUtils.format("文件名称({})非法,不允许下载。 ", fileName)); } String realFileName = System.currentTimeMillis() + fileName.substring(fileName.indexOf("_") + 1); - String filePath = RuoYiConfig.getDownloadPath() + fileName; + String filePath = McWlConfig.getDownloadPath() + fileName; response.setContentType(MediaType.APPLICATION_OCTET_STREAM_VALUE); FileUtils.setAttachmentResponseHeader(response, realFileName); @@ -78,7 +78,7 @@ public class CommonController try { // 上传文件路径 - String filePath = RuoYiConfig.getUploadPath(); + String filePath = McWlConfig.getUploadPath(); // 上传并返回新文件名称 String fileName = FileUploadUtils.upload(filePath, file); String url = serverConfig.getUrl() + fileName; @@ -104,7 +104,7 @@ public class CommonController try { // 上传文件路径 - String filePath = RuoYiConfig.getUploadPath(); + String filePath = McWlConfig.getUploadPath(); List urls = new ArrayList(); List fileNames = new ArrayList(); List newFileNames = new ArrayList(); @@ -146,7 +146,7 @@ public class CommonController throw new Exception(StringUtils.format("资源文件({})非法,不允许下载。 ", resource)); } // 本地资源路径 - String localPath = RuoYiConfig.getProfile(); + String localPath = McWlConfig.getProfile(); // 数据库资源地址 String downloadPath = localPath + StringUtils.substringAfter(resource, Constants.RESOURCE_PREFIX); // 下载名称 diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/CacheController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/CacheController.java index 7ce33de..6104f17 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/CacheController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/CacheController.java @@ -24,8 +24,8 @@ import com.mcwl.system.domain.SysCache; /** * 缓存监控 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/monitor/cache") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/ServerController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/ServerController.java index 0d05c60..a54b217 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/ServerController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/ServerController.java @@ -9,8 +9,8 @@ import com.mcwl.framework.web.domain.Server; /** * 服务器监控 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/monitor/server") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysLogininforController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysLogininforController.java index 95c588f..44c7a0f 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysLogininforController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysLogininforController.java @@ -22,8 +22,8 @@ import com.mcwl.system.service.ISysLogininforService; /** * 系统访问记录 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/monitor/logininfor") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysOperlogController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysOperlogController.java index f1730fd..df63cb9 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysOperlogController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysOperlogController.java @@ -22,7 +22,7 @@ import com.mcwl.system.service.ISysOperLogService; /** * 操作日志记录 * - * @author ruoyi + * @author mcwl */ @RestController @RequestMapping("/monitor/operlog") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysUserOnlineController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysUserOnlineController.java index 3ef5854..e97f8a3 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysUserOnlineController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/monitor/SysUserOnlineController.java @@ -25,8 +25,8 @@ import com.mcwl.system.service.ISysUserOnlineService; /** * 在线用户监控 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/monitor/online") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysConfigController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysConfigController.java index e56ba7b..92e0308 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysConfigController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysConfigController.java @@ -24,8 +24,8 @@ import com.mcwl.system.service.ISysConfigService; /** * 参数配置 信息操作处理 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/config") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDeptController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDeptController.java index 62c018c..7e0e8a6 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDeptController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDeptController.java @@ -25,7 +25,7 @@ import com.mcwl.system.service.ISysDeptService; /** * 部门信息 * - * @author ruoyi + * @author mcwl */ @RestController @RequestMapping("/system/dept") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictDataController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictDataController.java index 5285445..8b22f89 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictDataController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictDataController.java @@ -27,8 +27,8 @@ import com.mcwl.system.service.ISysDictTypeService; /** * 数据字典信息 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/dict/data") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictTypeController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictTypeController.java index 7dce21e..a3e941b 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictTypeController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysDictTypeController.java @@ -24,8 +24,8 @@ import com.mcwl.system.service.ISysDictTypeService; /** * 数据字典信息 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/dict/type") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysIndexController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysIndexController.java index a43b3c0..86441c7 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysIndexController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysIndexController.java @@ -3,20 +3,20 @@ package com.mcwl.web.controller.system; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.utils.StringUtils; /** * 首页 * - * @author ruoyi + * @author mcwl */ @RestController public class SysIndexController { /** 系统基础配置 */ @Autowired - private RuoYiConfig ruoyiConfig; + private McWlConfig mcwlConfig; /** * 访问首页,提示语 @@ -24,6 +24,6 @@ public class SysIndexController @RequestMapping("/") public String index() { - return StringUtils.format("欢迎使用{}后台管理框架,当前版本:v{},请通过前端地址访问。", ruoyiConfig.getName(), ruoyiConfig.getVersion()); + return StringUtils.format("欢迎使用{}后台管理框架,当前版本:v{},请通过前端地址访问。", mcwlConfig.getName(), mcwlConfig.getVersion()); } } diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysLoginController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysLoginController.java index 2765f6f..6527955 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysLoginController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysLoginController.java @@ -21,8 +21,8 @@ import com.mcwl.system.service.ISysMenuService; /** * 登录验证 - * - * @author ruoyi + * + * @author mcwl */ @RestController public class SysLoginController @@ -41,7 +41,7 @@ public class SysLoginController /** * 登录方法 - * + * * @param loginBody 登录信息 * @return 结果 */ @@ -58,7 +58,7 @@ public class SysLoginController /** * 获取用户信息 - * + * * @return 用户信息 */ @GetMapping("getInfo") @@ -84,7 +84,7 @@ public class SysLoginController /** * 获取路由信息 - * + * * @return 路由信息 */ @GetMapping("getRouters") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysMenuController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysMenuController.java index 5c4d4ab..b034c3b 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysMenuController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysMenuController.java @@ -23,8 +23,8 @@ import com.mcwl.system.service.ISysMenuService; /** * 菜单信息 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/menu") @@ -139,4 +139,4 @@ public class SysMenuController extends BaseController } return toAjax(menuService.deleteMenuById(menuId)); } -} \ No newline at end of file +} diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysNoticeController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysNoticeController.java index c14b608..32a68e5 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysNoticeController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysNoticeController.java @@ -22,8 +22,8 @@ import com.mcwl.system.service.ISysNoticeService; /** * 公告 信息操作处理 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/notice") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysPostController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysPostController.java index 5396679..4a18bef 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysPostController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysPostController.java @@ -25,7 +25,7 @@ import com.mcwl.system.service.ISysPostService; /** * 岗位信息操作处理 * - * @author ruoyi + * @author mcwl */ @RestController @RequestMapping("/system/post") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysProfileController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysProfileController.java index 4feee92..4b57dde 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysProfileController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysProfileController.java @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.multipart.MultipartFile; import com.mcwl.common.annotation.Log; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.core.controller.BaseController; import com.mcwl.common.core.domain.AjaxResult; import com.mcwl.common.core.domain.entity.SysUser; @@ -27,7 +27,7 @@ import com.mcwl.system.service.ISysUserService; /** * 个人信息 业务处理 * - * @author ruoyi + * @author mcwl */ @RestController @RequestMapping("/system/user/profile") @@ -124,7 +124,7 @@ public class SysProfileController extends BaseController if (!file.isEmpty()) { LoginUser loginUser = getLoginUser(); - String avatar = FileUploadUtils.upload(RuoYiConfig.getAvatarPath(), file, MimeTypeUtils.IMAGE_EXTENSION); + String avatar = FileUploadUtils.upload(McWlConfig.getAvatarPath(), file, MimeTypeUtils.IMAGE_EXTENSION); if (userService.updateUserAvatar(loginUser.getUsername(), avatar)) { AjaxResult ajax = AjaxResult.success(); diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRegisterController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRegisterController.java index 87868f9..06866ba 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRegisterController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRegisterController.java @@ -14,7 +14,7 @@ import com.mcwl.system.service.ISysConfigService; /** * 注册验证 * - * @author ruoyi + * @author mcwl */ @RestController public class SysRegisterController extends BaseController diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRoleController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRoleController.java index a46be2a..4445036 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRoleController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysRoleController.java @@ -33,8 +33,8 @@ import com.mcwl.system.service.ISysUserService; /** * 角色信息 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/role") @@ -125,7 +125,7 @@ public class SysRoleController extends BaseController return error("修改角色'" + role.getRoleName() + "'失败,角色权限已存在"); } role.setUpdateBy(getUsername()); - + if (roleService.updateRole(role) > 0) { // 更新缓存用户权限 diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysUserController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysUserController.java index 72fae16..8336ba1 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysUserController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/system/SysUserController.java @@ -34,8 +34,8 @@ import com.mcwl.system.service.ISysUserService; /** * 用户信息 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/system/user") diff --git a/mcwl-admin/src/main/java/com/mcwl/web/controller/tool/TestController.java b/mcwl-admin/src/main/java/com/mcwl/web/controller/tool/TestController.java index 012f0d3..4b40ba3 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/controller/tool/TestController.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/controller/tool/TestController.java @@ -24,8 +24,8 @@ import io.swagger.annotations.ApiOperation; /** * swagger 用户测试方法 - * - * @author ruoyi + * + * @author mcwl */ @Api("用户信息管理") @RestController diff --git a/mcwl-admin/src/main/java/com/mcwl/web/core/config/SwaggerConfig.java b/mcwl-admin/src/main/java/com/mcwl/web/core/config/SwaggerConfig.java index b3ef6b5..aaf2c06 100644 --- a/mcwl-admin/src/main/java/com/mcwl/web/core/config/SwaggerConfig.java +++ b/mcwl-admin/src/main/java/com/mcwl/web/core/config/SwaggerConfig.java @@ -6,7 +6,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import io.swagger.annotations.ApiOperation; import io.swagger.models.auth.In; import springfox.documentation.builders.ApiInfoBuilder; @@ -24,15 +24,15 @@ import springfox.documentation.spring.web.plugins.Docket; /** * Swagger2的接口配置 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class SwaggerConfig { /** 系统基础配置 */ @Autowired - private RuoYiConfig ruoyiConfig; + private McWlConfig mcwlConfig; /** 是否开启swagger */ @Value("${swagger.enabled}") @@ -113,13 +113,13 @@ public class SwaggerConfig // 用ApiInfoBuilder进行定制 return new ApiInfoBuilder() // 设置标题 - .title("标题:若依管理系统_接口文档") + .title("标题:魔创未来管理系统_接口文档") // 描述 .description("描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...") // 作者信息 - .contact(new Contact(ruoyiConfig.getName(), null, null)) + .contact(new Contact(mcwlConfig.getName(), null, null)) // 版本 - .version("版本号:" + ruoyiConfig.getVersion()) + .version("版本号:" + mcwlConfig.getVersion()) .build(); } } diff --git a/mcwl-admin/src/main/resources/application-druid.yml b/mcwl-admin/src/main/resources/application-druid.yml index b42787c..52d6bdd 100644 --- a/mcwl-admin/src/main/resources/application-druid.yml +++ b/mcwl-admin/src/main/resources/application-druid.yml @@ -13,9 +13,9 @@ spring: slave: # 从数据源开关/默认关闭 enabled: false - url: - username: - password: + url: + username: + password: # 初始连接数 initialSize: 5 # 最小连接池数量 @@ -39,7 +39,7 @@ spring: testWhileIdle: true testOnBorrow: false testOnReturn: false - webStatFilter: + webStatFilter: enabled: true statViewServlet: enabled: true @@ -47,7 +47,7 @@ spring: allow: url-pattern: /druid/* # 控制台管理用户名和密码 - login-username: ruoyi + login-username: mcwl login-password: 123456 filter: stat: diff --git a/mcwl-admin/src/main/resources/application.yml b/mcwl-admin/src/main/resources/application.yml index 66b8beb..fcc5e86 100644 --- a/mcwl-admin/src/main/resources/application.yml +++ b/mcwl-admin/src/main/resources/application.yml @@ -1,13 +1,13 @@ # 项目相关配置 -ruoyi: +mcwl: # 名称 - name: RuoYi + name: McWl # 版本 version: 3.8.8 # 版权年份 copyrightYear: 2024 - # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) - profile: D:/ruoyi/uploadPath + # 文件路径 示例( Windows配置D:/mcwl/uploadPath,Linux配置 /home/mcwl/uploadPath) + profile: D:/mcwl/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 diff --git a/mcwl-admin/src/main/resources/banner.txt b/mcwl-admin/src/main/resources/banner.txt index 0931cb8..6fb85e7 100644 --- a/mcwl-admin/src/main/resources/banner.txt +++ b/mcwl-admin/src/main/resources/banner.txt @@ -1,4 +1,4 @@ -Application Version: ${ruoyi.version} +Application Version: ${mcwl.version} Spring Boot Version: ${spring-boot.version} //////////////////////////////////////////////////////////////////// // _ooOoo_ // @@ -21,4 +21,4 @@ Spring Boot Version: ${spring-boot.version} // `=---=' // // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // // 佛祖保佑 永不宕机 永无BUG // -//////////////////////////////////////////////////////////////////// \ No newline at end of file +//////////////////////////////////////////////////////////////////// diff --git a/mcwl-admin/src/main/resources/logback.xml b/mcwl-admin/src/main/resources/logback.xml index 4857b14..810ae52 100644 --- a/mcwl-admin/src/main/resources/logback.xml +++ b/mcwl-admin/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + @@ -11,7 +11,7 @@ ${log.pattern} - + ${log.path}/sys-info.log @@ -34,7 +34,7 @@ DENY - + ${log.path}/sys-error.log @@ -56,7 +56,7 @@ DENY - + ${log.path}/sys-user.log @@ -70,7 +70,7 @@ ${log.pattern} - + @@ -79,15 +79,15 @@ - + - + - \ No newline at end of file + diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/Anonymous.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/Anonymous.java index 60505ea..d35a5c5 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/Anonymous.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/Anonymous.java @@ -8,8 +8,8 @@ import java.lang.annotation.Target; /** * 匿名访问不鉴权注解 - * - * @author ruoyi + * + * @author mcwl */ @Target({ ElementType.METHOD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/DataScope.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/DataScope.java index 37a0e33..42f83c9 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/DataScope.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/DataScope.java @@ -8,8 +8,8 @@ import java.lang.annotation.Target; /** * 数据权限过滤注解 - * - * @author ruoyi + * + * @author mcwl */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/DataSource.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/DataSource.java index 63eb4e2..df8975e 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/DataSource.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/DataSource.java @@ -13,7 +13,7 @@ import com.mcwl.common.enums.DataSourceType; * * 优先级:先方法,后类,如果方法覆盖了类上的数据源类型,以方法的为准,否则以类上的为准 * - * @author ruoyi + * @author mcwl */ @Target({ ElementType.METHOD, ElementType.TYPE }) @Retention(RetentionPolicy.RUNTIME) diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/Excel.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/Excel.java index 4ca956e..4f89bb6 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/Excel.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/Excel.java @@ -11,8 +11,8 @@ import com.mcwl.common.utils.poi.ExcelHandlerAdapter; /** * 自定义导出Excel数据注解 - * - * @author ruoyi + * + * @author mcwl */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) @@ -84,7 +84,7 @@ public @interface Excel public String prompt() default ""; /** - * 是否允许内容换行 + * 是否允许内容换行 */ public boolean wrapText() default false; @@ -194,4 +194,4 @@ public @interface Excel return this.value; } } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/Excels.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/Excels.java index 47a94c4..6f8b211 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/Excels.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/Excels.java @@ -8,7 +8,7 @@ import java.lang.annotation.Target; /** * Excel注解集 * - * @author ruoyi + * @author mcwl */ @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/Log.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/Log.java index f74b7a3..379d5fa 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/Log.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/Log.java @@ -10,8 +10,8 @@ import com.mcwl.common.enums.OperatorType; /** * 自定义操作日志记录注解 - * - * @author ruoyi + * + * @author mcwl * */ @Target({ ElementType.PARAMETER, ElementType.METHOD }) diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/RateLimiter.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/RateLimiter.java index caf3edb..9fbdfd7 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/RateLimiter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/RateLimiter.java @@ -11,7 +11,7 @@ import com.mcwl.common.enums.LimitType; /** * 限流注解 * - * @author ruoyi + * @author mcwl */ @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/RepeatSubmit.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/RepeatSubmit.java index a7b25c5..0f8e3ab 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/RepeatSubmit.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/RepeatSubmit.java @@ -9,8 +9,8 @@ import java.lang.annotation.Target; /** * 自定义注解防止表单重复提交 - * - * @author ruoyi + * + * @author mcwl * */ @Inherited diff --git a/mcwl-common/src/main/java/com/mcwl/common/annotation/Sensitive.java b/mcwl-common/src/main/java/com/mcwl/common/annotation/Sensitive.java index 509bc56..192e8d2 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/annotation/Sensitive.java +++ b/mcwl-common/src/main/java/com/mcwl/common/annotation/Sensitive.java @@ -12,7 +12,7 @@ import com.mcwl.common.enums.DesensitizedType; /** * 数据脱敏注解 * - * @author ruoyi + * @author mcwl */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) diff --git a/mcwl-common/src/main/java/com/mcwl/common/config/RuoYiConfig.java b/mcwl-common/src/main/java/com/mcwl/common/config/McWlConfig.java similarity index 89% rename from mcwl-common/src/main/java/com/mcwl/common/config/RuoYiConfig.java rename to mcwl-common/src/main/java/com/mcwl/common/config/McWlConfig.java index fddd4b7..f0e2591 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/config/RuoYiConfig.java +++ b/mcwl-common/src/main/java/com/mcwl/common/config/McWlConfig.java @@ -5,12 +5,12 @@ import org.springframework.stereotype.Component; /** * 读取项目相关配置 - * - * @author ruoyi + * + * @author mcwl */ @Component -@ConfigurationProperties(prefix = "ruoyi") -public class RuoYiConfig +@ConfigurationProperties(prefix = "mcwl") +public class McWlConfig { /** 项目名称 */ private String name; @@ -67,7 +67,7 @@ public class RuoYiConfig public void setProfile(String profile) { - RuoYiConfig.profile = profile; + McWlConfig.profile = profile; } public static boolean isAddressEnabled() @@ -77,7 +77,7 @@ public class RuoYiConfig public void setAddressEnabled(boolean addressEnabled) { - RuoYiConfig.addressEnabled = addressEnabled; + McWlConfig.addressEnabled = addressEnabled; } public static String getCaptchaType() { @@ -85,7 +85,7 @@ public class RuoYiConfig } public void setCaptchaType(String captchaType) { - RuoYiConfig.captchaType = captchaType; + McWlConfig.captchaType = captchaType; } /** diff --git a/mcwl-common/src/main/java/com/mcwl/common/config/serializer/SensitiveJsonSerializer.java b/mcwl-common/src/main/java/com/mcwl/common/config/serializer/SensitiveJsonSerializer.java index 5bdf97a..96bb601 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/config/serializer/SensitiveJsonSerializer.java +++ b/mcwl-common/src/main/java/com/mcwl/common/config/serializer/SensitiveJsonSerializer.java @@ -16,7 +16,7 @@ import com.mcwl.common.utils.SecurityUtils; /** * 数据脱敏序列化过滤 * - * @author ruoyi + * @author mcwl */ public class SensitiveJsonSerializer extends JsonSerializer implements ContextualSerializer { diff --git a/mcwl-common/src/main/java/com/mcwl/common/constant/CacheConstants.java b/mcwl-common/src/main/java/com/mcwl/common/constant/CacheConstants.java index e042170..7b6297c 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/constant/CacheConstants.java +++ b/mcwl-common/src/main/java/com/mcwl/common/constant/CacheConstants.java @@ -3,7 +3,7 @@ package com.mcwl.common.constant; /** * 缓存的key 常量 * - * @author ruoyi + * @author mcwl */ public class CacheConstants { diff --git a/mcwl-common/src/main/java/com/mcwl/common/constant/Constants.java b/mcwl-common/src/main/java/com/mcwl/common/constant/Constants.java index 2d69bf8..61cecef 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/constant/Constants.java +++ b/mcwl-common/src/main/java/com/mcwl/common/constant/Constants.java @@ -5,8 +5,8 @@ import io.jsonwebtoken.Claims; /** * 通用常量信息 - * - * @author ruoyi + * + * @author mcwl */ public class Constants { diff --git a/mcwl-common/src/main/java/com/mcwl/common/constant/GenConstants.java b/mcwl-common/src/main/java/com/mcwl/common/constant/GenConstants.java index c393da7..542c963 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/constant/GenConstants.java +++ b/mcwl-common/src/main/java/com/mcwl/common/constant/GenConstants.java @@ -2,8 +2,8 @@ package com.mcwl.common.constant; /** * 代码生成通用常量 - * - * @author ruoyi + * + * @author mcwl */ public class GenConstants { diff --git a/mcwl-common/src/main/java/com/mcwl/common/constant/HttpStatus.java b/mcwl-common/src/main/java/com/mcwl/common/constant/HttpStatus.java index 7d800df..bc0bfd9 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/constant/HttpStatus.java +++ b/mcwl-common/src/main/java/com/mcwl/common/constant/HttpStatus.java @@ -3,7 +3,7 @@ package com.mcwl.common.constant; /** * 返回状态码 * - * @author ruoyi + * @author mcwl */ public class HttpStatus { diff --git a/mcwl-common/src/main/java/com/mcwl/common/constant/ScheduleConstants.java b/mcwl-common/src/main/java/com/mcwl/common/constant/ScheduleConstants.java index e8d0f11..c9760e7 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/constant/ScheduleConstants.java +++ b/mcwl-common/src/main/java/com/mcwl/common/constant/ScheduleConstants.java @@ -2,8 +2,8 @@ package com.mcwl.common.constant; /** * 任务调度通用常量 - * - * @author ruoyi + * + * @author mcwl */ public class ScheduleConstants { diff --git a/mcwl-common/src/main/java/com/mcwl/common/constant/UserConstants.java b/mcwl-common/src/main/java/com/mcwl/common/constant/UserConstants.java index efa47fc..b9abf5c 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/constant/UserConstants.java +++ b/mcwl-common/src/main/java/com/mcwl/common/constant/UserConstants.java @@ -3,7 +3,7 @@ package com.mcwl.common.constant; /** * 用户常量信息 * - * @author ruoyi + * @author mcwl */ public class UserConstants { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/controller/BaseController.java b/mcwl-common/src/main/java/com/mcwl/common/core/controller/BaseController.java index 965d72b..41d623f 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/controller/BaseController.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/controller/BaseController.java @@ -23,8 +23,8 @@ import com.mcwl.common.utils.sql.SqlUtil; /** * web层通用数据处理 - * - * @author ruoyi + * + * @author mcwl */ public class BaseController { @@ -113,7 +113,7 @@ public class BaseController { return AjaxResult.success(message); } - + /** * 返回成功消息 */ @@ -140,7 +140,7 @@ public class BaseController /** * 响应返回结果 - * + * * @param rows 影响行数 * @return 操作结果 */ @@ -151,7 +151,7 @@ public class BaseController /** * 响应返回结果 - * + * * @param result 结果 * @return 操作结果 */ diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/AjaxResult.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/AjaxResult.java index 7eebde2..67919f5 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/AjaxResult.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/AjaxResult.java @@ -7,8 +7,8 @@ import com.mcwl.common.utils.StringUtils; /** * 操作消息提醒 - * - * @author ruoyi + * + * @author mcwl */ public class AjaxResult extends HashMap { @@ -32,7 +32,7 @@ public class AjaxResult extends HashMap /** * 初始化一个新创建的 AjaxResult 对象 - * + * * @param code 状态码 * @param msg 返回内容 */ @@ -44,7 +44,7 @@ public class AjaxResult extends HashMap /** * 初始化一个新创建的 AjaxResult 对象 - * + * * @param code 状态码 * @param msg 返回内容 * @param data 数据对象 @@ -61,7 +61,7 @@ public class AjaxResult extends HashMap /** * 返回成功消息 - * + * * @return 成功消息 */ public static AjaxResult success() @@ -71,7 +71,7 @@ public class AjaxResult extends HashMap /** * 返回成功数据 - * + * * @return 成功消息 */ public static AjaxResult success(Object data) @@ -81,7 +81,7 @@ public class AjaxResult extends HashMap /** * 返回成功消息 - * + * * @param msg 返回内容 * @return 成功消息 */ @@ -92,7 +92,7 @@ public class AjaxResult extends HashMap /** * 返回成功消息 - * + * * @param msg 返回内容 * @param data 数据对象 * @return 成功消息 @@ -127,7 +127,7 @@ public class AjaxResult extends HashMap /** * 返回错误消息 - * + * * @return 错误消息 */ public static AjaxResult error() @@ -137,7 +137,7 @@ public class AjaxResult extends HashMap /** * 返回错误消息 - * + * * @param msg 返回内容 * @return 错误消息 */ @@ -148,7 +148,7 @@ public class AjaxResult extends HashMap /** * 返回错误消息 - * + * * @param msg 返回内容 * @param data 数据对象 * @return 错误消息 @@ -160,7 +160,7 @@ public class AjaxResult extends HashMap /** * 返回错误消息 - * + * * @param code 状态码 * @param msg 返回内容 * @return 错误消息 diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/BaseEntity.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/BaseEntity.java index eda4d1a..3b6064a 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/BaseEntity.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/BaseEntity.java @@ -11,7 +11,7 @@ import com.fasterxml.jackson.annotation.JsonInclude; /** * Entity基类 * - * @author ruoyi + * @author mcwl */ public class BaseEntity implements Serializable { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/R.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/R.java index b4792ef..a6bb71d 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/R.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/R.java @@ -6,7 +6,7 @@ import com.mcwl.common.constant.HttpStatus; /** * 响应信息主体 * - * @author ruoyi + * @author mcwl */ public class R implements Serializable { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeEntity.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeEntity.java index 99ec673..e1f7e94 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeEntity.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeEntity.java @@ -5,8 +5,8 @@ import java.util.List; /** * Tree基类 - * - * @author ruoyi + * + * @author mcwl */ public class TreeEntity extends BaseEntity { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeSelect.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeSelect.java index 674beef..3ce17e6 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeSelect.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/TreeSelect.java @@ -11,8 +11,8 @@ import com.mcwl.common.utils.StringUtils; /** * Treeselect树结构实体类 - * - * @author ruoyi + * + * @author mcwl */ public class TreeSelect implements Serializable { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDept.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDept.java index f279fbb..74c453e 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDept.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDept.java @@ -13,7 +13,7 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 部门表 sys_dept * - * @author ruoyi + * @author mcwl */ public class SysDept extends BaseEntity { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictData.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictData.java index 3f50d04..46f1e1f 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictData.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictData.java @@ -11,8 +11,8 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 字典数据表 sys_dict_data - * - * @author ruoyi + * + * @author mcwl */ public class SysDictData extends BaseEntity { @@ -153,7 +153,7 @@ public class SysDictData extends BaseEntity { this.status = status; } - + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictType.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictType.java index fbe6645..1626764 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictType.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysDictType.java @@ -11,8 +11,8 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 字典类型表 sys_dict_type - * - * @author ruoyi + * + * @author mcwl */ public class SysDictType extends BaseEntity { @@ -78,7 +78,7 @@ public class SysDictType extends BaseEntity { this.status = status; } - + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysMenu.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysMenu.java index 7e31e6b..5bcac18 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysMenu.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysMenu.java @@ -11,8 +11,8 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 菜单权限表 sys_menu - * - * @author ruoyi + * + * @author mcwl */ public class SysMenu extends BaseEntity { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysRole.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysRole.java index bf3a39e..2766ef7 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysRole.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysRole.java @@ -13,7 +13,7 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 角色表 sys_role * - * @author ruoyi + * @author mcwl */ public class SysRole extends BaseEntity { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysUser.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysUser.java index 981b37f..58ad819 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysUser.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/entity/SysUser.java @@ -14,8 +14,8 @@ import com.mcwl.common.xss.Xss; /** * 用户对象 sys_user - * - * @author ruoyi + * + * @author mcwl */ public class SysUser extends BaseEntity { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginBody.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginBody.java index db7a756..ce1e093 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginBody.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginBody.java @@ -2,8 +2,8 @@ package com.mcwl.common.core.domain.model; /** * 用户登录对象 - * - * @author ruoyi + * + * @author mcwl */ public class LoginBody { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginUser.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginUser.java index e20c19a..613e81b 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginUser.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/LoginUser.java @@ -9,8 +9,8 @@ import java.util.Set; /** * 登录用户身份权限 - * - * @author ruoyi + * + * @author mcwl */ public class LoginUser implements UserDetails { @@ -144,7 +144,7 @@ public class LoginUser implements UserDetails /** * 指定用户是否解锁,锁定的用户无法进行身份验证 - * + * * @return */ @JSONField(serialize = false) @@ -156,7 +156,7 @@ public class LoginUser implements UserDetails /** * 指示是否已过期的用户的凭据(密码),过期的凭据防止认证 - * + * * @return */ @JSONField(serialize = false) @@ -168,7 +168,7 @@ public class LoginUser implements UserDetails /** * 是否可用 ,禁用的用户不能身份验证 - * + * * @return */ @JSONField(serialize = false) diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/RegisterBody.java b/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/RegisterBody.java index 5b52d64..5b75ecc 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/RegisterBody.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/domain/model/RegisterBody.java @@ -3,7 +3,7 @@ package com.mcwl.common.core.domain.model; /** * 用户注册对象 * - * @author ruoyi + * @author mcwl */ public class RegisterBody extends LoginBody { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/page/PageDomain.java b/mcwl-common/src/main/java/com/mcwl/common/core/page/PageDomain.java index 3388666..95a5190 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/page/PageDomain.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/page/PageDomain.java @@ -5,7 +5,7 @@ import com.mcwl.common.utils.StringUtils; /** * 分页数据 * - * @author ruoyi + * @author mcwl */ public class PageDomain { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/page/TableDataInfo.java b/mcwl-common/src/main/java/com/mcwl/common/core/page/TableDataInfo.java index 6591fb4..0ad7561 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/page/TableDataInfo.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/page/TableDataInfo.java @@ -6,7 +6,7 @@ import java.util.List; /** * 表格分页数据对象 * - * @author ruoyi + * @author mcwl */ public class TableDataInfo implements Serializable { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/page/TableSupport.java b/mcwl-common/src/main/java/com/mcwl/common/core/page/TableSupport.java index 2d1f0f6..c95c236 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/page/TableSupport.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/page/TableSupport.java @@ -6,7 +6,7 @@ import com.mcwl.common.utils.ServletUtils; /** * 表格数据处理 * - * @author ruoyi + * @author mcwl */ public class TableSupport { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/redis/RedisCache.java b/mcwl-common/src/main/java/com/mcwl/common/core/redis/RedisCache.java index 6ef68ef..20e138b 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/redis/RedisCache.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/redis/RedisCache.java @@ -16,7 +16,7 @@ import org.springframework.stereotype.Component; /** * spring redis 工具类 * - * @author ruoyi + * @author mcwl **/ @SuppressWarnings(value = { "unchecked", "rawtypes" }) @Component diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/text/CharsetKit.java b/mcwl-common/src/main/java/com/mcwl/common/core/text/CharsetKit.java index 088b386..f6bd671 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/text/CharsetKit.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/text/CharsetKit.java @@ -6,8 +6,8 @@ import com.mcwl.common.utils.StringUtils; /** * 字符集工具类 - * - * @author ruoyi + * + * @author mcwl */ public class CharsetKit { @@ -27,7 +27,7 @@ public class CharsetKit /** * 转换为Charset对象 - * + * * @param charset 字符集,为空则返回默认字符集 * @return Charset */ @@ -38,7 +38,7 @@ public class CharsetKit /** * 转换字符串的字符集编码 - * + * * @param source 字符串 * @param srcCharset 源字符集,默认ISO-8859-1 * @param destCharset 目标字符集,默认UTF-8 @@ -51,7 +51,7 @@ public class CharsetKit /** * 转换字符串的字符集编码 - * + * * @param source 字符串 * @param srcCharset 源字符集,默认ISO-8859-1 * @param destCharset 目标字符集,默认UTF-8 diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/text/Convert.java b/mcwl-common/src/main/java/com/mcwl/common/core/text/Convert.java index a1ecb5a..595d0ea 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/text/Convert.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/text/Convert.java @@ -13,7 +13,7 @@ import org.apache.commons.lang3.ArrayUtils; /** * 类型转换器 * - * @author ruoyi + * @author mcwl */ public class Convert { diff --git a/mcwl-common/src/main/java/com/mcwl/common/core/text/StrFormatter.java b/mcwl-common/src/main/java/com/mcwl/common/core/text/StrFormatter.java index 9d5f05d..a587c4f 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/core/text/StrFormatter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/core/text/StrFormatter.java @@ -4,8 +4,8 @@ import com.mcwl.common.utils.StringUtils; /** * 字符串格式化 - * - * @author ruoyi + * + * @author mcwl */ public class StrFormatter { @@ -22,7 +22,7 @@ public class StrFormatter * 通常使用:format("this is {} for {}", "a", "b") -> this is a for b
* 转义{}: format("this is \\{} for {}", "a", "b") -> this is \{} for a
* 转义\: format("this is \\\\{} for {}", "a", "b") -> this is \a for b
- * + * * @param strPattern 字符串模板 * @param argArray 参数列表 * @return 结果 diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessStatus.java b/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessStatus.java index 4177771..22949ea 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessStatus.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessStatus.java @@ -2,8 +2,8 @@ package com.mcwl.common.enums; /** * 操作状态 - * - * @author ruoyi + * + * @author mcwl * */ public enum BusinessStatus diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessType.java b/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessType.java index 1374a8d..75de795 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessType.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/BusinessType.java @@ -2,8 +2,8 @@ package com.mcwl.common.enums; /** * 业务操作类型 - * - * @author ruoyi + * + * @author mcwl */ public enum BusinessType { @@ -51,7 +51,7 @@ public enum BusinessType * 生成代码 */ GENCODE, - + /** * 清空数据 */ diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/DataSourceType.java b/mcwl-common/src/main/java/com/mcwl/common/enums/DataSourceType.java index ec4b70b..37e8da4 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/DataSourceType.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/DataSourceType.java @@ -2,8 +2,8 @@ package com.mcwl.common.enums; /** * 数据源 - * - * @author ruoyi + * + * @author mcwl */ public enum DataSourceType { diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/DesensitizedType.java b/mcwl-common/src/main/java/com/mcwl/common/enums/DesensitizedType.java index 89f6bf8..5b2ac55 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/DesensitizedType.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/DesensitizedType.java @@ -6,7 +6,7 @@ import com.mcwl.common.utils.DesensitizedUtil; /** * 脱敏类型 * - * @author ruoyi + * @author mcwl */ public enum DesensitizedType { diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/HttpMethod.java b/mcwl-common/src/main/java/com/mcwl/common/enums/HttpMethod.java index a135ef7..0db537d 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/HttpMethod.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/HttpMethod.java @@ -7,7 +7,7 @@ import org.springframework.lang.Nullable; /** * 请求方式 * - * @author ruoyi + * @author mcwl */ public enum HttpMethod { diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/LimitType.java b/mcwl-common/src/main/java/com/mcwl/common/enums/LimitType.java index c834f55..56b2989 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/LimitType.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/LimitType.java @@ -3,7 +3,7 @@ package com.mcwl.common.enums; /** * 限流类型 * - * @author ruoyi + * @author mcwl */ public enum LimitType diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/OperatorType.java b/mcwl-common/src/main/java/com/mcwl/common/enums/OperatorType.java index 9169b8d..d8296e5 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/OperatorType.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/OperatorType.java @@ -2,8 +2,8 @@ package com.mcwl.common.enums; /** * 操作人类别 - * - * @author ruoyi + * + * @author mcwl */ public enum OperatorType { diff --git a/mcwl-common/src/main/java/com/mcwl/common/enums/UserStatus.java b/mcwl-common/src/main/java/com/mcwl/common/enums/UserStatus.java index afb664f..7a13f07 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/enums/UserStatus.java +++ b/mcwl-common/src/main/java/com/mcwl/common/enums/UserStatus.java @@ -3,7 +3,7 @@ package com.mcwl.common.enums; /** * 用户状态 * - * @author ruoyi + * @author mcwl */ public enum UserStatus { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/DemoModeException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/DemoModeException.java index 13664de..cef9d44 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/DemoModeException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/DemoModeException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception; /** * 演示模式异常 * - * @author ruoyi + * @author mcwl */ public class DemoModeException extends RuntimeException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/GlobalException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/GlobalException.java index c834b86..7d443f9 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/GlobalException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/GlobalException.java @@ -2,8 +2,8 @@ package com.mcwl.common.exception; /** * 全局异常 - * - * @author ruoyi + * + * @author mcwl */ public class GlobalException extends RuntimeException { @@ -55,4 +55,4 @@ public class GlobalException extends RuntimeException this.message = message; return this; } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/ServiceException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/ServiceException.java index 2d7a0f0..301b7e1 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/ServiceException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/ServiceException.java @@ -2,8 +2,8 @@ package com.mcwl.common.exception; /** * 业务异常 - * - * @author ruoyi + * + * @author mcwl */ public final class ServiceException extends RuntimeException { @@ -71,4 +71,4 @@ public final class ServiceException extends RuntimeException this.detailMessage = detailMessage; return this; } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/UtilException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/UtilException.java index 110a5c8..74494aa 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/UtilException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/UtilException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception; /** * 工具类异常 * - * @author ruoyi + * @author mcwl */ public class UtilException extends RuntimeException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/base/BaseException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/base/BaseException.java index e51d79d..071005d 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/base/BaseException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/base/BaseException.java @@ -5,8 +5,8 @@ import com.mcwl.common.utils.StringUtils; /** * 基础异常 - * - * @author ruoyi + * + * @author mcwl */ public class BaseException extends RuntimeException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileException.java index c7f0f02..0969bd6 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileException.java @@ -5,7 +5,7 @@ import com.mcwl.common.exception.base.BaseException; /** * 文件信息异常类 * - * @author ruoyi + * @author mcwl */ public class FileException extends BaseException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileNameLengthLimitExceededException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileNameLengthLimitExceededException.java index a0e189f..9cc85ac 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileNameLengthLimitExceededException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileNameLengthLimitExceededException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception.file; /** * 文件名称超长限制异常类 * - * @author ruoyi + * @author mcwl */ public class FileNameLengthLimitExceededException extends FileException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileSizeLimitExceededException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileSizeLimitExceededException.java index a9a6b43..049a438 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileSizeLimitExceededException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileSizeLimitExceededException.java @@ -2,8 +2,8 @@ package com.mcwl.common.exception.file; /** * 文件名大小限制异常类 - * - * @author ruoyi + * + * @author mcwl */ public class FileSizeLimitExceededException extends FileException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileUploadException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileUploadException.java index b7c415f..2c33e99 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileUploadException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/file/FileUploadException.java @@ -6,7 +6,7 @@ import java.io.PrintWriter; /** * 文件上传异常类 * - * @author ruoyi + * @author mcwl */ public class FileUploadException extends Exception { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/file/InvalidExtensionException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/file/InvalidExtensionException.java index 4fd1df0..0f52719 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/file/InvalidExtensionException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/file/InvalidExtensionException.java @@ -4,8 +4,8 @@ import java.util.Arrays; /** * 文件上传 误异常类 - * - * @author ruoyi + * + * @author mcwl */ public class InvalidExtensionException extends FileUploadException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/job/TaskException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/job/TaskException.java index 9c8b403..163b24d 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/job/TaskException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/job/TaskException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception.job; /** * 计划策略异常 * - * @author ruoyi + * @author mcwl */ public class TaskException extends Exception { @@ -31,4 +31,4 @@ public class TaskException extends Exception { TASK_EXISTS, NO_TASK_EXISTS, TASK_ALREADY_STARTED, UNKNOWN, CONFIG_ERROR, TASK_NODE_NOT_AVAILABLE } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/BlackListException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/BlackListException.java index 906d81c..547addd 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/BlackListException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/BlackListException.java @@ -2,8 +2,8 @@ package com.mcwl.common.exception.user; /** * 黑名单IP异常类 - * - * @author ruoyi + * + * @author mcwl */ public class BlackListException extends UserException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaException.java index 14f09ca..8dfa994 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception.user; /** * 验证码错误异常类 * - * @author ruoyi + * @author mcwl */ public class CaptchaException extends UserException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaExpireException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaExpireException.java index 64922bf..075b8dd 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaExpireException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/CaptchaExpireException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception.user; /** * 验证码失效异常类 * - * @author ruoyi + * @author mcwl */ public class CaptchaExpireException extends UserException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserException.java index c6e23a7..6b89fca 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserException.java @@ -5,7 +5,7 @@ import com.mcwl.common.exception.base.BaseException; /** * 用户信息异常类 * - * @author ruoyi + * @author mcwl */ public class UserException extends BaseException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserNotExistsException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserNotExistsException.java index ec2e9fd..03ceb01 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserNotExistsException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserNotExistsException.java @@ -2,8 +2,8 @@ package com.mcwl.common.exception.user; /** * 用户不存在异常类 - * - * @author ruoyi + * + * @author mcwl */ public class UserNotExistsException extends UserException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordNotMatchException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordNotMatchException.java index dd124d7..9653cb2 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordNotMatchException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordNotMatchException.java @@ -2,8 +2,8 @@ package com.mcwl.common.exception.user; /** * 用户密码不正确或不符合规范异常类 - * - * @author ruoyi + * + * @author mcwl */ public class UserPasswordNotMatchException extends UserException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordRetryLimitExceedException.java b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordRetryLimitExceedException.java index 3bd7c3b..27a56c9 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordRetryLimitExceedException.java +++ b/mcwl-common/src/main/java/com/mcwl/common/exception/user/UserPasswordRetryLimitExceedException.java @@ -3,7 +3,7 @@ package com.mcwl.common.exception.user; /** * 用户错误最大次数异常类 * - * @author ruoyi + * @author mcwl */ public class UserPasswordRetryLimitExceedException extends UserException { diff --git a/mcwl-common/src/main/java/com/mcwl/common/filter/PropertyPreExcludeFilter.java b/mcwl-common/src/main/java/com/mcwl/common/filter/PropertyPreExcludeFilter.java index cd027b6..4be8a03 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/filter/PropertyPreExcludeFilter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/filter/PropertyPreExcludeFilter.java @@ -4,8 +4,8 @@ import com.alibaba.fastjson2.filter.SimplePropertyPreFilter; /** * 排除JSON敏感属性 - * - * @author ruoyi + * + * @author mcwl */ public class PropertyPreExcludeFilter extends SimplePropertyPreFilter { diff --git a/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatableFilter.java b/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatableFilter.java index 6d1d2a7..06e60c6 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatableFilter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatableFilter.java @@ -13,8 +13,8 @@ import com.mcwl.common.utils.StringUtils; /** * Repeatable 过滤器 - * - * @author ruoyi + * + * @author mcwl */ public class RepeatableFilter implements Filter { diff --git a/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatedlyRequestWrapper.java b/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatedlyRequestWrapper.java index aff69a4..afd692e 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatedlyRequestWrapper.java +++ b/mcwl-common/src/main/java/com/mcwl/common/filter/RepeatedlyRequestWrapper.java @@ -15,7 +15,7 @@ import com.mcwl.common.constant.Constants; /** * 构建可重复读取inputStream的request * - * @author ruoyi + * @author mcwl */ public class RepeatedlyRequestWrapper extends HttpServletRequestWrapper { diff --git a/mcwl-common/src/main/java/com/mcwl/common/filter/XssFilter.java b/mcwl-common/src/main/java/com/mcwl/common/filter/XssFilter.java index 493e124..c5255ba 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/filter/XssFilter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/filter/XssFilter.java @@ -16,8 +16,8 @@ import com.mcwl.common.enums.HttpMethod; /** * 防止XSS攻击的过滤器 - * - * @author ruoyi + * + * @author mcwl */ public class XssFilter implements Filter { @@ -72,4 +72,4 @@ public class XssFilter implements Filter { } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/filter/XssHttpServletRequestWrapper.java b/mcwl-common/src/main/java/com/mcwl/common/filter/XssHttpServletRequestWrapper.java index 971601e..0e73aac 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/filter/XssHttpServletRequestWrapper.java +++ b/mcwl-common/src/main/java/com/mcwl/common/filter/XssHttpServletRequestWrapper.java @@ -15,7 +15,7 @@ import com.mcwl.common.utils.html.EscapeUtil; /** * XSS过滤处理 * - * @author ruoyi + * @author mcwl */ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper { @@ -108,4 +108,4 @@ public class XssHttpServletRequestWrapper extends HttpServletRequestWrapper String header = super.getHeader(HttpHeaders.CONTENT_TYPE); return StringUtils.startsWithIgnoreCase(header, MediaType.APPLICATION_JSON_VALUE); } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/Arith.java b/mcwl-common/src/main/java/com/mcwl/common/utils/Arith.java index e9a2e87..1fc5b64 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/Arith.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/Arith.java @@ -5,8 +5,8 @@ import java.math.RoundingMode; /** * 精确的浮点数运算 - * - * @author ruoyi + * + * @author mcwl */ public class Arith { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/DateUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/DateUtils.java index 4dea6eb..79338e5 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/DateUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/DateUtils.java @@ -14,7 +14,7 @@ import org.apache.commons.lang3.time.DateFormatUtils; /** * 时间工具类 * - * @author ruoyi + * @author mcwl */ public class DateUtils extends org.apache.commons.lang3.time.DateUtils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/DesensitizedUtil.java b/mcwl-common/src/main/java/com/mcwl/common/utils/DesensitizedUtil.java index b4799c2..d60e72c 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/DesensitizedUtil.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/DesensitizedUtil.java @@ -3,7 +3,7 @@ package com.mcwl.common.utils; /** * 脱敏工具类 * - * @author ruoyi + * @author mcwl */ public class DesensitizedUtil { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/DictUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/DictUtils.java index 5266b6a..74f9c3b 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/DictUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/DictUtils.java @@ -10,8 +10,8 @@ import com.mcwl.common.utils.spring.SpringUtils; /** * 字典工具类 - * - * @author ruoyi + * + * @author mcwl */ public class DictUtils { @@ -22,7 +22,7 @@ public class DictUtils /** * 设置字典缓存 - * + * * @param key 参数键 * @param dictDatas 字典数据列表 */ @@ -33,7 +33,7 @@ public class DictUtils /** * 获取字典缓存 - * + * * @param key 参数键 * @return dictDatas 字典数据列表 */ @@ -49,7 +49,7 @@ public class DictUtils /** * 根据字典类型和字典值获取字典标签 - * + * * @param dictType 字典类型 * @param dictValue 字典值 * @return 字典标签 @@ -65,7 +65,7 @@ public class DictUtils /** * 根据字典类型和字典标签获取字典值 - * + * * @param dictType 字典类型 * @param dictLabel 字典标签 * @return 字典值 @@ -81,7 +81,7 @@ public class DictUtils /** * 根据字典类型和字典值获取字典标签 - * + * * @param dictType 字典类型 * @param dictValue 字典值 * @param separator 分隔符 @@ -124,7 +124,7 @@ public class DictUtils /** * 根据字典类型和字典标签获取字典值 - * + * * @param dictType 字典类型 * @param dictLabel 字典标签 * @param separator 分隔符 @@ -209,7 +209,7 @@ public class DictUtils /** * 删除指定字典缓存 - * + * * @param key 字典键 */ public static void removeDictCache(String key) @@ -228,7 +228,7 @@ public class DictUtils /** * 设置cache key - * + * * @param configKey 参数键 * @return 缓存键key */ diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/ExceptionUtil.java b/mcwl-common/src/main/java/com/mcwl/common/utils/ExceptionUtil.java index f109385..64387fe 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/ExceptionUtil.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/ExceptionUtil.java @@ -7,7 +7,7 @@ import org.apache.commons.lang3.exception.ExceptionUtils; /** * 错误信息处理类。 * - * @author ruoyi + * @author mcwl */ public class ExceptionUtil { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/LogUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/LogUtils.java index ce092d5..083a646 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/LogUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/LogUtils.java @@ -2,8 +2,8 @@ package com.mcwl.common.utils; /** * 处理并记录日志文件 - * - * @author ruoyi + * + * @author mcwl */ public class LogUtils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/MessageUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/MessageUtils.java index 82e042f..ea665f4 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/MessageUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/MessageUtils.java @@ -7,7 +7,7 @@ import com.mcwl.common.utils.spring.SpringUtils; /** * 获取i18n资源文件 * - * @author ruoyi + * @author mcwl */ public class MessageUtils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/PageUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/PageUtils.java index 9427896..a3a1107 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/PageUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/PageUtils.java @@ -8,7 +8,7 @@ import com.mcwl.common.utils.sql.SqlUtil; /** * 分页工具类 * - * @author ruoyi + * @author mcwl */ public class PageUtils extends PageHelper { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/SecurityUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/SecurityUtils.java index e136efc..b298d19 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/SecurityUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/SecurityUtils.java @@ -16,7 +16,7 @@ import com.mcwl.common.exception.ServiceException; /** * 安全服务工具类 * - * @author ruoyi + * @author mcwl */ public class SecurityUtils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/ServletUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/ServletUtils.java index 8d740d1..36bba68 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/ServletUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/ServletUtils.java @@ -19,8 +19,8 @@ import com.mcwl.common.core.text.Convert; /** * 客户端工具类 - * - * @author ruoyi + * + * @author mcwl */ public class ServletUtils { @@ -132,7 +132,7 @@ public class ServletUtils /** * 将字符串渲染到客户端 - * + * * @param response 渲染对象 * @param string 待渲染的字符串 */ @@ -153,7 +153,7 @@ public class ServletUtils /** * 是否是Ajax异步请求 - * + * * @param request */ public static boolean isAjaxRequest(HttpServletRequest request) @@ -182,7 +182,7 @@ public class ServletUtils /** * 内容编码 - * + * * @param str 内容 * @return 编码后的内容 */ @@ -200,7 +200,7 @@ public class ServletUtils /** * 内容解码 - * + * * @param str 内容 * @return 解码后的内容 */ diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/StringUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/StringUtils.java index 90b023b..2069738 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/StringUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/StringUtils.java @@ -13,7 +13,7 @@ import com.mcwl.common.core.text.StrFormatter; /** * 字符串工具类 * - * @author ruoyi + * @author mcwl */ public class StringUtils extends org.apache.commons.lang3.StringUtils { @@ -681,4 +681,4 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils } return sb.toString(); } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/Threads.java b/mcwl-common/src/main/java/com/mcwl/common/utils/Threads.java index 4081e28..9d3676c 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/Threads.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/Threads.java @@ -10,8 +10,8 @@ import org.slf4j.LoggerFactory; /** * 线程相关工具类. - * - * @author ruoyi + * + * @author mcwl */ public class Threads { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanUtils.java index d7bca8a..0643960 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanUtils.java @@ -8,8 +8,8 @@ import java.util.regex.Pattern; /** * Bean 工具类 - * - * @author ruoyi + * + * @author mcwl */ public class BeanUtils extends org.springframework.beans.BeanUtils { @@ -24,7 +24,7 @@ public class BeanUtils extends org.springframework.beans.BeanUtils /** * Bean属性复制工具方法。 - * + * * @param dest 目标对象 * @param src 源对象 */ @@ -42,7 +42,7 @@ public class BeanUtils extends org.springframework.beans.BeanUtils /** * 获取对象的setter方法。 - * + * * @param obj 对象 * @return 对象的setter方法列表 */ @@ -70,7 +70,7 @@ public class BeanUtils extends org.springframework.beans.BeanUtils /** * 获取对象的getter方法。 - * + * * @param obj 对象 * @return 对象的getter方法列表 */ @@ -97,7 +97,7 @@ public class BeanUtils extends org.springframework.beans.BeanUtils /** * 检查Bean方法名中的属性名是否相等。
* 如getName()和setName()属性名一样,getName()和setAge()属性名不一样。 - * + * * @param m1 方法名1 * @param m2 方法名2 * @return 属性名一样返回true,否则返回false diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanValidators.java b/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanValidators.java index d2be669..d23387a 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanValidators.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/bean/BeanValidators.java @@ -8,7 +8,7 @@ import javax.validation.Validator; /** * bean对象属性验证 * - * @author ruoyi + * @author mcwl */ public class BeanValidators { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileTypeUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileTypeUtils.java index 30b2f05..2f0f5f6 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileTypeUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileTypeUtils.java @@ -6,14 +6,14 @@ import org.apache.commons.lang3.StringUtils; /** * 文件类型工具类 * - * @author ruoyi + * @author mcwl */ public class FileTypeUtils { /** * 获取文件类型 *

- * 例如: ruoyi.txt, 返回: txt + * 例如: mcwl.txt, 返回: txt * * @param file 文件名 * @return 后缀(不含".") @@ -30,7 +30,7 @@ public class FileTypeUtils /** * 获取文件类型 *

- * 例如: ruoyi.txt, 返回: txt + * 例如: mcwl.txt, 返回: txt * * @param fileName 文件名 * @return 后缀(不含".") @@ -73,4 +73,4 @@ public class FileTypeUtils } return strFileExtendName; } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUploadUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUploadUtils.java index 8fd4f4f..1c15ad5 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUploadUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUploadUtils.java @@ -6,7 +6,7 @@ import java.nio.file.Paths; import java.util.Objects; import org.apache.commons.io.FilenameUtils; import org.springframework.web.multipart.MultipartFile; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.constant.Constants; import com.mcwl.common.exception.file.FileNameLengthLimitExceededException; import com.mcwl.common.exception.file.FileSizeLimitExceededException; @@ -18,7 +18,7 @@ import com.mcwl.common.utils.uuid.Seq; /** * 文件上传工具类 * - * @author ruoyi + * @author mcwl */ public class FileUploadUtils { @@ -35,7 +35,7 @@ public class FileUploadUtils /** * 默认上传的地址 */ - private static String defaultBaseDir = RuoYiConfig.getProfile(); + private static String defaultBaseDir = McWlConfig.getProfile(); public static void setDefaultBaseDir(String defaultBaseDir) { @@ -142,7 +142,7 @@ public class FileUploadUtils public static final String getPathFileName(String uploadDir, String fileName) throws IOException { - int dirLastIndex = RuoYiConfig.getProfile().length() + 1; + int dirLastIndex = McWlConfig.getProfile().length() + 1; String currentDir = StringUtils.substring(uploadDir, dirLastIndex); return Constants.RESOURCE_PREFIX + "/" + currentDir + "/" + fileName; } diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUtils.java index e1e314d..10f795a 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/file/FileUtils.java @@ -13,7 +13,7 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.ArrayUtils; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.utils.DateUtils; import com.mcwl.common.utils.StringUtils; import com.mcwl.common.utils.uuid.IdUtils; @@ -21,8 +21,8 @@ import org.apache.commons.io.FilenameUtils; /** * 文件处理工具类 - * - * @author ruoyi + * + * @author mcwl */ public class FileUtils { @@ -30,7 +30,7 @@ public class FileUtils /** * 输出指定文件的byte数组 - * + * * @param filePath 文件路径 * @param os 输出流 * @return @@ -73,7 +73,7 @@ public class FileUtils */ public static String writeImportBytes(byte[] data) throws IOException { - return writeBytes(data, RuoYiConfig.getImportPath()); + return writeBytes(data, McWlConfig.getImportPath()); } /** @@ -105,7 +105,7 @@ public class FileUtils /** * 删除文件 - * + * * @param filePath 文件 * @return */ @@ -123,7 +123,7 @@ public class FileUtils /** * 文件名称验证 - * + * * @param filename 文件名称 * @return true 正常 false 非法 */ @@ -134,7 +134,7 @@ public class FileUtils /** * 检查文件是否可下载 - * + * * @param resource 需要下载的文件 * @return true 正常 false 非法 */ @@ -158,7 +158,7 @@ public class FileUtils /** * 下载文件名重新编码 - * + * * @param request 请求对象 * @param fileName 文件名 * @return 编码后的文件名 @@ -228,7 +228,7 @@ public class FileUtils /** * 获取图像后缀 - * + * * @param photoByte 图像数据 * @return 后缀名 */ @@ -256,8 +256,8 @@ public class FileUtils } /** - * 获取文件名称 /profile/upload/2022/04/16/ruoyi.png -- ruoyi.png - * + * 获取文件名称 /profile/upload/2022/04/16/mcwl.png -- mcwl.png + * * @param fileName 路径名称 * @return 没有文件路径的名称 */ @@ -274,8 +274,8 @@ public class FileUtils } /** - * 获取不带后缀文件名称 /profile/upload/2022/04/16/ruoyi.png -- ruoyi - * + * 获取不带后缀文件名称 /profile/upload/2022/04/16/mcwl.png -- mcwl + * * @param fileName 路径名称 * @return 没有文件路径和后缀的名称 */ diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/file/ImageUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/file/ImageUtils.java index 1f155ba..849f5f3 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/file/ImageUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/file/ImageUtils.java @@ -9,14 +9,14 @@ import java.util.Arrays; import org.apache.poi.util.IOUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.constant.Constants; import com.mcwl.common.utils.StringUtils; /** * 图片处理工具类 * - * @author ruoyi + * @author mcwl */ public class ImageUtils { @@ -79,7 +79,7 @@ public class ImageUtils else { // 本机地址 - String localPath = RuoYiConfig.getProfile(); + String localPath = McWlConfig.getProfile(); String downloadPath = localPath + StringUtils.substringAfter(url, Constants.RESOURCE_PREFIX); in = new FileInputStream(downloadPath); } diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/file/MimeTypeUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/file/MimeTypeUtils.java index 0510c16..f20c40d 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/file/MimeTypeUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/file/MimeTypeUtils.java @@ -3,7 +3,7 @@ package com.mcwl.common.utils.file; /** * 媒体类型工具类 * - * @author ruoyi + * @author mcwl */ public class MimeTypeUtils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/html/EscapeUtil.java b/mcwl-common/src/main/java/com/mcwl/common/utils/html/EscapeUtil.java index d62f03c..9e30ad6 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/html/EscapeUtil.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/html/EscapeUtil.java @@ -4,8 +4,8 @@ import com.mcwl.common.utils.StringUtils; /** * 转义和反转义工具类 - * - * @author ruoyi + * + * @author mcwl */ public class EscapeUtil { @@ -30,7 +30,7 @@ public class EscapeUtil /** * 转义文本中的HTML字符为安全的字符 - * + * * @param text 被转义的文本 * @return 转义后的文本 */ @@ -41,7 +41,7 @@ public class EscapeUtil /** * 还原被转义的HTML特殊字符 - * + * * @param content 包含转义符的HTML内容 * @return 转换后的字符串 */ @@ -52,7 +52,7 @@ public class EscapeUtil /** * 清除所有HTML标签,但是不删除标签内的内容 - * + * * @param content 文本 * @return 清除标签后的文本 */ @@ -63,7 +63,7 @@ public class EscapeUtil /** * Escape编码 - * + * * @param text 被编码的文本 * @return 编码后的字符 */ @@ -104,7 +104,7 @@ public class EscapeUtil /** * Escape解码 - * + * * @param content 被转义的内容 * @return 解码后的字符串 */ diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/html/HTMLFilter.java b/mcwl-common/src/main/java/com/mcwl/common/utils/html/HTMLFilter.java index 15ba26d..a7d578a 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/html/HTMLFilter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/html/HTMLFilter.java @@ -13,7 +13,7 @@ import java.util.regex.Pattern; /** * HTML过滤器,用于去除XSS漏洞隐患。 * - * @author ruoyi + * @author mcwl */ public final class HTMLFilter { @@ -567,4 +567,4 @@ public final class HTMLFilter { return allowed(name) && (vAllowed.isEmpty() || vAllowed.get(name).contains(paramName)); } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpHelper.java b/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpHelper.java index ab2d077..704561c 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpHelper.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpHelper.java @@ -12,8 +12,8 @@ import org.slf4j.LoggerFactory; /** * 通用http工具封装 - * - * @author ruoyi + * + * @author mcwl */ public class HttpHelper { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpUtils.java index 6b30dfa..89f2b34 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/http/HttpUtils.java @@ -24,8 +24,8 @@ import com.mcwl.common.utils.StringUtils; /** * 通用http发送方法 - * - * @author ruoyi + * + * @author mcwl */ public class HttpUtils { @@ -271,4 +271,4 @@ public class HttpUtils return true; } } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/ip/AddressUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/ip/AddressUtils.java index 6d6aec5..310b69a 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/ip/AddressUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/ip/AddressUtils.java @@ -4,15 +4,15 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.alibaba.fastjson2.JSON; import com.alibaba.fastjson2.JSONObject; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.constant.Constants; import com.mcwl.common.utils.StringUtils; import com.mcwl.common.utils.http.HttpUtils; /** * 获取地址类 - * - * @author ruoyi + * + * @author mcwl */ public class AddressUtils { @@ -31,7 +31,7 @@ public class AddressUtils { return "内网IP"; } - if (RuoYiConfig.isAddressEnabled()) + if (McWlConfig.isAddressEnabled()) { try { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/ip/IpUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/ip/IpUtils.java index 44cc923..78620a7 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/ip/IpUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/ip/IpUtils.java @@ -8,8 +8,8 @@ import com.mcwl.common.utils.StringUtils; /** * 获取IP方法 - * - * @author ruoyi + * + * @author mcwl */ public class IpUtils { @@ -22,7 +22,7 @@ public class IpUtils /** * 获取客户端IP - * + * * @return IP地址 */ public static String getIpAddr() @@ -32,7 +32,7 @@ public class IpUtils /** * 获取客户端IP - * + * * @param request 请求对象 * @return IP地址 */ @@ -70,7 +70,7 @@ public class IpUtils /** * 检查是否为内部IP地址 - * + * * @param ip IP地址 * @return 结果 */ @@ -82,7 +82,7 @@ public class IpUtils /** * 检查是否为内部IP地址 - * + * * @param addr byte地址 * @return 结果 */ @@ -125,7 +125,7 @@ public class IpUtils /** * 将IPv4地址转换成字节 - * + * * @param text IPv4地址 * @return byte 字节 */ @@ -213,7 +213,7 @@ public class IpUtils /** * 获取IP地址 - * + * * @return 本地IP地址 */ public static String getHostIp() @@ -230,7 +230,7 @@ public class IpUtils /** * 获取主机名 - * + * * @return 本地主机名 */ public static String getHostName() @@ -350,7 +350,7 @@ public class IpUtils /** * 校验ip是否符合过滤串规则 - * + * * @param filter 过滤IP列表,支持后缀'*'通配,支持网段如:`10.10.10.1-10.10.10.99` * @param ip 校验IP地址 * @return boolean 结果 @@ -379,4 +379,4 @@ public class IpUtils } return false; } -} \ No newline at end of file +} diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelHandlerAdapter.java b/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelHandlerAdapter.java index 5d7b04b..cbefe5b 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelHandlerAdapter.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelHandlerAdapter.java @@ -6,7 +6,7 @@ import org.apache.poi.ss.usermodel.Workbook; /** * Excel数据格式处理适配器 * - * @author ruoyi + * @author mcwl */ public interface ExcelHandlerAdapter { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelUtil.java b/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelUtil.java index c2f8006..41e29f9 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelUtil.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/poi/ExcelUtil.java @@ -74,7 +74,7 @@ import com.mcwl.common.annotation.Excel; import com.mcwl.common.annotation.Excel.ColumnType; import com.mcwl.common.annotation.Excel.Type; import com.mcwl.common.annotation.Excels; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.core.domain.AjaxResult; import com.mcwl.common.core.text.Convert; import com.mcwl.common.exception.UtilException; @@ -88,8 +88,8 @@ import com.mcwl.common.utils.reflect.ReflectUtils; /** * Excel相关处理 - * - * @author ruoyi + * + * @author mcwl */ public class ExcelUtil { @@ -305,7 +305,7 @@ public class ExcelUtil /** * 对excel表单默认第一个索引名转换成list - * + * * @param is 输入流 * @return 转换后集合 */ @@ -316,7 +316,7 @@ public class ExcelUtil /** * 对excel表单默认第一个索引名转换成list - * + * * @param is 输入流 * @param titleNum 标题占用行数 * @return 转换后集合 @@ -342,7 +342,7 @@ public class ExcelUtil /** * 对excel表单指定表格索引名转换成list - * + * * @param sheetName 表格索引名 * @param titleNum 标题占用行数 * @param is 输入流 @@ -526,7 +526,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param list 导出数据集合 * @param sheetName 工作表的名称 * @return 结果 @@ -538,7 +538,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param list 导出数据集合 * @param sheetName 工作表的名称 * @param title 标题 @@ -552,7 +552,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param response 返回数据 * @param list 导出数据集合 * @param sheetName 工作表的名称 @@ -565,7 +565,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param response 返回数据 * @param list 导出数据集合 * @param sheetName 工作表的名称 @@ -582,7 +582,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param sheetName 工作表的名称 * @return 结果 */ @@ -593,7 +593,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param sheetName 工作表的名称 * @param title 标题 * @return 结果 @@ -606,7 +606,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param sheetName 工作表的名称 * @return 结果 */ @@ -617,7 +617,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @param sheetName 工作表的名称 * @param title 标题 * @return 结果 @@ -632,7 +632,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @return 结果 */ public void exportExcel(HttpServletResponse response) @@ -654,7 +654,7 @@ public class ExcelUtil /** * 对list数据源将其里面的数据导入到excel表单 - * + * * @return 结果 */ public AjaxResult exportExcel() @@ -722,7 +722,7 @@ public class ExcelUtil /** * 填充excel数据 - * + * * @param index 序号 * @param row 单元格行 */ @@ -820,7 +820,7 @@ public class ExcelUtil /** * 创建表格样式 - * + * * @param wb 工作薄对象 * @return 样式列表 */ @@ -875,7 +875,7 @@ public class ExcelUtil /** * 根据Excel注解创建表格头样式 - * + * * @param wb 工作薄对象 * @return 自定义样式列表 */ @@ -911,7 +911,7 @@ public class ExcelUtil /** * 根据Excel注解创建表格列样式 - * + * * @param wb 工作薄对象 * @return 自定义样式列表 */ @@ -943,7 +943,7 @@ public class ExcelUtil /** * 根据Excel注解创建表格列样式 - * + * * @param styles 自定义样式列表 * @param field 属性列信息 * @param excel 注解信息 @@ -1006,7 +1006,7 @@ public class ExcelUtil /** * 设置单元格信息 - * + * * @param value 单元格值 * @param attr 注解相关 * @param cell 单元格信息 @@ -1188,7 +1188,7 @@ public class ExcelUtil /** * 设置 POI XSSFSheet 单元格提示或选择框 - * + * * @param sheet 表单 * @param textlist 下拉框显示的内容 * @param promptContent 提示内容 @@ -1225,7 +1225,7 @@ public class ExcelUtil /** * 设置某些列的值只能输入预制的数据,显示下拉框(兼容超出一定数量的下拉框). - * + * * @param sheet 要设置的sheet. * @param textlist 下拉框显示的内容 * @param promptContent 提示内容 @@ -1277,7 +1277,7 @@ public class ExcelUtil /** * 解析导出值 0=男,1=女,2=未知 - * + * * @param propertyValue 参数值 * @param converterExp 翻译注解 * @param separator 分隔符 @@ -1314,7 +1314,7 @@ public class ExcelUtil /** * 反向解析值 男=0,女=1,未知=2 - * + * * @param propertyValue 参数值 * @param converterExp 翻译注解 * @param separator 分隔符 @@ -1351,7 +1351,7 @@ public class ExcelUtil /** * 解析字典值 - * + * * @param dictValue 字典值 * @param dictType 字典类型 * @param separator 分隔符 @@ -1364,7 +1364,7 @@ public class ExcelUtil /** * 反向解析值字典值 - * + * * @param dictLabel 字典标签 * @param dictType 字典类型 * @param separator 分隔符 @@ -1377,7 +1377,7 @@ public class ExcelUtil /** * 数据处理器 - * + * * @param value 数据值 * @param excel 数据注解 * @return @@ -1454,12 +1454,12 @@ public class ExcelUtil /** * 获取下载路径 - * + * * @param filename 文件名称 */ public String getAbsoluteFile(String filename) { - String downloadPath = RuoYiConfig.getDownloadPath() + filename; + String downloadPath = McWlConfig.getDownloadPath() + filename; File desc = new File(downloadPath); if (!desc.getParentFile().exists()) { @@ -1470,7 +1470,7 @@ public class ExcelUtil /** * 获取bean中的属性值 - * + * * @param vo 实体对象 * @param field 字段 * @param excel 注解 @@ -1502,7 +1502,7 @@ public class ExcelUtil /** * 以类的属性的get方法方法形式获取值 - * + * * @param o * @param name * @return value @@ -1645,7 +1645,7 @@ public class ExcelUtil /** * 创建工作表 - * + * * @param sheetNo sheet数量 * @param index 序号 */ @@ -1662,7 +1662,7 @@ public class ExcelUtil /** * 获取单元格值 - * + * * @param row 获取的行 * @param column 获取单元格列号 * @return 单元格值 @@ -1722,7 +1722,7 @@ public class ExcelUtil /** * 判断是否是空行 - * + * * @param row 判断的行 * @return */ @@ -1810,7 +1810,7 @@ public class ExcelUtil /** * 格式化不同类型的日期对象 - * + * * @param dateFormat 日期格式 * @param val 被格式化的日期对象 * @return 格式化后的日期字符 @@ -1876,7 +1876,7 @@ public class ExcelUtil /** * 获取对象的子列表方法 - * + * * @param name 名称 * @param pojoClass 类对象 * @return 子列表方法 diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/reflect/ReflectUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/reflect/ReflectUtils.java index ccb904f..2ea60e3 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/reflect/ReflectUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/reflect/ReflectUtils.java @@ -17,8 +17,8 @@ import com.mcwl.common.utils.DateUtils; /** * 反射工具类. 提供调用getter/setter方法, 访问私有变量, 调用私有方法, 获取泛型类型Class, 被AOP过的真实类等工具函数. - * - * @author ruoyi + * + * @author mcwl */ @SuppressWarnings("rawtypes") public class ReflectUtils diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Base64.java b/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Base64.java index 9500c18..4ca363e 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Base64.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Base64.java @@ -2,8 +2,8 @@ package com.mcwl.common.utils.sign; /** * Base64工具类 - * - * @author ruoyi + * + * @author mcwl */ public final class Base64 { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Md5Utils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Md5Utils.java index 1df4ee5..0910209 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Md5Utils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/sign/Md5Utils.java @@ -7,8 +7,8 @@ import org.slf4j.LoggerFactory; /** * Md5加密方法 - * - * @author ruoyi + * + * @author mcwl */ public class Md5Utils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/spring/SpringUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/spring/SpringUtils.java index 784d917..6154a5e 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/spring/SpringUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/spring/SpringUtils.java @@ -13,7 +13,7 @@ import com.mcwl.common.utils.StringUtils; /** * spring工具类 方便在非spring管理环境中获取bean * - * @author ruoyi + * @author mcwl */ @Component public final class SpringUtils implements BeanFactoryPostProcessor, ApplicationContextAware diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/sql/SqlUtil.java b/mcwl-common/src/main/java/com/mcwl/common/utils/sql/SqlUtil.java index 854f75d..3ac35ed 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/sql/SqlUtil.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/sql/SqlUtil.java @@ -5,8 +5,8 @@ import com.mcwl.common.utils.StringUtils; /** * sql操作工具类 - * - * @author ruoyi + * + * @author mcwl */ public class SqlUtil { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/IdUtils.java b/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/IdUtils.java index a30fbcd..adc68ad 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/IdUtils.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/IdUtils.java @@ -3,7 +3,7 @@ package com.mcwl.common.utils.uuid; /** * ID生成器工具类 * - * @author ruoyi + * @author mcwl */ public class IdUtils { diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/Seq.java b/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/Seq.java index 38443a5..3f3c7e0 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/Seq.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/Seq.java @@ -5,7 +5,7 @@ import com.mcwl.common.utils.DateUtils; import com.mcwl.common.utils.StringUtils; /** - * @author ruoyi 序列生成类 + * @author mcwl 序列生成类 */ public class Seq { @@ -26,17 +26,17 @@ public class Seq /** * 获取通用序列号 - * + * * @return 序列值 */ public static String getId() { return getId(commSeqType); } - + /** * 默认16位序列号 yyMMddHHmmss + 一位机器标识 + 3长度循环递增字符串 - * + * * @return 序列值 */ public static String getId(String type) @@ -51,7 +51,7 @@ public class Seq /** * 通用接口序列号 yyMMddHHmmss + 一位机器标识 + length长度循环递增字符串 - * + * * @param atomicInt 序列数 * @param length 数值长度 * @return 序列值 @@ -66,7 +66,7 @@ public class Seq /** * 序列循环递增字符串[1, 10 的 (length)幂次方), 用0左补齐length位数 - * + * * @return 序列值 */ private synchronized static String getSeq(AtomicInteger atomicInt, int length) diff --git a/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/UUID.java b/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/UUID.java index 2e7f868..164ff7b 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/UUID.java +++ b/mcwl-common/src/main/java/com/mcwl/common/utils/uuid/UUID.java @@ -10,7 +10,7 @@ import com.mcwl.common.exception.UtilException; /** * 提供通用唯一识别码(universally unique identifier)(UUID)实现 * - * @author ruoyi + * @author mcwl */ public final class UUID implements java.io.Serializable, Comparable { diff --git a/mcwl-common/src/main/java/com/mcwl/common/xss/Xss.java b/mcwl-common/src/main/java/com/mcwl/common/xss/Xss.java index 016266d..706d331 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/xss/Xss.java +++ b/mcwl-common/src/main/java/com/mcwl/common/xss/Xss.java @@ -9,8 +9,8 @@ import java.lang.annotation.Target; /** * 自定义xss校验注解 - * - * @author ruoyi + * + * @author mcwl */ @Retention(RetentionPolicy.RUNTIME) @Target(value = { ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.PARAMETER }) diff --git a/mcwl-common/src/main/java/com/mcwl/common/xss/XssValidator.java b/mcwl-common/src/main/java/com/mcwl/common/xss/XssValidator.java index 2e918e1..144a089 100644 --- a/mcwl-common/src/main/java/com/mcwl/common/xss/XssValidator.java +++ b/mcwl-common/src/main/java/com/mcwl/common/xss/XssValidator.java @@ -9,7 +9,7 @@ import java.util.regex.Pattern; /** * 自定义xss校验注解实现 * - * @author ruoyi + * @author mcwl */ public class XssValidator implements ConstraintValidator { @@ -36,4 +36,4 @@ public class XssValidator implements ConstraintValidator } return pattern.matcher(sHtml).matches(); } -} \ No newline at end of file +} diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataScopeAspect.java b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataScopeAspect.java index 35ea288..b8ea3df 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataScopeAspect.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataScopeAspect.java @@ -20,7 +20,7 @@ import com.mcwl.framework.security.context.PermissionContextHolder; /** * 数据过滤处理 * - * @author ruoyi + * @author mcwl */ @Aspect @Component diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataSourceAspect.java b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataSourceAspect.java index 23ef53d..9bec3c3 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataSourceAspect.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/DataSourceAspect.java @@ -17,8 +17,8 @@ import com.mcwl.framework.datasource.DynamicDataSourceContextHolder; /** * 多数据源处理 - * - * @author ruoyi + * + * @author mcwl */ @Aspect @Order(1) diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/LogAspect.java b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/LogAspect.java index 8f7c8a1..b7b7d81 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/LogAspect.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/LogAspect.java @@ -33,8 +33,8 @@ import com.mcwl.system.domain.SysOperLog; /** * 操作日志记录处理 - * - * @author ruoyi + * + * @author mcwl */ @Aspect @Component @@ -70,7 +70,7 @@ public class LogAspect /** * 拦截异常操作 - * + * * @param joinPoint 切点 * @param e 异常 */ @@ -136,7 +136,7 @@ public class LogAspect /** * 获取注解中对方法的描述信息 用于Controller层注解 - * + * * @param log 日志 * @param operLog 操作日志 * @throws Exception @@ -164,7 +164,7 @@ public class LogAspect /** * 获取请求的参数,放到log中 - * + * * @param operLog 操作日志 * @throws Exception 异常 */ @@ -219,7 +219,7 @@ public class LogAspect /** * 判断是否需要过滤的对象。 - * + * * @param o 对象信息。 * @return 如果是需要过滤的对象,则返回true;否则返回false。 */ diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/RateLimiterAspect.java b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/RateLimiterAspect.java index 5a2e2e0..323d7bf 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/RateLimiterAspect.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/aspectj/RateLimiterAspect.java @@ -22,7 +22,7 @@ import com.mcwl.common.utils.ip.IpUtils; /** * 限流处理 * - * @author ruoyi + * @author mcwl */ @Aspect @Component diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/ApplicationConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/ApplicationConfig.java index 5491233..6ef8d38 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/ApplicationConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/ApplicationConfig.java @@ -10,7 +10,7 @@ import org.springframework.context.annotation.EnableAspectJAutoProxy; /** * 程序注解配置 * - * @author ruoyi + * @author mcwl */ @Configuration // 表示通过aop框架暴露该代理对象,AopContext能够访问 diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/CaptchaConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/CaptchaConfig.java index a051c95..6953208 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/CaptchaConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/CaptchaConfig.java @@ -9,8 +9,8 @@ import static com.google.code.kaptcha.Constants.*; /** * 验证码配置 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class CaptchaConfig diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/DruidConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/DruidConfig.java index c802519..2a18d6c 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/DruidConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/DruidConfig.java @@ -27,7 +27,7 @@ import com.mcwl.framework.datasource.DynamicDataSource; /** * druid 配置多数据源 * - * @author ruoyi + * @author mcwl */ @Configuration public class DruidConfig diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/FastJson2JsonRedisSerializer.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/FastJson2JsonRedisSerializer.java index 058b778..e8646a7 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/FastJson2JsonRedisSerializer.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/FastJson2JsonRedisSerializer.java @@ -12,7 +12,7 @@ import com.mcwl.common.constant.Constants; /** * Redis使用FastJson序列化 * - * @author ruoyi + * @author mcwl */ public class FastJson2JsonRedisSerializer implements RedisSerializer { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/FilterConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/FilterConfig.java index 7ab85f5..91deefb 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/FilterConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/FilterConfig.java @@ -15,7 +15,7 @@ import com.mcwl.common.utils.StringUtils; /** * Filter配置 * - * @author ruoyi + * @author mcwl */ @Configuration public class FilterConfig diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/I18nConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/I18nConfig.java index 7d58b5c..dc7d3c1 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/I18nConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/I18nConfig.java @@ -11,8 +11,8 @@ import com.mcwl.common.constant.Constants; /** * 资源文件配置加载 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class I18nConfig implements WebMvcConfigurer diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/KaptchaTextCreator.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/KaptchaTextCreator.java index 1463bc7..98f75d2 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/KaptchaTextCreator.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/KaptchaTextCreator.java @@ -6,7 +6,7 @@ import com.google.code.kaptcha.text.impl.DefaultTextCreator; /** * 验证码文本生成器 * - * @author ruoyi + * @author mcwl */ public class KaptchaTextCreator extends DefaultTextCreator { @@ -65,4 +65,4 @@ public class KaptchaTextCreator extends DefaultTextCreator suChinese.append("=?@" + result); return suChinese.toString(); } -} \ No newline at end of file +} diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/MyBatisConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/MyBatisConfig.java index 48f4b0b..dd66524 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/MyBatisConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/MyBatisConfig.java @@ -26,8 +26,8 @@ import com.mcwl.common.utils.StringUtils; /** * Mybatis支持*匹配扫描包 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class MyBatisConfig @@ -129,4 +129,4 @@ public class MyBatisConfig sessionFactory.setConfigLocation(new DefaultResourceLoader().getResource(configLocation)); return sessionFactory.getObject(); } -} \ No newline at end of file +} diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/RedisConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/RedisConfig.java index c48bb3d..33cef5b 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/RedisConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/RedisConfig.java @@ -11,8 +11,8 @@ import org.springframework.data.redis.serializer.StringRedisSerializer; /** * redis配置 - * - * @author ruoyi + * + * @author mcwl */ @Configuration @EnableCaching diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/ResourcesConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/ResourcesConfig.java index 5d2d2a8..cc23821 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/ResourcesConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/ResourcesConfig.java @@ -11,14 +11,14 @@ import org.springframework.web.filter.CorsFilter; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; -import com.mcwl.common.config.RuoYiConfig; +import com.mcwl.common.config.McWlConfig; import com.mcwl.common.constant.Constants; import com.mcwl.framework.interceptor.RepeatSubmitInterceptor; /** * 通用配置 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class ResourcesConfig implements WebMvcConfigurer @@ -31,7 +31,7 @@ public class ResourcesConfig implements WebMvcConfigurer { /** 本地文件上传路径 */ registry.addResourceHandler(Constants.RESOURCE_PREFIX + "/**") - .addResourceLocations("file:" + RuoYiConfig.getProfile() + "/"); + .addResourceLocations("file:" + McWlConfig.getProfile() + "/"); /** swagger配置 */ registry.addResourceHandler("/swagger-ui/**") @@ -70,4 +70,4 @@ public class ResourcesConfig implements WebMvcConfigurer // 返回新的CorsFilter return new CorsFilter(source); } -} \ No newline at end of file +} diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/SecurityConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/SecurityConfig.java index ed856ef..0f71304 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/SecurityConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/SecurityConfig.java @@ -23,8 +23,8 @@ import com.mcwl.framework.security.handle.LogoutSuccessHandlerImpl; /** * spring security配置 - * - * @author ruoyi + * + * @author mcwl */ @EnableMethodSecurity(prePostEnabled = true, securedEnabled = true) @Configuration @@ -35,7 +35,7 @@ public class SecurityConfig */ @Autowired private UserDetailsService userDetailsService; - + /** * 认证失败处理类 */ @@ -53,7 +53,7 @@ public class SecurityConfig */ @Autowired private JwtAuthenticationTokenFilter authenticationTokenFilter; - + /** * 跨域过滤器 */ diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/ServerConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/ServerConfig.java index 35d890d..ba25d90 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/ServerConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/ServerConfig.java @@ -7,7 +7,7 @@ import com.mcwl.common.utils.ServletUtils; /** * 服务相关配置 * - * @author ruoyi + * @author mcwl */ @Component public class ServerConfig diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/ThreadPoolConfig.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/ThreadPoolConfig.java index 543d507..983e0f6 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/ThreadPoolConfig.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/ThreadPoolConfig.java @@ -12,7 +12,7 @@ import java.util.concurrent.ThreadPoolExecutor; /** * 线程池配置 * - * @author ruoyi + * @author mcwl **/ @Configuration public class ThreadPoolConfig diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/DruidProperties.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/DruidProperties.java index 53a412d..c693240 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/DruidProperties.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/DruidProperties.java @@ -6,8 +6,8 @@ import com.alibaba.druid.pool.DruidDataSource; /** * druid 配置属性 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class DruidProperties @@ -60,10 +60,10 @@ public class DruidProperties /** 配置获取连接等待超时的时间 */ datasource.setMaxWait(maxWait); - + /** 配置驱动连接超时时间,检测数据库建立连接的超时时间,单位是毫秒 */ datasource.setConnectTimeout(connectTimeout); - + /** 配置网络超时时间,等待数据库操作完成的网络超时时间,单位是毫秒 */ datasource.setSocketTimeout(socketTimeout); diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/PermitAllUrlProperties.java b/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/PermitAllUrlProperties.java index 891066c..5c4a1d0 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/PermitAllUrlProperties.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/config/properties/PermitAllUrlProperties.java @@ -20,8 +20,8 @@ import com.mcwl.common.annotation.Anonymous; /** * 设置Anonymous注解允许匿名访问的url - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class PermitAllUrlProperties implements InitializingBean, ApplicationContextAware diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSource.java b/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSource.java index 3493dbd..1cac644 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSource.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSource.java @@ -6,8 +6,8 @@ import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource; /** * 动态数据源 - * - * @author ruoyi + * + * @author mcwl */ public class DynamicDataSource extends AbstractRoutingDataSource { @@ -23,4 +23,4 @@ public class DynamicDataSource extends AbstractRoutingDataSource { return DynamicDataSourceContextHolder.getDataSourceType(); } -} \ No newline at end of file +} diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSourceContextHolder.java b/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSourceContextHolder.java index fe5fcea..9d17129 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSourceContextHolder.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/datasource/DynamicDataSourceContextHolder.java @@ -5,8 +5,8 @@ import org.slf4j.LoggerFactory; /** * 数据源切换处理 - * - * @author ruoyi + * + * @author mcwl */ public class DynamicDataSourceContextHolder { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/RepeatSubmitInterceptor.java b/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/RepeatSubmitInterceptor.java index e8c9115..240bc27 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/RepeatSubmitInterceptor.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/RepeatSubmitInterceptor.java @@ -14,7 +14,7 @@ import com.mcwl.common.utils.ServletUtils; /** * 防止重复提交拦截器 * - * @author ruoyi + * @author mcwl */ @Component public abstract class RepeatSubmitInterceptor implements HandlerInterceptor diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/impl/SameUrlDataInterceptor.java b/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/impl/SameUrlDataInterceptor.java index be9ff0c..cd8c8ab 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/impl/SameUrlDataInterceptor.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/interceptor/impl/SameUrlDataInterceptor.java @@ -20,7 +20,7 @@ import com.mcwl.framework.interceptor.RepeatSubmitInterceptor; * 判断请求url和数据是否和上一次相同, * 如果和上次相同,则是重复提交表单。 有效时间为10秒内。 * - * @author ruoyi + * @author mcwl */ @Component public class SameUrlDataInterceptor extends RepeatSubmitInterceptor diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/manager/AsyncManager.java b/mcwl-framework/src/main/java/com/mcwl/framework/manager/AsyncManager.java index ff7ff11..95f8e04 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/manager/AsyncManager.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/manager/AsyncManager.java @@ -9,7 +9,7 @@ import com.mcwl.common.utils.spring.SpringUtils; /** * 异步任务管理器 * - * @author ruoyi + * @author mcwl */ public class AsyncManager { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/manager/ShutdownManager.java b/mcwl-framework/src/main/java/com/mcwl/framework/manager/ShutdownManager.java index 8f9e7f9..37cb488 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/manager/ShutdownManager.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/manager/ShutdownManager.java @@ -8,7 +8,7 @@ import javax.annotation.PreDestroy; /** * 确保应用退出时能关闭后台线程 * - * @author ruoyi + * @author mcwl */ @Component public class ShutdownManager diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/manager/factory/AsyncFactory.java b/mcwl-framework/src/main/java/com/mcwl/framework/manager/factory/AsyncFactory.java index 579e34d..53a17ea 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/manager/factory/AsyncFactory.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/manager/factory/AsyncFactory.java @@ -19,7 +19,7 @@ import eu.bitwalker.useragentutils.UserAgent; /** * 异步工厂(产生任务用) * - * @author ruoyi + * @author mcwl */ public class AsyncFactory { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/security/context/AuthenticationContextHolder.java b/mcwl-framework/src/main/java/com/mcwl/framework/security/context/AuthenticationContextHolder.java index 6aa9d79..cea6529 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/security/context/AuthenticationContextHolder.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/security/context/AuthenticationContextHolder.java @@ -5,7 +5,7 @@ import org.springframework.security.core.Authentication; /** * 身份验证信息 * - * @author ruoyi + * @author mcwl */ public class AuthenticationContextHolder { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/security/context/PermissionContextHolder.java b/mcwl-framework/src/main/java/com/mcwl/framework/security/context/PermissionContextHolder.java index 30f128f..e810d56 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/security/context/PermissionContextHolder.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/security/context/PermissionContextHolder.java @@ -6,8 +6,8 @@ import com.mcwl.common.core.text.Convert; /** * 权限信息 - * - * @author ruoyi + * + * @author mcwl */ public class PermissionContextHolder { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/security/filter/JwtAuthenticationTokenFilter.java b/mcwl-framework/src/main/java/com/mcwl/framework/security/filter/JwtAuthenticationTokenFilter.java index 039d91e..33c6c8d 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/security/filter/JwtAuthenticationTokenFilter.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/security/filter/JwtAuthenticationTokenFilter.java @@ -19,7 +19,7 @@ import com.mcwl.framework.web.service.TokenService; /** * token过滤器 验证token有效性 * - * @author ruoyi + * @author mcwl */ @Component public class JwtAuthenticationTokenFilter extends OncePerRequestFilter diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/AuthenticationEntryPointImpl.java b/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/AuthenticationEntryPointImpl.java index 2ff030e..a58140e 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/AuthenticationEntryPointImpl.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/AuthenticationEntryPointImpl.java @@ -15,8 +15,8 @@ import com.mcwl.common.utils.StringUtils; /** * 认证失败处理类 返回未授权 - * - * @author ruoyi + * + * @author mcwl */ @Component public class AuthenticationEntryPointImpl implements AuthenticationEntryPoint, Serializable diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/LogoutSuccessHandlerImpl.java b/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/LogoutSuccessHandlerImpl.java index 47eac94..b5cfbe6 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/LogoutSuccessHandlerImpl.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/security/handle/LogoutSuccessHandlerImpl.java @@ -21,8 +21,8 @@ import com.mcwl.framework.web.service.TokenService; /** * 自定义退出处理类 返回成功 - * - * @author ruoyi + * + * @author mcwl */ @Configuration public class LogoutSuccessHandlerImpl implements LogoutSuccessHandler @@ -32,7 +32,7 @@ public class LogoutSuccessHandlerImpl implements LogoutSuccessHandler /** * 退出处理 - * + * * @return */ @Override diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/Server.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/Server.java index a48391a..26a90c0 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/Server.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/Server.java @@ -23,13 +23,13 @@ import oshi.util.Util; /** * 服务器相关信息 - * - * @author ruoyi + * + * @author mcwl */ public class Server { private static final int OSHI_WAIT_SECOND = 1000; - + /** * CPU相关信息 */ @@ -209,7 +209,7 @@ public class Server /** * 字节转换 - * + * * @param size 字节大小 * @return 转换后值 */ diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Cpu.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Cpu.java index 683b52f..86f5b55 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Cpu.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Cpu.java @@ -4,8 +4,8 @@ import com.mcwl.common.utils.Arith; /** * CPU相关信息 - * - * @author ruoyi + * + * @author mcwl */ public class Cpu { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Jvm.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Jvm.java index fc6ac21..1f421e2 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Jvm.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Jvm.java @@ -6,8 +6,8 @@ import com.mcwl.common.utils.DateUtils; /** * JVM相关信息 - * - * @author ruoyi + * + * @author mcwl */ public class Jvm { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Mem.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Mem.java index dcf2bf5..8c31257 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Mem.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Mem.java @@ -4,8 +4,8 @@ import com.mcwl.common.utils.Arith; /** * 內存相关信息 - * - * @author ruoyi + * + * @author mcwl */ public class Mem { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Sys.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Sys.java index c99767f..df05258 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Sys.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/Sys.java @@ -2,8 +2,8 @@ package com.mcwl.framework.web.domain.server; /** * 系统相关信息 - * - * @author ruoyi + * + * @author mcwl */ public class Sys { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/SysFile.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/SysFile.java index 3f3e556..3a4b565 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/SysFile.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/domain/server/SysFile.java @@ -3,7 +3,7 @@ package com.mcwl.framework.web.domain.server; /** * 系统文件相关信息 * - * @author ruoyi + * @author mcwl */ public class SysFile { diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/exception/GlobalExceptionHandler.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/exception/GlobalExceptionHandler.java index a127836..11f0abf 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/exception/GlobalExceptionHandler.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/exception/GlobalExceptionHandler.java @@ -21,8 +21,8 @@ import com.mcwl.common.utils.html.EscapeUtil; /** * 全局异常处理器 - * - * @author ruoyi + * + * @author mcwl */ @RestControllerAdvice public class GlobalExceptionHandler diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/PermissionService.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/PermissionService.java index d1688d1..edfdf0f 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/PermissionService.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/PermissionService.java @@ -11,16 +11,16 @@ import com.mcwl.common.utils.StringUtils; import com.mcwl.framework.security.context.PermissionContextHolder; /** - * RuoYi首创 自定义权限实现,ss取自SpringSecurity首字母 - * - * @author ruoyi + * McWl首创 自定义权限实现,ss取自SpringSecurity首字母 + * + * @author mcwl */ @Service("ss") public class PermissionService { /** * 验证用户是否具备某权限 - * + * * @param permission 权限字符串 * @return 用户是否具备某权限 */ @@ -81,7 +81,7 @@ public class PermissionService /** * 判断用户是否拥有某个角色 - * + * * @param role 角色字符串 * @return 用户是否具备某角色 */ @@ -147,7 +147,7 @@ public class PermissionService /** * 判断是否包含权限 - * + * * @param permissions 权限列表 * @param permission 权限字符串 * @return 用户是否具备某权限 diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysLoginService.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysLoginService.java index fe9add5..898be5b 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysLoginService.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysLoginService.java @@ -31,8 +31,8 @@ import com.mcwl.system.service.ISysUserService; /** * 登录校验方法 - * - * @author ruoyi + * + * @author mcwl */ @Component public class SysLoginService @@ -45,7 +45,7 @@ public class SysLoginService @Autowired private RedisCache redisCache; - + @Autowired private ISysUserService userService; @@ -54,7 +54,7 @@ public class SysLoginService /** * 登录验证 - * + * * @param username 用户名 * @param password 密码 * @param code 验证码 @@ -102,7 +102,7 @@ public class SysLoginService /** * 校验验证码 - * + * * @param username 用户名 * @param code 验证码 * @param uuid 唯一标识 diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPasswordService.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPasswordService.java index 41f6c3c..0f8f599 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPasswordService.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPasswordService.java @@ -15,8 +15,8 @@ import com.mcwl.framework.security.context.AuthenticationContextHolder; /** * 登录密码方法 - * - * @author ruoyi + * + * @author mcwl */ @Component public class SysPasswordService @@ -32,7 +32,7 @@ public class SysPasswordService /** * 登录账户密码错误次数缓存键名 - * + * * @param username 用户名 * @return 缓存键key */ diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPermissionService.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPermissionService.java index e856fc7..e1e05af 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPermissionService.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysPermissionService.java @@ -16,7 +16,7 @@ import com.mcwl.system.service.ISysRoleService; /** * 用户权限处理 * - * @author ruoyi + * @author mcwl */ @Component public class SysPermissionService diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysRegisterService.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysRegisterService.java index 12c27e5..f7445a8 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysRegisterService.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/SysRegisterService.java @@ -21,7 +21,7 @@ import com.mcwl.system.service.ISysUserService; /** * 注册校验方法 * - * @author ruoyi + * @author mcwl */ @Component public class SysRegisterService diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/TokenService.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/TokenService.java index 5216621..a36ec3f 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/TokenService.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/TokenService.java @@ -26,7 +26,7 @@ import io.jsonwebtoken.SignatureAlgorithm; /** * token验证处理 * - * @author ruoyi + * @author mcwl */ @Component public class TokenService diff --git a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/UserDetailsServiceImpl.java b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/UserDetailsServiceImpl.java index 6bd3927..3e3fd74 100644 --- a/mcwl-framework/src/main/java/com/mcwl/framework/web/service/UserDetailsServiceImpl.java +++ b/mcwl-framework/src/main/java/com/mcwl/framework/web/service/UserDetailsServiceImpl.java @@ -18,7 +18,7 @@ import com.mcwl.system.service.ISysUserService; /** * 用户验证处理 * - * @author ruoyi + * @author mcwl */ @Service public class UserDetailsServiceImpl implements UserDetailsService @@ -27,7 +27,7 @@ public class UserDetailsServiceImpl implements UserDetailsService @Autowired private ISysUserService userService; - + @Autowired private SysPasswordService passwordService; diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/config/GenConfig.java b/mcwl-generator/src/main/java/com/mcwl/generator/config/GenConfig.java index 20cbbd3..3a5c8a4 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/config/GenConfig.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/config/GenConfig.java @@ -7,8 +7,8 @@ import org.springframework.stereotype.Component; /** * 读取代码生成相关配置 - * - * @author ruoyi + * + * @author mcwl */ @Component @ConfigurationProperties(prefix = "gen") diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/controller/GenController.java b/mcwl-generator/src/main/java/com/mcwl/generator/controller/GenController.java index de5b11c..b325d3e 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/controller/GenController.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/controller/GenController.java @@ -39,7 +39,7 @@ import com.mcwl.generator.service.IGenTableService; /** * 代码生成 操作处理 * - * @author ruoyi + * @author mcwl */ @RestController @RequestMapping("/tool/gen") @@ -255,9 +255,9 @@ public class GenController extends BaseController response.reset(); response.addHeader("Access-Control-Allow-Origin", "*"); response.addHeader("Access-Control-Expose-Headers", "Content-Disposition"); - response.setHeader("Content-Disposition", "attachment; filename=\"ruoyi.zip\""); + response.setHeader("Content-Disposition", "attachment; filename=\"mcwl.zip\""); response.addHeader("Content-Length", "" + data.length); response.setContentType("application/octet-stream; charset=UTF-8"); IOUtils.write(data, response.getOutputStream()); } -} \ No newline at end of file +} diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTable.java b/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTable.java index d06b898..2adb331 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTable.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTable.java @@ -11,7 +11,7 @@ import com.mcwl.common.utils.StringUtils; /** * 业务表 gen_table * - * @author ruoyi + * @author mcwl */ public class GenTable extends BaseEntity { @@ -382,4 +382,4 @@ public class GenTable extends BaseEntity } return StringUtils.equalsAnyIgnoreCase(javaField, GenConstants.BASE_ENTITY); } -} \ No newline at end of file +} diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTableColumn.java b/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTableColumn.java index c11f491..cfb1174 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTableColumn.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/domain/GenTableColumn.java @@ -6,8 +6,8 @@ import com.mcwl.common.utils.StringUtils; /** * 代码生成业务字段表 gen_table_column - * - * @author ruoyi + * + * @author mcwl */ public class GenTableColumn extends BaseEntity { diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableColumnMapper.java b/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableColumnMapper.java index 49d0cf0..1841eb4 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableColumnMapper.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableColumnMapper.java @@ -5,14 +5,14 @@ import com.mcwl.generator.domain.GenTableColumn; /** * 业务字段 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface GenTableColumnMapper { /** * 根据表名称查询列信息 - * + * * @param tableName 表名称 * @return 列信息 */ @@ -20,7 +20,7 @@ public interface GenTableColumnMapper /** * 查询业务字段列表 - * + * * @param tableId 业务字段编号 * @return 业务字段集合 */ @@ -28,7 +28,7 @@ public interface GenTableColumnMapper /** * 新增业务字段 - * + * * @param genTableColumn 业务字段信息 * @return 结果 */ @@ -36,7 +36,7 @@ public interface GenTableColumnMapper /** * 修改业务字段 - * + * * @param genTableColumn 业务字段信息 * @return 结果 */ @@ -44,7 +44,7 @@ public interface GenTableColumnMapper /** * 删除业务字段 - * + * * @param genTableColumns 列数据 * @return 结果 */ @@ -52,7 +52,7 @@ public interface GenTableColumnMapper /** * 批量删除业务字段 - * + * * @param ids 需要删除的数据ID * @return 结果 */ diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableMapper.java b/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableMapper.java index 626ea24..9fcc23c 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableMapper.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/mapper/GenTableMapper.java @@ -5,14 +5,14 @@ import com.mcwl.generator.domain.GenTable; /** * 业务 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface GenTableMapper { /** * 查询业务列表 - * + * * @param genTable 业务信息 * @return 业务集合 */ @@ -20,7 +20,7 @@ public interface GenTableMapper /** * 查询据库列表 - * + * * @param genTable 业务信息 * @return 数据库表集合 */ @@ -28,7 +28,7 @@ public interface GenTableMapper /** * 查询据库列表 - * + * * @param tableNames 表名称组 * @return 数据库表集合 */ @@ -36,14 +36,14 @@ public interface GenTableMapper /** * 查询所有表信息 - * + * * @return 表信息集合 */ public List selectGenTableAll(); /** * 查询表ID业务信息 - * + * * @param id 业务ID * @return 业务信息 */ @@ -51,7 +51,7 @@ public interface GenTableMapper /** * 查询表名称业务信息 - * + * * @param tableName 表名称 * @return 业务信息 */ @@ -59,7 +59,7 @@ public interface GenTableMapper /** * 新增业务 - * + * * @param genTable 业务信息 * @return 结果 */ @@ -67,7 +67,7 @@ public interface GenTableMapper /** * 修改业务 - * + * * @param genTable 业务信息 * @return 结果 */ @@ -75,7 +75,7 @@ public interface GenTableMapper /** * 批量删除业务 - * + * * @param ids 需要删除的数据ID * @return 结果 */ diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableColumnServiceImpl.java b/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableColumnServiceImpl.java index 7df0b0c..4982576 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableColumnServiceImpl.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableColumnServiceImpl.java @@ -9,18 +9,18 @@ import com.mcwl.generator.mapper.GenTableColumnMapper; /** * 业务字段 服务层实现 - * - * @author ruoyi + * + * @author mcwl */ @Service -public class GenTableColumnServiceImpl implements IGenTableColumnService +public class GenTableColumnServiceImpl implements IGenTableColumnService { @Autowired private GenTableColumnMapper genTableColumnMapper; /** * 查询业务字段列表 - * + * * @param tableId 业务字段编号 * @return 业务字段集合 */ @@ -29,10 +29,10 @@ public class GenTableColumnServiceImpl implements IGenTableColumnService { return genTableColumnMapper.selectGenTableColumnListByTableId(tableId); } - + /** * 新增业务字段 - * + * * @param genTableColumn 业务字段信息 * @return 结果 */ @@ -41,10 +41,10 @@ public class GenTableColumnServiceImpl implements IGenTableColumnService { return genTableColumnMapper.insertGenTableColumn(genTableColumn); } - + /** * 修改业务字段 - * + * * @param genTableColumn 业务字段信息 * @return 结果 */ @@ -56,7 +56,7 @@ public class GenTableColumnServiceImpl implements IGenTableColumnService /** * 删除业务字段对象 - * + * * @param ids 需要删除的数据ID * @return 结果 */ diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableServiceImpl.java b/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableServiceImpl.java index c446298..3a30897 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableServiceImpl.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/service/GenTableServiceImpl.java @@ -38,8 +38,8 @@ import com.mcwl.generator.util.VelocityUtils; /** * 业务 服务层实现 - * - * @author ruoyi + * + * @author mcwl */ @Service public class GenTableServiceImpl implements IGenTableService @@ -54,7 +54,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 查询业务信息 - * + * * @param id 业务ID * @return 业务信息 */ @@ -68,7 +68,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 查询业务列表 - * + * * @param genTable 业务信息 * @return 业务集合 */ @@ -80,7 +80,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 查询据库列表 - * + * * @param genTable 业务信息 * @return 数据库表集合 */ @@ -92,7 +92,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 查询据库列表 - * + * * @param tableNames 表名称组 * @return 数据库表集合 */ @@ -104,7 +104,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 查询所有表信息 - * + * * @return 表信息集合 */ @Override @@ -115,7 +115,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 修改业务 - * + * * @param genTable 业务信息 * @return 结果 */ @@ -137,7 +137,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 删除业务对象 - * + * * @param tableIds 需要删除的数据ID * @return 结果 */ @@ -163,7 +163,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 导入表结构 - * + * * @param tableList 导入表列表 */ @Override @@ -197,7 +197,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 预览代码 - * + * * @param tableId 表编号 * @return 预览数据列表 */ @@ -230,7 +230,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 生成代码(下载方式) - * + * * @param tableName 表名称 * @return 数据 */ @@ -246,7 +246,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 生成代码(自定义路径) - * + * * @param tableName 表名称 */ @Override @@ -288,7 +288,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 同步数据库 - * + * * @param tableName 表名称 */ @Override @@ -343,7 +343,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 批量生成代码(下载方式) - * + * * @param tableNames 表数组 * @return 数据 */ @@ -402,7 +402,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 修改保存参数校验 - * + * * @param genTable 业务信息 */ @Override @@ -440,7 +440,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 设置主键列信息 - * + * * @param table 业务表信息 */ public void setPkColumn(GenTable table) @@ -476,7 +476,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 设置主子表信息 - * + * * @param table 业务表信息 */ public void setSubTable(GenTable table) @@ -490,7 +490,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 设置代码生成其他选项值 - * + * * @param genTable 设置后的生成对象 */ public void setTableFromOptions(GenTable genTable) @@ -514,7 +514,7 @@ public class GenTableServiceImpl implements IGenTableService /** * 获取代码生成地址 - * + * * @param table 业务表信息 * @param template 模板文件路径 * @return 生成地址 @@ -528,4 +528,4 @@ public class GenTableServiceImpl implements IGenTableService } return genPath + File.separator + VelocityUtils.getFileName(template, table); } -} \ No newline at end of file +} diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableColumnService.java b/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableColumnService.java index 49cbbae..68c6af2 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableColumnService.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableColumnService.java @@ -5,14 +5,14 @@ import com.mcwl.generator.domain.GenTableColumn; /** * 业务字段 服务层 - * - * @author ruoyi + * + * @author mcwl */ public interface IGenTableColumnService { /** * 查询业务字段列表 - * + * * @param tableId 业务字段编号 * @return 业务字段集合 */ @@ -20,7 +20,7 @@ public interface IGenTableColumnService /** * 新增业务字段 - * + * * @param genTableColumn 业务字段信息 * @return 结果 */ @@ -28,7 +28,7 @@ public interface IGenTableColumnService /** * 修改业务字段 - * + * * @param genTableColumn 业务字段信息 * @return 结果 */ @@ -36,7 +36,7 @@ public interface IGenTableColumnService /** * 删除业务字段信息 - * + * * @param ids 需要删除的数据ID * @return 结果 */ diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableService.java b/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableService.java index fe1de9c..441dbd1 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableService.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/service/IGenTableService.java @@ -6,14 +6,14 @@ import com.mcwl.generator.domain.GenTable; /** * 业务 服务层 - * - * @author ruoyi + * + * @author mcwl */ public interface IGenTableService { /** * 查询业务列表 - * + * * @param genTable 业务信息 * @return 业务集合 */ @@ -21,7 +21,7 @@ public interface IGenTableService /** * 查询据库列表 - * + * * @param genTable 业务信息 * @return 数据库表集合 */ @@ -29,7 +29,7 @@ public interface IGenTableService /** * 查询据库列表 - * + * * @param tableNames 表名称组 * @return 数据库表集合 */ @@ -37,14 +37,14 @@ public interface IGenTableService /** * 查询所有表信息 - * + * * @return 表信息集合 */ public List selectGenTableAll(); /** * 查询业务信息 - * + * * @param id 业务ID * @return 业务信息 */ @@ -52,7 +52,7 @@ public interface IGenTableService /** * 修改业务 - * + * * @param genTable 业务信息 * @return 结果 */ @@ -60,7 +60,7 @@ public interface IGenTableService /** * 删除业务信息 - * + * * @param tableIds 需要删除的表数据ID * @return 结果 */ @@ -84,7 +84,7 @@ public interface IGenTableService /** * 预览代码 - * + * * @param tableId 表编号 * @return 预览数据列表 */ @@ -92,7 +92,7 @@ public interface IGenTableService /** * 生成代码(下载方式) - * + * * @param tableName 表名称 * @return 数据 */ @@ -100,7 +100,7 @@ public interface IGenTableService /** * 生成代码(自定义路径) - * + * * @param tableName 表名称 * @return 数据 */ @@ -108,14 +108,14 @@ public interface IGenTableService /** * 同步数据库 - * + * * @param tableName 表名称 */ public void synchDb(String tableName); /** * 批量生成代码(下载方式) - * + * * @param tableNames 表数组 * @return 数据 */ @@ -123,7 +123,7 @@ public interface IGenTableService /** * 修改保存参数校验 - * + * * @param genTable 业务信息 */ public void validateEdit(GenTable genTable); diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/util/GenUtils.java b/mcwl-generator/src/main/java/com/mcwl/generator/util/GenUtils.java index 66997ea..7fdfe74 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/util/GenUtils.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/util/GenUtils.java @@ -10,8 +10,8 @@ import com.mcwl.generator.domain.GenTableColumn; /** * 代码生成器 工具类 - * - * @author ruoyi + * + * @author mcwl */ public class GenUtils { @@ -132,7 +132,7 @@ public class GenUtils /** * 校验数组是否包含指定值 - * + * * @param arr 数组 * @param targetValue 值 * @return 是否包含 @@ -144,7 +144,7 @@ public class GenUtils /** * 获取模块名 - * + * * @param packageName 包名 * @return 模块名 */ @@ -157,7 +157,7 @@ public class GenUtils /** * 获取业务名 - * + * * @param tableName 表名 * @return 业务名 */ @@ -170,7 +170,7 @@ public class GenUtils /** * 表名转换成Java类名 - * + * * @param tableName 表名称 * @return 类名 */ @@ -188,7 +188,7 @@ public class GenUtils /** * 批量替换前缀 - * + * * @param replacementm 替换值 * @param searchList 替换列表 * @return @@ -209,18 +209,18 @@ public class GenUtils /** * 关键字替换 - * + * * @param text 需要被替换的名字 * @return 替换后的名字 */ public static String replaceText(String text) { - return RegExUtils.replaceAll(text, "(?:表|若依)", ""); + return RegExUtils.replaceAll(text, "(?:表|魔创未来)", ""); } /** * 获取数据库类型字段 - * + * * @param columnType 列类型 * @return 截取后的列类型 */ @@ -238,7 +238,7 @@ public class GenUtils /** * 获取字段长度 - * + * * @param columnType 列类型 * @return 截取后的列类型 */ diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityInitializer.java b/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityInitializer.java index 656d501..0877de0 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityInitializer.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityInitializer.java @@ -6,8 +6,8 @@ import com.mcwl.common.constant.Constants; /** * VelocityEngine工厂 - * - * @author ruoyi + * + * @author mcwl */ public class VelocityInitializer { diff --git a/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityUtils.java b/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityUtils.java index be90d6a..cb702ac 100644 --- a/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityUtils.java +++ b/mcwl-generator/src/main/java/com/mcwl/generator/util/VelocityUtils.java @@ -16,7 +16,7 @@ import com.mcwl.generator.domain.GenTableColumn; /** * 模板处理工具类 * - * @author ruoyi + * @author mcwl */ public class VelocityUtils { diff --git a/mcwl-generator/src/main/resources/generator.yml b/mcwl-generator/src/main/resources/generator.yml index ad0d5a1..4645dd4 100644 --- a/mcwl-generator/src/main/resources/generator.yml +++ b/mcwl-generator/src/main/resources/generator.yml @@ -1,7 +1,7 @@ # 代码生成 gen: # 作者 - author: ruoyi + author: mcwl # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool packageName: com.mcwl.system # 自动去除表前缀,默认是false @@ -9,4 +9,4 @@ gen: # 表前缀(生成类名不会包含表前缀,多个用逗号分隔) tablePrefix: sys_ # 是否允许生成文件覆盖到本地(自定义路径),默认不允许 - allowOverwrite: false \ No newline at end of file + allowOverwrite: false diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/config/ScheduleConfig.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/config/ScheduleConfig.java index fbe1052..5619cbb 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/config/ScheduleConfig.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/config/ScheduleConfig.java @@ -8,8 +8,8 @@ // ///** // * 定时任务配置(单机部署建议删除此类和qrtz数据库表,默认走内存会最高效) -// * -// * @author ruoyi +// * +// * @author mcwl // */ //@Configuration //public class ScheduleConfig diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobController.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobController.java index ab0370b..a2b61d6 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobController.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobController.java @@ -29,8 +29,8 @@ import com.mcwl.quartz.util.ScheduleUtils; /** * 调度任务信息操作处理 - * - * @author ruoyi + * + * @author mcwl */ @RestController @RequestMapping("/monitor/job") diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobLogController.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobLogController.java index 57e2a74..78d74b7 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobLogController.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/controller/SysJobLogController.java @@ -22,7 +22,7 @@ import com.mcwl.quartz.service.ISysJobLogService; /** * 调度日志操作处理 * - * @author ruoyi + * @author mcwl */ @RestController @RequestMapping("/monitor/jobLog") diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJob.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJob.java index f57dd74..9a55fa1 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJob.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJob.java @@ -16,7 +16,7 @@ import com.mcwl.quartz.util.CronUtils; /** * 定时任务调度表 sys_job * - * @author ruoyi + * @author mcwl */ public class SysJob extends BaseEntity { diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJobLog.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJobLog.java index 0806460..5b8d443 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJobLog.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/domain/SysJobLog.java @@ -8,8 +8,8 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 定时任务调度日志表 sys_job_log - * - * @author ruoyi + * + * @author mcwl */ public class SysJobLog extends BaseEntity { @@ -128,7 +128,7 @@ public class SysJobLog extends BaseEntity { this.startTime = startTime; } - + public Date getStopTime() { return stopTime; diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobLogMapper.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobLogMapper.java index bb94f9a..eefe988 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobLogMapper.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobLogMapper.java @@ -5,14 +5,14 @@ import com.mcwl.quartz.domain.SysJobLog; /** * 调度任务日志信息 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysJobLogMapper { /** * 获取quartz调度器日志的计划任务 - * + * * @param jobLog 调度日志信息 * @return 调度任务日志集合 */ @@ -27,7 +27,7 @@ public interface SysJobLogMapper /** * 通过调度任务日志ID查询调度信息 - * + * * @param jobLogId 调度任务日志ID * @return 调度任务日志对象信息 */ @@ -35,7 +35,7 @@ public interface SysJobLogMapper /** * 新增任务日志 - * + * * @param jobLog 调度日志信息 * @return 结果 */ @@ -43,7 +43,7 @@ public interface SysJobLogMapper /** * 批量删除调度日志信息 - * + * * @param logIds 需要删除的数据ID * @return 结果 */ @@ -51,7 +51,7 @@ public interface SysJobLogMapper /** * 删除任务日志 - * + * * @param jobId 调度日志ID * @return 结果 */ diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobMapper.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobMapper.java index 9c35e33..3dbb389 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobMapper.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/mapper/SysJobMapper.java @@ -6,7 +6,7 @@ import com.mcwl.quartz.domain.SysJob; /** * 调度任务信息 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysJobMapper { diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobLogService.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobLogService.java index 08d8dce..367775c 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobLogService.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobLogService.java @@ -5,14 +5,14 @@ import com.mcwl.quartz.domain.SysJobLog; /** * 定时任务调度日志信息信息 服务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysJobLogService { /** * 获取quartz调度器日志的计划任务 - * + * * @param jobLog 调度日志信息 * @return 调度任务日志集合 */ @@ -20,7 +20,7 @@ public interface ISysJobLogService /** * 通过调度任务日志ID查询调度信息 - * + * * @param jobLogId 调度任务日志ID * @return 调度任务日志对象信息 */ @@ -28,14 +28,14 @@ public interface ISysJobLogService /** * 新增任务日志 - * + * * @param jobLog 调度日志信息 */ public void addJobLog(SysJobLog jobLog); /** * 批量删除调度日志信息 - * + * * @param logIds 需要删除的日志ID * @return 结果 */ @@ -43,7 +43,7 @@ public interface ISysJobLogService /** * 删除任务日志 - * + * * @param jobId 调度日志ID * @return 结果 */ diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobService.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobService.java index 7d2a1f0..b018cbf 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobService.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/ISysJobService.java @@ -7,14 +7,14 @@ import com.mcwl.quartz.domain.SysJob; /** * 定时任务调度信息信息 服务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysJobService { /** * 获取quartz调度器的计划任务 - * + * * @param job 调度信息 * @return 调度任务集合 */ @@ -22,7 +22,7 @@ public interface ISysJobService /** * 通过调度任务ID查询调度信息 - * + * * @param jobId 调度任务ID * @return 调度任务对象信息 */ @@ -30,7 +30,7 @@ public interface ISysJobService /** * 暂停任务 - * + * * @param job 调度信息 * @return 结果 */ @@ -38,7 +38,7 @@ public interface ISysJobService /** * 恢复任务 - * + * * @param job 调度信息 * @return 结果 */ @@ -46,7 +46,7 @@ public interface ISysJobService /** * 删除任务后,所对应的trigger也将被删除 - * + * * @param job 调度信息 * @return 结果 */ @@ -54,7 +54,7 @@ public interface ISysJobService /** * 批量删除调度信息 - * + * * @param jobIds 需要删除的任务ID * @return 结果 */ @@ -62,7 +62,7 @@ public interface ISysJobService /** * 任务调度状态修改 - * + * * @param job 调度信息 * @return 结果 */ @@ -70,7 +70,7 @@ public interface ISysJobService /** * 立即运行任务 - * + * * @param job 调度信息 * @return 结果 */ @@ -78,7 +78,7 @@ public interface ISysJobService /** * 新增任务 - * + * * @param job 调度信息 * @return 结果 */ @@ -86,7 +86,7 @@ public interface ISysJobService /** * 更新任务 - * + * * @param job 调度信息 * @return 结果 */ @@ -94,7 +94,7 @@ public interface ISysJobService /** * 校验cron表达式是否有效 - * + * * @param cronExpression 表达式 * @return 结果 */ diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobLogServiceImpl.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobLogServiceImpl.java index d96a506..da4548e 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobLogServiceImpl.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobLogServiceImpl.java @@ -9,8 +9,8 @@ import com.mcwl.quartz.service.ISysJobLogService; /** * 定时任务调度日志信息 服务层 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysJobLogServiceImpl implements ISysJobLogService @@ -20,7 +20,7 @@ public class SysJobLogServiceImpl implements ISysJobLogService /** * 获取quartz调度器日志的计划任务 - * + * * @param jobLog 调度日志信息 * @return 调度任务日志集合 */ @@ -32,7 +32,7 @@ public class SysJobLogServiceImpl implements ISysJobLogService /** * 通过调度任务日志ID查询调度信息 - * + * * @param jobLogId 调度任务日志ID * @return 调度任务日志对象信息 */ @@ -44,7 +44,7 @@ public class SysJobLogServiceImpl implements ISysJobLogService /** * 新增任务日志 - * + * * @param jobLog 调度日志信息 */ @Override @@ -55,7 +55,7 @@ public class SysJobLogServiceImpl implements ISysJobLogService /** * 批量删除调度日志信息 - * + * * @param logIds 需要删除的数据ID * @return 结果 */ @@ -67,7 +67,7 @@ public class SysJobLogServiceImpl implements ISysJobLogService /** * 删除任务日志 - * + * * @param jobId 调度日志ID */ @Override diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobServiceImpl.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobServiceImpl.java index c47fd8e..e60d7b2 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobServiceImpl.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/service/impl/SysJobServiceImpl.java @@ -19,8 +19,8 @@ import com.mcwl.quartz.util.ScheduleUtils; /** * 定时任务调度信息 服务层 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysJobServiceImpl implements ISysJobService @@ -47,7 +47,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 获取quartz调度器的计划任务列表 - * + * * @param job 调度信息 * @return */ @@ -59,7 +59,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 通过调度任务ID查询调度信息 - * + * * @param jobId 调度任务ID * @return 调度任务对象信息 */ @@ -71,7 +71,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 暂停任务 - * + * * @param job 调度信息 */ @Override @@ -91,7 +91,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 恢复任务 - * + * * @param job 调度信息 */ @Override @@ -111,7 +111,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 删除任务后,所对应的trigger也将被删除 - * + * * @param job 调度信息 */ @Override @@ -130,7 +130,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 批量删除调度信息 - * + * * @param jobIds 需要删除的任务ID * @return 结果 */ @@ -147,7 +147,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 任务调度状态修改 - * + * * @param job 调度信息 */ @Override @@ -169,7 +169,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 立即运行任务 - * + * * @param job 调度信息 */ @Override @@ -194,7 +194,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 新增任务 - * + * * @param job 调度信息 调度信息 */ @Override @@ -212,7 +212,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 更新任务的时间表达式 - * + * * @param job 调度信息 */ @Override @@ -230,7 +230,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 更新任务 - * + * * @param job 任务对象 * @param jobGroup 任务组名 */ @@ -249,7 +249,7 @@ public class SysJobServiceImpl implements ISysJobService /** * 校验cron表达式是否有效 - * + * * @param cronExpression 表达式 * @return 结果 */ diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/task/RyTask.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/task/RyTask.java index e0f5c9d..ac364ed 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/task/RyTask.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/task/RyTask.java @@ -5,8 +5,8 @@ import com.mcwl.common.utils.StringUtils; /** * 定时任务调度测试 - * - * @author ruoyi + * + * @author mcwl */ @Component("ryTask") public class RyTask diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/AbstractQuartzJob.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/AbstractQuartzJob.java index 60dbffc..baa2b3d 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/AbstractQuartzJob.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/AbstractQuartzJob.java @@ -19,7 +19,7 @@ import com.mcwl.quartz.service.ISysJobLogService; /** * 抽象quartz调用 * - * @author ruoyi + * @author mcwl */ public abstract class AbstractQuartzJob implements Job { diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/CronUtils.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/CronUtils.java index 3be19fe..1bb5852 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/CronUtils.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/CronUtils.java @@ -6,8 +6,8 @@ import org.quartz.CronExpression; /** * cron表达式工具类 - * - * @author ruoyi + * + * @author mcwl * */ public class CronUtils diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/JobInvokeUtil.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/JobInvokeUtil.java index 75dfa00..1fb50cb 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/JobInvokeUtil.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/JobInvokeUtil.java @@ -11,7 +11,7 @@ import com.mcwl.quartz.domain.SysJob; /** * 任务执行工具 * - * @author ruoyi + * @author mcwl */ public class JobInvokeUtil { @@ -64,7 +64,7 @@ public class JobInvokeUtil /** * 校验是否为为class包名 - * + * * @param invokeTarget 名称 * @return true是 false否 */ @@ -75,7 +75,7 @@ public class JobInvokeUtil /** * 获取bean名称 - * + * * @param invokeTarget 目标字符串 * @return bean名称 */ @@ -87,7 +87,7 @@ public class JobInvokeUtil /** * 获取bean方法 - * + * * @param invokeTarget 目标字符串 * @return method方法 */ @@ -99,7 +99,7 @@ public class JobInvokeUtil /** * 获取method方法参数相关列表 - * + * * @param invokeTarget 目标字符串 * @return method方法相关参数列表 */ @@ -146,7 +146,7 @@ public class JobInvokeUtil /** * 获取参数类型 - * + * * @param methodParams 参数相关列表 * @return 参数类型列表 */ @@ -164,7 +164,7 @@ public class JobInvokeUtil /** * 获取参数值 - * + * * @param methodParams 参数相关列表 * @return 参数值列表 */ diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzDisallowConcurrentExecution.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzDisallowConcurrentExecution.java index 7591d20..ca142b8 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzDisallowConcurrentExecution.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzDisallowConcurrentExecution.java @@ -7,7 +7,7 @@ import com.mcwl.quartz.domain.SysJob; /** * 定时任务处理(禁止并发执行) * - * @author ruoyi + * @author mcwl * */ @DisallowConcurrentExecution diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzJobExecution.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzJobExecution.java index 0e10860..f8cb98f 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzJobExecution.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/QuartzJobExecution.java @@ -5,8 +5,8 @@ import com.mcwl.quartz.domain.SysJob; /** * 定时任务处理(允许并发执行) - * - * @author ruoyi + * + * @author mcwl * */ public class QuartzJobExecution extends AbstractQuartzJob diff --git a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/ScheduleUtils.java b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/ScheduleUtils.java index b41c40a..1af5eeb 100644 --- a/mcwl-quartz/src/main/java/com/mcwl/quartz/util/ScheduleUtils.java +++ b/mcwl-quartz/src/main/java/com/mcwl/quartz/util/ScheduleUtils.java @@ -20,8 +20,8 @@ import com.mcwl.quartz.domain.SysJob; /** * 定时任务工具类 - * - * @author ruoyi + * + * @author mcwl * */ public class ScheduleUtils @@ -121,7 +121,7 @@ public class ScheduleUtils /** * 检查包名是否为白名单配置 - * + * * @param invokeTarget 目标字符串 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysCache.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysCache.java index 86716c5..7d36d7f 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysCache.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysCache.java @@ -4,8 +4,8 @@ import com.mcwl.common.utils.StringUtils; /** * 缓存信息 - * - * @author ruoyi + * + * @author mcwl */ public class SysCache { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysConfig.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysConfig.java index 5d5d285..050f409 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysConfig.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysConfig.java @@ -11,7 +11,7 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 参数配置表 sys_config * - * @author ruoyi + * @author mcwl */ public class SysConfig extends BaseEntity { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysLogininfor.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysLogininfor.java index f7688ed..9ea2b4c 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysLogininfor.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysLogininfor.java @@ -8,8 +8,8 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 系统访问记录表 sys_logininfor - * - * @author ruoyi + * + * @author mcwl */ public class SysLogininfor extends BaseEntity { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysNotice.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysNotice.java index a19279d..84f9cd8 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysNotice.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysNotice.java @@ -9,8 +9,8 @@ import com.mcwl.common.xss.Xss; /** * 通知公告表 sys_notice - * - * @author ruoyi + * + * @author mcwl */ public class SysNotice extends BaseEntity { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysOperLog.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysOperLog.java index b46ab44..e1da71a 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysOperLog.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysOperLog.java @@ -9,7 +9,7 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 操作日志记录表 oper_log * - * @author ruoyi + * @author mcwl */ public class SysOperLog extends BaseEntity { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysPost.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysPost.java index 85b6e12..1e43f63 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysPost.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysPost.java @@ -11,8 +11,8 @@ import com.mcwl.common.core.domain.BaseEntity; /** * 岗位表 sys_post - * - * @author ruoyi + * + * @author mcwl */ public class SysPost extends BaseEntity { @@ -105,7 +105,7 @@ public class SysPost extends BaseEntity { this.flag = flag; } - + @Override public String toString() { return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleDept.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleDept.java index 6903927..e8e2b81 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleDept.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleDept.java @@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** * 角色和部门关联 sys_role_dept * - * @author ruoyi + * @author mcwl */ public class SysRoleDept { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleMenu.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleMenu.java index 9796d08..682c7e3 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleMenu.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysRoleMenu.java @@ -5,14 +5,14 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** * 角色和菜单关联 sys_role_menu - * - * @author ruoyi + * + * @author mcwl */ public class SysRoleMenu { /** 角色ID */ private Long roleId; - + /** 菜单ID */ private Long menuId; diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserOnline.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserOnline.java index 98a8a5f..590201f 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserOnline.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserOnline.java @@ -2,8 +2,8 @@ package com.mcwl.system.domain; /** * 当前在线会话 - * - * @author ruoyi + * + * @author mcwl */ public class SysUserOnline { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserPost.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserPost.java index 9cf8e2f..72e2290 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserPost.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserPost.java @@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** * 用户和岗位关联 sys_user_post * - * @author ruoyi + * @author mcwl */ public class SysUserPost { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserRole.java b/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserRole.java index 5dc8a7b..9576501 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserRole.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/SysUserRole.java @@ -6,7 +6,7 @@ import org.apache.commons.lang3.builder.ToStringStyle; /** * 用户和角色关联 sys_user_role * - * @author ruoyi + * @author mcwl */ public class SysUserRole { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/vo/MetaVo.java b/mcwl-system/src/main/java/com/mcwl/system/domain/vo/MetaVo.java index f744e4a..7e28a9b 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/vo/MetaVo.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/vo/MetaVo.java @@ -5,7 +5,7 @@ import com.mcwl.common.utils.StringUtils; /** * 路由显示信息 * - * @author ruoyi + * @author mcwl */ public class MetaVo { diff --git a/mcwl-system/src/main/java/com/mcwl/system/domain/vo/RouterVo.java b/mcwl-system/src/main/java/com/mcwl/system/domain/vo/RouterVo.java index e4f2640..00b9314 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/domain/vo/RouterVo.java +++ b/mcwl-system/src/main/java/com/mcwl/system/domain/vo/RouterVo.java @@ -6,7 +6,7 @@ import java.util.List; /** * 路由配置信息 * - * @author ruoyi + * @author mcwl */ @JsonInclude(JsonInclude.Include.NON_EMPTY) public class RouterVo diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysConfigMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysConfigMapper.java index ff40998..0b349a1 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysConfigMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysConfigMapper.java @@ -5,14 +5,14 @@ import com.mcwl.system.domain.SysConfig; /** * 参数配置 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysConfigMapper { /** * 查询参数配置信息 - * + * * @param config 参数配置信息 * @return 参数配置信息 */ @@ -20,7 +20,7 @@ public interface SysConfigMapper /** * 通过ID查询配置 - * + * * @param configId 参数ID * @return 参数配置信息 */ @@ -28,7 +28,7 @@ public interface SysConfigMapper /** * 查询参数配置列表 - * + * * @param config 参数配置信息 * @return 参数配置集合 */ @@ -36,7 +36,7 @@ public interface SysConfigMapper /** * 根据键名查询参数配置信息 - * + * * @param configKey 参数键名 * @return 参数配置信息 */ @@ -44,7 +44,7 @@ public interface SysConfigMapper /** * 新增参数配置 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -52,7 +52,7 @@ public interface SysConfigMapper /** * 修改参数配置 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -60,7 +60,7 @@ public interface SysConfigMapper /** * 删除参数配置 - * + * * @param configId 参数ID * @return 结果 */ @@ -68,7 +68,7 @@ public interface SysConfigMapper /** * 批量删除参数信息 - * + * * @param configIds 需要删除的参数ID * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDeptMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDeptMapper.java index beb9380..7b2ffa3 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDeptMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDeptMapper.java @@ -7,7 +7,7 @@ import com.mcwl.common.core.domain.entity.SysDept; /** * 部门管理 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysDeptMapper { diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictDataMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictDataMapper.java index bb00046..43f5931 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictDataMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictDataMapper.java @@ -7,7 +7,7 @@ import com.mcwl.common.core.domain.entity.SysDictData; /** * 字典表 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysDictDataMapper { diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictTypeMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictTypeMapper.java index 67906ed..e5bf737 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictTypeMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysDictTypeMapper.java @@ -5,14 +5,14 @@ import com.mcwl.common.core.domain.entity.SysDictType; /** * 字典表 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysDictTypeMapper { /** * 根据条件分页查询字典类型 - * + * * @param dictType 字典类型信息 * @return 字典类型集合信息 */ @@ -20,14 +20,14 @@ public interface SysDictTypeMapper /** * 根据所有字典类型 - * + * * @return 字典类型集合信息 */ public List selectDictTypeAll(); /** * 根据字典类型ID查询信息 - * + * * @param dictId 字典类型ID * @return 字典类型 */ @@ -35,7 +35,7 @@ public interface SysDictTypeMapper /** * 根据字典类型查询信息 - * + * * @param dictType 字典类型 * @return 字典类型 */ @@ -43,7 +43,7 @@ public interface SysDictTypeMapper /** * 通过字典ID删除字典信息 - * + * * @param dictId 字典ID * @return 结果 */ @@ -51,7 +51,7 @@ public interface SysDictTypeMapper /** * 批量删除字典类型信息 - * + * * @param dictIds 需要删除的字典ID * @return 结果 */ @@ -59,7 +59,7 @@ public interface SysDictTypeMapper /** * 新增字典类型信息 - * + * * @param dictType 字典类型信息 * @return 结果 */ @@ -67,7 +67,7 @@ public interface SysDictTypeMapper /** * 修改字典类型信息 - * + * * @param dictType 字典类型信息 * @return 结果 */ @@ -75,7 +75,7 @@ public interface SysDictTypeMapper /** * 校验字典类型称是否唯一 - * + * * @param dictType 字典类型 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysLogininforMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysLogininforMapper.java index 0dd8d56..4dd2d4d 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysLogininforMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysLogininforMapper.java @@ -5,21 +5,21 @@ import com.mcwl.system.domain.SysLogininfor; /** * 系统访问日志情况信息 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysLogininforMapper { /** * 新增系统登录日志 - * + * * @param logininfor 访问日志对象 */ public void insertLogininfor(SysLogininfor logininfor); /** * 查询系统登录日志集合 - * + * * @param logininfor 访问日志对象 * @return 登录记录集合 */ @@ -27,7 +27,7 @@ public interface SysLogininforMapper /** * 批量删除系统登录日志 - * + * * @param infoIds 需要删除的登录日志ID * @return 结果 */ @@ -35,7 +35,7 @@ public interface SysLogininforMapper /** * 清空系统登录日志 - * + * * @return 结果 */ public int cleanLogininfor(); diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysMenuMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysMenuMapper.java index 5d5498d..ceda468 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysMenuMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysMenuMapper.java @@ -7,7 +7,7 @@ import com.mcwl.common.core.domain.entity.SysMenu; /** * 菜单表 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysMenuMapper { @@ -36,7 +36,7 @@ public interface SysMenuMapper /** * 根据角色ID查询权限 - * + * * @param roleId 角色ID * @return 权限列表 */ @@ -67,7 +67,7 @@ public interface SysMenuMapper /** * 根据角色ID查询菜单树信息 - * + * * @param roleId 角色ID * @param menuCheckStrictly 菜单树选择项是否关联显示 * @return 选中菜单列表 diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysNoticeMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysNoticeMapper.java index 2804944..31c3123 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysNoticeMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysNoticeMapper.java @@ -5,14 +5,14 @@ import com.mcwl.system.domain.SysNotice; /** * 通知公告表 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysNoticeMapper { /** * 查询公告信息 - * + * * @param noticeId 公告ID * @return 公告信息 */ @@ -20,7 +20,7 @@ public interface SysNoticeMapper /** * 查询公告列表 - * + * * @param notice 公告信息 * @return 公告集合 */ @@ -28,7 +28,7 @@ public interface SysNoticeMapper /** * 新增公告 - * + * * @param notice 公告信息 * @return 结果 */ @@ -36,7 +36,7 @@ public interface SysNoticeMapper /** * 修改公告 - * + * * @param notice 公告信息 * @return 结果 */ @@ -44,7 +44,7 @@ public interface SysNoticeMapper /** * 批量删除公告 - * + * * @param noticeId 公告ID * @return 结果 */ @@ -52,7 +52,7 @@ public interface SysNoticeMapper /** * 批量删除公告信息 - * + * * @param noticeIds 需要删除的公告ID * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysOperLogMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysOperLogMapper.java index 640effe..acd7cd9 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysOperLogMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysOperLogMapper.java @@ -5,21 +5,21 @@ import com.mcwl.system.domain.SysOperLog; /** * 操作日志 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysOperLogMapper { /** * 新增操作日志 - * + * * @param operLog 操作日志对象 */ public void insertOperlog(SysOperLog operLog); /** * 查询系统操作日志集合 - * + * * @param operLog 操作日志对象 * @return 操作日志集合 */ @@ -27,7 +27,7 @@ public interface SysOperLogMapper /** * 批量删除系统操作日志 - * + * * @param operIds 需要删除的操作日志ID * @return 结果 */ @@ -35,7 +35,7 @@ public interface SysOperLogMapper /** * 查询操作日志详细 - * + * * @param operId 操作ID * @return 操作日志对象 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysPostMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysPostMapper.java index fee1018..fef26ae 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysPostMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysPostMapper.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysPost; /** * 岗位信息 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysPostMapper { diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleDeptMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleDeptMapper.java index 330583b..c552c67 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleDeptMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleDeptMapper.java @@ -5,14 +5,14 @@ import com.mcwl.system.domain.SysRoleDept; /** * 角色与部门关联表 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysRoleDeptMapper { /** * 通过角色ID删除角色和部门关联 - * + * * @param roleId 角色ID * @return 结果 */ @@ -20,7 +20,7 @@ public interface SysRoleDeptMapper /** * 批量删除角色部门关联信息 - * + * * @param ids 需要删除的数据ID * @return 结果 */ @@ -28,7 +28,7 @@ public interface SysRoleDeptMapper /** * 查询部门使用数量 - * + * * @param deptId 部门ID * @return 结果 */ @@ -36,7 +36,7 @@ public interface SysRoleDeptMapper /** * 批量新增角色部门信息 - * + * * @param roleDeptList 角色部门列表 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMapper.java index 26b69ed..082a4f5 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMapper.java @@ -5,14 +5,14 @@ import com.mcwl.common.core.domain.entity.SysRole; /** * 角色表 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysRoleMapper { /** * 根据条件分页查询角色数据 - * + * * @param role 角色信息 * @return 角色数据集合信息 */ @@ -20,7 +20,7 @@ public interface SysRoleMapper /** * 根据用户ID查询角色 - * + * * @param userId 用户ID * @return 角色列表 */ @@ -28,14 +28,14 @@ public interface SysRoleMapper /** * 查询所有角色 - * + * * @return 角色列表 */ public List selectRoleAll(); /** * 根据用户ID获取角色选择框列表 - * + * * @param userId 用户ID * @return 选中角色ID列表 */ @@ -43,7 +43,7 @@ public interface SysRoleMapper /** * 通过角色ID查询角色 - * + * * @param roleId 角色ID * @return 角色对象信息 */ @@ -51,7 +51,7 @@ public interface SysRoleMapper /** * 根据用户ID查询角色 - * + * * @param userName 用户名 * @return 角色列表 */ @@ -59,7 +59,7 @@ public interface SysRoleMapper /** * 校验角色名称是否唯一 - * + * * @param roleName 角色名称 * @return 角色信息 */ @@ -67,7 +67,7 @@ public interface SysRoleMapper /** * 校验角色权限是否唯一 - * + * * @param roleKey 角色权限 * @return 角色信息 */ @@ -75,7 +75,7 @@ public interface SysRoleMapper /** * 修改角色信息 - * + * * @param role 角色信息 * @return 结果 */ @@ -83,7 +83,7 @@ public interface SysRoleMapper /** * 新增角色信息 - * + * * @param role 角色信息 * @return 结果 */ @@ -91,7 +91,7 @@ public interface SysRoleMapper /** * 通过角色ID删除角色 - * + * * @param roleId 角色ID * @return 结果 */ @@ -99,7 +99,7 @@ public interface SysRoleMapper /** * 批量删除角色信息 - * + * * @param roleIds 需要删除的角色ID * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMenuMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMenuMapper.java index 90c2a2d..6528ac4 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMenuMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysRoleMenuMapper.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysRoleMenu; /** * 角色与菜单关联表 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysRoleMenuMapper { diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserMapper.java index d2289da..eff16f6 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserMapper.java @@ -6,14 +6,14 @@ import com.mcwl.common.core.domain.entity.SysUser; /** * 用户表 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysUserMapper { /** * 根据条件分页查询用户列表 - * + * * @param sysUser 用户信息 * @return 用户信息集合信息 */ @@ -21,7 +21,7 @@ public interface SysUserMapper /** * 根据条件分页查询已配用户角色列表 - * + * * @param user 用户信息 * @return 用户信息集合信息 */ @@ -29,7 +29,7 @@ public interface SysUserMapper /** * 根据条件分页查询未分配用户角色列表 - * + * * @param user 用户信息 * @return 用户信息集合信息 */ @@ -37,7 +37,7 @@ public interface SysUserMapper /** * 通过用户名查询用户 - * + * * @param userName 用户名 * @return 用户对象信息 */ @@ -45,7 +45,7 @@ public interface SysUserMapper /** * 通过用户ID查询用户 - * + * * @param userId 用户ID * @return 用户对象信息 */ @@ -53,7 +53,7 @@ public interface SysUserMapper /** * 新增用户信息 - * + * * @param user 用户信息 * @return 结果 */ @@ -61,7 +61,7 @@ public interface SysUserMapper /** * 修改用户信息 - * + * * @param user 用户信息 * @return 结果 */ @@ -69,7 +69,7 @@ public interface SysUserMapper /** * 修改用户头像 - * + * * @param userName 用户名 * @param avatar 头像地址 * @return 结果 @@ -78,7 +78,7 @@ public interface SysUserMapper /** * 重置用户密码 - * + * * @param userName 用户名 * @param password 密码 * @return 结果 @@ -87,7 +87,7 @@ public interface SysUserMapper /** * 通过用户ID删除用户 - * + * * @param userId 用户ID * @return 结果 */ @@ -95,7 +95,7 @@ public interface SysUserMapper /** * 批量删除用户信息 - * + * * @param userIds 需要删除的用户ID * @return 结果 */ @@ -103,7 +103,7 @@ public interface SysUserMapper /** * 校验用户名称是否唯一 - * + * * @param userName 用户名称 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserPostMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserPostMapper.java index f13d7c7..4a4f82b 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserPostMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserPostMapper.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysUserPost; /** * 用户与岗位关联表 数据层 * - * @author ruoyi + * @author mcwl */ public interface SysUserPostMapper { diff --git a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserRoleMapper.java b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserRoleMapper.java index 6da02be..18d4678 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserRoleMapper.java +++ b/mcwl-system/src/main/java/com/mcwl/system/mapper/SysUserRoleMapper.java @@ -6,14 +6,14 @@ import com.mcwl.system.domain.SysUserRole; /** * 用户与角色关联表 数据层 - * - * @author ruoyi + * + * @author mcwl */ public interface SysUserRoleMapper { /** * 通过用户ID删除用户和角色关联 - * + * * @param userId 用户ID * @return 结果 */ @@ -21,7 +21,7 @@ public interface SysUserRoleMapper /** * 批量删除用户和角色关联 - * + * * @param ids 需要删除的数据ID * @return 结果 */ @@ -29,7 +29,7 @@ public interface SysUserRoleMapper /** * 通过角色ID查询角色使用数量 - * + * * @param roleId 角色ID * @return 结果 */ @@ -37,7 +37,7 @@ public interface SysUserRoleMapper /** * 批量新增用户角色信息 - * + * * @param userRoleList 用户角色列表 * @return 结果 */ @@ -45,7 +45,7 @@ public interface SysUserRoleMapper /** * 删除用户和角色关联信息 - * + * * @param userRole 用户和角色关联信息 * @return 结果 */ @@ -53,7 +53,7 @@ public interface SysUserRoleMapper /** * 批量取消授权用户角色 - * + * * @param roleId 角色ID * @param userIds 需要删除的用户数据ID * @return 结果 diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysConfigService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysConfigService.java index cc18561..c1ebc5c 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysConfigService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysConfigService.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysConfig; /** * 参数配置 服务层 * - * @author ruoyi + * @author mcwl */ public interface ISysConfigService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysDeptService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysDeptService.java index 98fc288..c607308 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysDeptService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysDeptService.java @@ -6,14 +6,14 @@ import com.mcwl.common.core.domain.entity.SysDept; /** * 部门管理 服务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysDeptService { /** * 查询部门管理数据 - * + * * @param dept 部门信息 * @return 部门信息集合 */ @@ -21,7 +21,7 @@ public interface ISysDeptService /** * 查询部门树结构信息 - * + * * @param dept 部门信息 * @return 部门树信息集合 */ @@ -29,7 +29,7 @@ public interface ISysDeptService /** * 构建前端所需要树结构 - * + * * @param depts 部门列表 * @return 树结构列表 */ @@ -37,7 +37,7 @@ public interface ISysDeptService /** * 构建前端所需要下拉树结构 - * + * * @param depts 部门列表 * @return 下拉树结构列表 */ @@ -45,7 +45,7 @@ public interface ISysDeptService /** * 根据角色ID查询部门树信息 - * + * * @param roleId 角色ID * @return 选中部门列表 */ @@ -53,7 +53,7 @@ public interface ISysDeptService /** * 根据部门ID查询信息 - * + * * @param deptId 部门ID * @return 部门信息 */ @@ -61,7 +61,7 @@ public interface ISysDeptService /** * 根据ID查询所有子部门(正常状态) - * + * * @param deptId 部门ID * @return 子部门数 */ @@ -69,7 +69,7 @@ public interface ISysDeptService /** * 是否存在部门子节点 - * + * * @param deptId 部门ID * @return 结果 */ @@ -77,7 +77,7 @@ public interface ISysDeptService /** * 查询部门是否存在用户 - * + * * @param deptId 部门ID * @return 结果 true 存在 false 不存在 */ @@ -85,7 +85,7 @@ public interface ISysDeptService /** * 校验部门名称是否唯一 - * + * * @param dept 部门信息 * @return 结果 */ @@ -93,14 +93,14 @@ public interface ISysDeptService /** * 校验部门是否有数据权限 - * + * * @param deptId 部门id */ public void checkDeptDataScope(Long deptId); /** * 新增保存部门信息 - * + * * @param dept 部门信息 * @return 结果 */ @@ -108,7 +108,7 @@ public interface ISysDeptService /** * 修改保存部门信息 - * + * * @param dept 部门信息 * @return 结果 */ @@ -116,7 +116,7 @@ public interface ISysDeptService /** * 删除部门管理信息 - * + * * @param deptId 部门ID * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictDataService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictDataService.java index 1e7908a..d632267 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictDataService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictDataService.java @@ -5,14 +5,14 @@ import com.mcwl.common.core.domain.entity.SysDictData; /** * 字典 业务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysDictDataService { /** * 根据条件分页查询字典数据 - * + * * @param dictData 字典数据信息 * @return 字典数据集合信息 */ @@ -20,7 +20,7 @@ public interface ISysDictDataService /** * 根据字典类型和字典键值查询字典数据信息 - * + * * @param dictType 字典类型 * @param dictValue 字典键值 * @return 字典标签 @@ -29,7 +29,7 @@ public interface ISysDictDataService /** * 根据字典数据ID查询信息 - * + * * @param dictCode 字典数据ID * @return 字典数据 */ @@ -37,14 +37,14 @@ public interface ISysDictDataService /** * 批量删除字典数据信息 - * + * * @param dictCodes 需要删除的字典数据ID */ public void deleteDictDataByIds(Long[] dictCodes); /** * 新增保存字典数据信息 - * + * * @param dictData 字典数据信息 * @return 结果 */ @@ -52,7 +52,7 @@ public interface ISysDictDataService /** * 修改保存字典数据信息 - * + * * @param dictData 字典数据信息 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictTypeService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictTypeService.java index e7f54e4..9f8d536 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictTypeService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysDictTypeService.java @@ -6,14 +6,14 @@ import com.mcwl.common.core.domain.entity.SysDictType; /** * 字典 业务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysDictTypeService { /** * 根据条件分页查询字典类型 - * + * * @param dictType 字典类型信息 * @return 字典类型集合信息 */ @@ -21,14 +21,14 @@ public interface ISysDictTypeService /** * 根据所有字典类型 - * + * * @return 字典类型集合信息 */ public List selectDictTypeAll(); /** * 根据字典类型查询字典数据 - * + * * @param dictType 字典类型 * @return 字典数据集合信息 */ @@ -36,7 +36,7 @@ public interface ISysDictTypeService /** * 根据字典类型ID查询信息 - * + * * @param dictId 字典类型ID * @return 字典类型 */ @@ -44,7 +44,7 @@ public interface ISysDictTypeService /** * 根据字典类型查询信息 - * + * * @param dictType 字典类型 * @return 字典类型 */ @@ -52,7 +52,7 @@ public interface ISysDictTypeService /** * 批量删除字典信息 - * + * * @param dictIds 需要删除的字典ID */ public void deleteDictTypeByIds(Long[] dictIds); @@ -74,7 +74,7 @@ public interface ISysDictTypeService /** * 新增保存字典类型信息 - * + * * @param dictType 字典类型信息 * @return 结果 */ @@ -82,7 +82,7 @@ public interface ISysDictTypeService /** * 修改保存字典类型信息 - * + * * @param dictType 字典类型信息 * @return 结果 */ @@ -90,7 +90,7 @@ public interface ISysDictTypeService /** * 校验字典类型称是否唯一 - * + * * @param dictType 字典类型 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysLogininforService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysLogininforService.java index c2258aa..1de2e8d 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysLogininforService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysLogininforService.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysLogininfor; /** * 系统访问日志情况信息 服务层 * - * @author ruoyi + * @author mcwl */ public interface ISysLogininforService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysMenuService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysMenuService.java index a0ca3f6..319095f 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysMenuService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysMenuService.java @@ -9,7 +9,7 @@ import com.mcwl.system.domain.vo.RouterVo; /** * 菜单 业务层 * - * @author ruoyi + * @author mcwl */ public interface ISysMenuService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysNoticeService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysNoticeService.java index ec2a9e2..a4adf6c 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysNoticeService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysNoticeService.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysNotice; /** * 公告 服务层 * - * @author ruoyi + * @author mcwl */ public interface ISysNoticeService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysOperLogService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysOperLogService.java index 1074511..335f6f4 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysOperLogService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysOperLogService.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysOperLog; /** * 操作日志 服务层 * - * @author ruoyi + * @author mcwl */ public interface ISysOperLogService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysPostService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysPostService.java index 1a75cea..5a1277d 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysPostService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysPostService.java @@ -6,7 +6,7 @@ import com.mcwl.system.domain.SysPost; /** * 岗位信息 服务层 * - * @author ruoyi + * @author mcwl */ public interface ISysPostService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysRoleService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysRoleService.java index 4e3dbd5..4e20c7e 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysRoleService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysRoleService.java @@ -7,14 +7,14 @@ import com.mcwl.system.domain.SysUserRole; /** * 角色业务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysRoleService { /** * 根据条件分页查询角色数据 - * + * * @param role 角色信息 * @return 角色数据集合信息 */ @@ -22,7 +22,7 @@ public interface ISysRoleService /** * 根据用户ID查询角色列表 - * + * * @param userId 用户ID * @return 角色列表 */ @@ -30,7 +30,7 @@ public interface ISysRoleService /** * 根据用户ID查询角色权限 - * + * * @param userId 用户ID * @return 权限列表 */ @@ -38,14 +38,14 @@ public interface ISysRoleService /** * 查询所有角色 - * + * * @return 角色列表 */ public List selectRoleAll(); /** * 根据用户ID获取角色选择框列表 - * + * * @param userId 用户ID * @return 选中角色ID列表 */ @@ -53,7 +53,7 @@ public interface ISysRoleService /** * 通过角色ID查询角色 - * + * * @param roleId 角色ID * @return 角色对象信息 */ @@ -61,7 +61,7 @@ public interface ISysRoleService /** * 校验角色名称是否唯一 - * + * * @param role 角色信息 * @return 结果 */ @@ -69,7 +69,7 @@ public interface ISysRoleService /** * 校验角色权限是否唯一 - * + * * @param role 角色信息 * @return 结果 */ @@ -77,21 +77,21 @@ public interface ISysRoleService /** * 校验角色是否允许操作 - * + * * @param role 角色信息 */ public void checkRoleAllowed(SysRole role); /** * 校验角色是否有数据权限 - * + * * @param roleIds 角色id */ public void checkRoleDataScope(Long... roleIds); /** * 通过角色ID查询角色使用数量 - * + * * @param roleId 角色ID * @return 结果 */ @@ -99,7 +99,7 @@ public interface ISysRoleService /** * 新增保存角色信息 - * + * * @param role 角色信息 * @return 结果 */ @@ -107,7 +107,7 @@ public interface ISysRoleService /** * 修改保存角色信息 - * + * * @param role 角色信息 * @return 结果 */ @@ -115,7 +115,7 @@ public interface ISysRoleService /** * 修改角色状态 - * + * * @param role 角色信息 * @return 结果 */ @@ -123,7 +123,7 @@ public interface ISysRoleService /** * 修改数据权限信息 - * + * * @param role 角色信息 * @return 结果 */ @@ -131,7 +131,7 @@ public interface ISysRoleService /** * 通过角色ID删除角色 - * + * * @param roleId 角色ID * @return 结果 */ @@ -139,7 +139,7 @@ public interface ISysRoleService /** * 批量删除角色信息 - * + * * @param roleIds 需要删除的角色ID * @return 结果 */ @@ -147,7 +147,7 @@ public interface ISysRoleService /** * 取消授权用户角色 - * + * * @param userRole 用户和角色关联信息 * @return 结果 */ @@ -155,7 +155,7 @@ public interface ISysRoleService /** * 批量取消授权用户角色 - * + * * @param roleId 角色ID * @param userIds 需要取消授权的用户数据ID * @return 结果 @@ -164,7 +164,7 @@ public interface ISysRoleService /** * 批量选择授权用户角色 - * + * * @param roleId 角色ID * @param userIds 需要删除的用户数据ID * @return 结果 diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserOnlineService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserOnlineService.java index 1aae4bc..2873836 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserOnlineService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserOnlineService.java @@ -5,14 +5,14 @@ import com.mcwl.system.domain.SysUserOnline; /** * 在线用户 服务层 - * - * @author ruoyi + * + * @author mcwl */ public interface ISysUserOnlineService { /** * 通过登录地址查询信息 - * + * * @param ipaddr 登录地址 * @param user 用户信息 * @return 在线用户信息 @@ -21,7 +21,7 @@ public interface ISysUserOnlineService /** * 通过用户名称查询信息 - * + * * @param userName 用户名称 * @param user 用户信息 * @return 在线用户信息 @@ -30,7 +30,7 @@ public interface ISysUserOnlineService /** * 通过登录地址/用户名称查询信息 - * + * * @param ipaddr 登录地址 * @param userName 用户名称 * @param user 用户信息 @@ -40,7 +40,7 @@ public interface ISysUserOnlineService /** * 设置在线用户信息 - * + * * @param user 用户信息 * @return 在线用户 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserService.java b/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserService.java index 064e555..a0aee0f 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserService.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/ISysUserService.java @@ -6,7 +6,7 @@ import com.mcwl.common.core.domain.entity.SysUser; /** * 用户 业务层 * - * @author ruoyi + * @author mcwl */ public interface ISysUserService { diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysConfigServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysConfigServiceImpl.java index 713a0de..908f658 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysConfigServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysConfigServiceImpl.java @@ -19,8 +19,8 @@ import com.mcwl.system.service.ISysConfigService; /** * 参数配置 服务层实现 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysConfigServiceImpl implements ISysConfigService @@ -42,7 +42,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 查询参数配置信息 - * + * * @param configId 参数配置ID * @return 参数配置信息 */ @@ -57,7 +57,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 根据键名查询参数配置信息 - * + * * @param configKey 参数key * @return 参数键值 */ @@ -82,7 +82,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 获取验证码开关 - * + * * @return true开启,false关闭 */ @Override @@ -98,7 +98,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 查询参数配置列表 - * + * * @param config 参数配置信息 * @return 参数配置集合 */ @@ -110,7 +110,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 新增参数配置 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -127,7 +127,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 修改参数配置 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -150,7 +150,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 批量删除参数信息 - * + * * @param configIds 需要删除的参数ID */ @Override @@ -203,7 +203,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 校验参数键名是否唯一 - * + * * @param config 参数配置信息 * @return 结果 */ @@ -221,7 +221,7 @@ public class SysConfigServiceImpl implements ISysConfigService /** * 设置cache key - * + * * @param configKey 参数键 * @return 缓存键key */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDeptServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDeptServiceImpl.java index fe1c632..45f274f 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDeptServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDeptServiceImpl.java @@ -24,7 +24,7 @@ import com.mcwl.system.service.ISysDeptService; /** * 部门管理 服务实现 * - * @author ruoyi + * @author mcwl */ @Service public class SysDeptServiceImpl implements ISysDeptService diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictDataServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictDataServiceImpl.java index 9feff9c..d492aee 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictDataServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictDataServiceImpl.java @@ -10,8 +10,8 @@ import com.mcwl.system.service.ISysDictDataService; /** * 字典 业务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysDictDataServiceImpl implements ISysDictDataService @@ -21,7 +21,7 @@ public class SysDictDataServiceImpl implements ISysDictDataService /** * 根据条件分页查询字典数据 - * + * * @param dictData 字典数据信息 * @return 字典数据集合信息 */ @@ -33,7 +33,7 @@ public class SysDictDataServiceImpl implements ISysDictDataService /** * 根据字典类型和字典键值查询字典数据信息 - * + * * @param dictType 字典类型 * @param dictValue 字典键值 * @return 字典标签 @@ -46,7 +46,7 @@ public class SysDictDataServiceImpl implements ISysDictDataService /** * 根据字典数据ID查询信息 - * + * * @param dictCode 字典数据ID * @return 字典数据 */ @@ -58,7 +58,7 @@ public class SysDictDataServiceImpl implements ISysDictDataService /** * 批量删除字典数据信息 - * + * * @param dictCodes 需要删除的字典数据ID */ @Override @@ -75,7 +75,7 @@ public class SysDictDataServiceImpl implements ISysDictDataService /** * 新增保存字典数据信息 - * + * * @param data 字典数据信息 * @return 结果 */ @@ -93,7 +93,7 @@ public class SysDictDataServiceImpl implements ISysDictDataService /** * 修改保存字典数据信息 - * + * * @param data 字典数据信息 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictTypeServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictTypeServiceImpl.java index 5faf822..4878d38 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictTypeServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysDictTypeServiceImpl.java @@ -21,7 +21,7 @@ import com.mcwl.system.service.ISysDictTypeService; /** * 字典 业务层处理 * - * @author ruoyi + * @author mcwl */ @Service public class SysDictTypeServiceImpl implements ISysDictTypeService diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysLogininforServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysLogininforServiceImpl.java index 327f1ca..5aa7d04 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysLogininforServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysLogininforServiceImpl.java @@ -9,8 +9,8 @@ import com.mcwl.system.service.ISysLogininforService; /** * 系统访问日志情况信息 服务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysLogininforServiceImpl implements ISysLogininforService @@ -21,7 +21,7 @@ public class SysLogininforServiceImpl implements ISysLogininforService /** * 新增系统登录日志 - * + * * @param logininfor 访问日志对象 */ @Override @@ -32,7 +32,7 @@ public class SysLogininforServiceImpl implements ISysLogininforService /** * 查询系统登录日志集合 - * + * * @param logininfor 访问日志对象 * @return 登录记录集合 */ @@ -44,7 +44,7 @@ public class SysLogininforServiceImpl implements ISysLogininforService /** * 批量删除系统登录日志 - * + * * @param infoIds 需要删除的登录日志ID * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysMenuServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysMenuServiceImpl.java index b6fc50a..fc2598a 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysMenuServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysMenuServiceImpl.java @@ -27,8 +27,8 @@ import com.mcwl.system.service.ISysMenuService; /** * 菜单 业务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysMenuServiceImpl implements ISysMenuService @@ -46,7 +46,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据用户查询系统菜单列表 - * + * * @param userId 用户ID * @return 菜单列表 */ @@ -58,7 +58,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 查询系统菜单列表 - * + * * @param menu 菜单信息 * @return 菜单列表 */ @@ -81,7 +81,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据用户ID查询权限 - * + * * @param userId 用户ID * @return 权限列表 */ @@ -102,7 +102,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据角色ID查询权限 - * + * * @param roleId 角色ID * @return 权限列表 */ @@ -123,7 +123,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据用户ID查询菜单 - * + * * @param userId 用户名称 * @return 菜单列表 */ @@ -144,7 +144,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据角色ID查询菜单树信息 - * + * * @param roleId 角色ID * @return 选中菜单列表 */ @@ -157,7 +157,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 构建前端路由所需要的菜单 - * + * * @param menus 菜单列表 * @return 路由列表 */ @@ -215,7 +215,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 构建前端所需要树结构 - * + * * @param menus 菜单列表 * @return 树结构列表 */ @@ -243,7 +243,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 构建前端所需要下拉树结构 - * + * * @param menus 菜单列表 * @return 下拉树结构列表 */ @@ -256,7 +256,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据菜单ID查询信息 - * + * * @param menuId 菜单ID * @return 菜单信息 */ @@ -268,7 +268,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 是否存在菜单子节点 - * + * * @param menuId 菜单ID * @return 结果 */ @@ -281,7 +281,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 查询菜单使用数量 - * + * * @param menuId 菜单ID * @return 结果 */ @@ -294,7 +294,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 新增保存菜单信息 - * + * * @param menu 菜单信息 * @return 结果 */ @@ -306,7 +306,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 修改保存菜单信息 - * + * * @param menu 菜单信息 * @return 结果 */ @@ -318,7 +318,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 删除菜单管理信息 - * + * * @param menuId 菜单ID * @return 结果 */ @@ -330,7 +330,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 校验菜单名称是否唯一 - * + * * @param menu 菜单信息 * @return 结果 */ @@ -348,7 +348,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 获取路由名称 - * + * * @param menu 菜单信息 * @return 路由名称 */ @@ -364,7 +364,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 获取路由名称,如没有配置路由名称则取路由地址 - * + * * @param routerName 路由名称 * @param path 路由地址 * @return 路由名称(驼峰格式) @@ -377,7 +377,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 获取路由地址 - * + * * @param menu 菜单信息 * @return 路由地址 */ @@ -405,7 +405,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 获取组件信息 - * + * * @param menu 菜单信息 * @return 组件信息 */ @@ -429,7 +429,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 是否为菜单内部跳转 - * + * * @param menu 菜单信息 * @return 结果 */ @@ -441,7 +441,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 是否为内链组件 - * + * * @param menu 菜单信息 * @return 结果 */ @@ -452,7 +452,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 是否为parent_view组件 - * + * * @param menu 菜单信息 * @return 结果 */ @@ -463,7 +463,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 根据父节点的ID获取所有子节点 - * + * * @param list 分类表 * @param parentId 传入的父节点ID * @return String @@ -486,7 +486,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 递归列表 - * + * * @param list 分类表 * @param t 子节点 */ @@ -532,7 +532,7 @@ public class SysMenuServiceImpl implements ISysMenuService /** * 内链域名特殊字符替换 - * + * * @return 替换后的内链域名 */ public String innerLinkReplaceEach(String path) diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysNoticeServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysNoticeServiceImpl.java index eab1bc4..72f80bf 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysNoticeServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysNoticeServiceImpl.java @@ -10,7 +10,7 @@ import com.mcwl.system.service.ISysNoticeService; /** * 公告 服务层实现 * - * @author ruoyi + * @author mcwl */ @Service public class SysNoticeServiceImpl implements ISysNoticeService diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysOperLogServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysOperLogServiceImpl.java index 2091093..4c2e48f 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysOperLogServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysOperLogServiceImpl.java @@ -9,8 +9,8 @@ import com.mcwl.system.service.ISysOperLogService; /** * 操作日志 服务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysOperLogServiceImpl implements ISysOperLogService @@ -20,7 +20,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService /** * 新增操作日志 - * + * * @param operLog 操作日志对象 */ @Override @@ -31,7 +31,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService /** * 查询系统操作日志集合 - * + * * @param operLog 操作日志对象 * @return 操作日志集合 */ @@ -43,7 +43,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService /** * 批量删除系统操作日志 - * + * * @param operIds 需要删除的操作日志ID * @return 结果 */ @@ -55,7 +55,7 @@ public class SysOperLogServiceImpl implements ISysOperLogService /** * 查询操作日志详细 - * + * * @param operId 操作ID * @return 操作日志对象 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysPostServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysPostServiceImpl.java index 2587947..c528984 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysPostServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysPostServiceImpl.java @@ -13,8 +13,8 @@ import com.mcwl.system.service.ISysPostService; /** * 岗位信息 服务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysPostServiceImpl implements ISysPostService @@ -27,7 +27,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 查询岗位信息集合 - * + * * @param post 岗位信息 * @return 岗位信息集合 */ @@ -39,7 +39,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 查询所有岗位 - * + * * @return 岗位列表 */ @Override @@ -50,7 +50,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 通过岗位ID查询岗位信息 - * + * * @param postId 岗位ID * @return 角色对象信息 */ @@ -62,7 +62,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 根据用户ID获取岗位选择框列表 - * + * * @param userId 用户ID * @return 选中岗位ID列表 */ @@ -74,7 +74,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 校验岗位名称是否唯一 - * + * * @param post 岗位信息 * @return 结果 */ @@ -92,7 +92,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 校验岗位编码是否唯一 - * + * * @param post 岗位信息 * @return 结果 */ @@ -110,7 +110,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 通过岗位ID查询岗位使用数量 - * + * * @param postId 岗位ID * @return 结果 */ @@ -122,7 +122,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 删除岗位信息 - * + * * @param postId 岗位ID * @return 结果 */ @@ -134,7 +134,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 批量删除岗位信息 - * + * * @param postIds 需要删除的岗位ID * @return 结果 */ @@ -154,7 +154,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 新增保存岗位信息 - * + * * @param post 岗位信息 * @return 结果 */ @@ -166,7 +166,7 @@ public class SysPostServiceImpl implements ISysPostService /** * 修改保存岗位信息 - * + * * @param post 岗位信息 * @return 结果 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysRoleServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysRoleServiceImpl.java index 5882de6..9fc510e 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysRoleServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysRoleServiceImpl.java @@ -28,7 +28,7 @@ import com.mcwl.system.service.ISysRoleService; /** * 角色 业务层处理 * - * @author ruoyi + * @author mcwl */ @Service public class SysRoleServiceImpl implements ISysRoleService diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserOnlineServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserOnlineServiceImpl.java index 9285988..c81d91a 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserOnlineServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserOnlineServiceImpl.java @@ -8,15 +8,15 @@ import com.mcwl.system.service.ISysUserOnlineService; /** * 在线用户 服务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysUserOnlineServiceImpl implements ISysUserOnlineService { /** * 通过登录地址查询信息 - * + * * @param ipaddr 登录地址 * @param user 用户信息 * @return 在线用户信息 @@ -33,7 +33,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService /** * 通过用户名称查询信息 - * + * * @param userName 用户名称 * @param user 用户信息 * @return 在线用户信息 @@ -50,7 +50,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService /** * 通过登录地址/用户名称查询信息 - * + * * @param ipaddr 登录地址 * @param userName 用户名称 * @param user 用户信息 @@ -68,7 +68,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService /** * 设置在线用户信息 - * + * * @param user 用户信息 * @return 在线用户 */ diff --git a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserServiceImpl.java b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserServiceImpl.java index 90d35a7..b90b239 100644 --- a/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserServiceImpl.java +++ b/mcwl-system/src/main/java/com/mcwl/system/service/impl/SysUserServiceImpl.java @@ -33,8 +33,8 @@ import com.mcwl.system.service.ISysUserService; /** * 用户 业务层处理 - * - * @author ruoyi + * + * @author mcwl */ @Service public class SysUserServiceImpl implements ISysUserService @@ -67,7 +67,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 根据条件分页查询用户列表 - * + * * @param user 用户信息 * @return 用户信息集合信息 */ @@ -80,7 +80,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 根据条件分页查询已分配用户角色列表 - * + * * @param user 用户信息 * @return 用户信息集合信息 */ @@ -93,7 +93,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 根据条件分页查询未分配用户角色列表 - * + * * @param user 用户信息 * @return 用户信息集合信息 */ @@ -106,7 +106,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 通过用户名查询用户 - * + * * @param userName 用户名 * @return 用户对象信息 */ @@ -118,7 +118,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 通过用户ID查询用户 - * + * * @param userId 用户ID * @return 用户对象信息 */ @@ -130,7 +130,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 查询用户所属角色组 - * + * * @param userName 用户名 * @return 结果 */ @@ -147,7 +147,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 查询用户所属岗位组 - * + * * @param userName 用户名 * @return 结果 */ @@ -164,7 +164,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 校验用户名称是否唯一 - * + * * @param user 用户信息 * @return 结果 */ @@ -218,7 +218,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 校验用户是否允许操作 - * + * * @param user 用户信息 */ @Override @@ -232,7 +232,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 校验用户是否有数据权限 - * + * * @param userId 用户id */ @Override @@ -252,7 +252,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 新增保存用户信息 - * + * * @param user 用户信息 * @return 结果 */ @@ -271,7 +271,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 注册用户信息 - * + * * @param user 用户信息 * @return 结果 */ @@ -283,7 +283,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 修改保存用户信息 - * + * * @param user 用户信息 * @return 结果 */ @@ -305,7 +305,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 用户授权角色 - * + * * @param userId 用户ID * @param roleIds 角色组 */ @@ -319,7 +319,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 修改用户状态 - * + * * @param user 用户信息 * @return 结果 */ @@ -331,7 +331,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 修改用户基本信息 - * + * * @param user 用户信息 * @return 结果 */ @@ -343,7 +343,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 修改用户头像 - * + * * @param userName 用户名 * @param avatar 头像地址 * @return 结果 @@ -356,7 +356,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 重置用户密码 - * + * * @param user 用户信息 * @return 结果 */ @@ -368,7 +368,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 重置用户密码 - * + * * @param userName 用户名 * @param password 密码 * @return 结果 @@ -381,7 +381,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 新增用户角色信息 - * + * * @param user 用户对象 */ public void insertUserRole(SysUser user) @@ -391,7 +391,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 新增用户岗位信息 - * + * * @param user 用户对象 */ public void insertUserPost(SysUser user) @@ -414,7 +414,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 新增用户角色信息 - * + * * @param userId 用户ID * @param roleIds 角色组 */ @@ -437,7 +437,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 通过用户ID删除用户 - * + * * @param userId 用户ID * @return 结果 */ @@ -454,7 +454,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 批量删除用户信息 - * + * * @param userIds 需要删除的用户ID * @return 结果 */ @@ -476,7 +476,7 @@ public class SysUserServiceImpl implements ISysUserService /** * 导入用户数据 - * + * * @param userList 用户数据列表 * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据 * @param operName 操作用户 diff --git a/pom.xml b/pom.xml index 0367380..38cb07c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,15 +3,15 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - + com.mcwl mcwl 3.8.8 mcwl - http://www.ruoyi.vip + http://www.mcwl.vip 魔创未来 - + 3.8.8 UTF-8 @@ -271,4 +271,4 @@ - \ No newline at end of file + diff --git a/sql/ry_20240629.sql b/sql/ry_20240629.sql index a8647d2..7ffd8e2 100644 --- a/sql/ry_20240629.sql +++ b/sql/ry_20240629.sql @@ -23,16 +23,16 @@ create table sys_dept ( -- ---------------------------- -- 初始化-部门表数据 -- ---------------------------- -insert into sys_dept values(100, 0, '0', '若依科技', 0, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(101, 100, '0,100', '深圳总公司', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(102, 100, '0,100', '长沙分公司', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(103, 101, '0,100,101', '研发部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(104, 101, '0,100,101', '市场部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(105, 101, '0,100,101', '测试部门', 3, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(106, 101, '0,100,101', '财务部门', 4, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(107, 101, '0,100,101', '运维部门', 5, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(108, 102, '0,100,102', '市场部门', 1, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -insert into sys_dept values(109, 102, '0,100,102', '财务部门', 2, '若依', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(100, 0, '0', '魔创未来科技', 0, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(101, 100, '0,100', '深圳总公司', 1, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(102, 100, '0,100', '长沙分公司', 2, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(103, 101, '0,100,101', '研发部门', 1, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(104, 101, '0,100,101', '市场部门', 2, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(105, 101, '0,100,101', '测试部门', 3, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(106, 101, '0,100,101', '财务部门', 4, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(107, 101, '0,100,101', '运维部门', 5, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(108, 102, '0,100,102', '市场部门', 1, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); +insert into sys_dept values(109, 102, '0,100,102', '财务部门', 2, '魔创未来', '15888888888', 'ry@qq.com', '0', '0', 'admin', sysdate(), '', null); -- ---------------------------- @@ -65,8 +65,8 @@ create table sys_user ( -- ---------------------------- -- 初始化-用户信息表数据 -- ---------------------------- -insert into sys_user values(1, 103, 'admin', '若依', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', sysdate(), 'admin', sysdate(), '', null, '管理员'); -insert into sys_user values(2, 105, 'ry', '若依', '00', 'ry@qq.com', '15666666666', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', sysdate(), 'admin', sysdate(), '', null, '测试员'); +insert into sys_user values(1, 103, 'admin', '魔创未来', '00', 'ry@163.com', '15888888888', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', sysdate(), 'admin', sysdate(), '', null, '管理员'); +insert into sys_user values(2, 105, 'ry', '魔创未来', '00', 'ry@qq.com', '15666666666', '1', '', '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', sysdate(), 'admin', sysdate(), '', null, '测试员'); -- ---------------------------- @@ -161,7 +161,7 @@ create table sys_menu ( insert into sys_menu values('1', '系统管理', '0', '1', 'system', null, '', '', 1, 0, 'M', '0', '0', '', 'system', 'admin', sysdate(), '', null, '系统管理目录'); insert into sys_menu values('2', '系统监控', '0', '2', 'monitor', null, '', '', 1, 0, 'M', '0', '0', '', 'monitor', 'admin', sysdate(), '', null, '系统监控目录'); insert into sys_menu values('3', '系统工具', '0', '3', 'tool', null, '', '', 1, 0, 'M', '0', '0', '', 'tool', 'admin', sysdate(), '', null, '系统工具目录'); -insert into sys_menu values('4', '若依官网', '0', '4', 'http://ruoyi.vip', null, '', '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', sysdate(), '', null, '若依官网地址'); +insert into sys_menu values('4', '魔创未来官网', '0', '4', 'http://mcwl.vip', null, '', '', 0, 0, 'M', '0', '0', '', 'guide', 'admin', sysdate(), '', null, '魔创未来官网地址'); -- 二级菜单 insert into sys_menu values('100', '用户管理', '1', '1', 'user', 'system/user/index', '', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 'admin', sysdate(), '', null, '用户管理菜单'); insert into sys_menu values('101', '角色管理', '1', '2', 'role', 'system/role/index', '', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 'admin', sysdate(), '', null, '角色管理菜单'); @@ -636,8 +636,8 @@ create table sys_notice ( -- ---------------------------- -- 初始化-公告信息表数据 -- ---------------------------- -insert into sys_notice values('1', '温馨提醒:2018-07-01 若依新版本发布啦', '2', '新版本内容', '0', 'admin', sysdate(), '', null, '管理员'); -insert into sys_notice values('2', '维护通知:2018-07-01 若依系统凌晨维护', '1', '维护内容', '0', 'admin', sysdate(), '', null, '管理员'); +insert into sys_notice values('1', '温馨提醒:2018-07-01 魔创未来新版本发布啦', '2', '新版本内容', '0', 'admin', sysdate(), '', null, '管理员'); +insert into sys_notice values('2', '维护通知:2018-07-01 魔创未来系统凌晨维护', '1', '维护内容', '0', 'admin', sysdate(), '', null, '管理员'); -- ---------------------------- @@ -698,4 +698,4 @@ create table gen_table_column ( update_by varchar(64) default '' comment '更新者', update_time datetime comment '更新时间', primary key (column_id) -) engine=innodb auto_increment=1 comment = '代码生成业务表字段'; \ No newline at end of file +) engine=innodb auto_increment=1 comment = '代码生成业务表字段';