Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
cee572f2
"git@ustchcs.com:gujinli1118/MCMS.git" did not exist on "4d9568394749989f41ce61c2221ff65f63065745"
Commit
cee572f2
authored
Jul 19, 2020
by
RuoYi
Browse files
若依 3.0
parent
0d341f1a
Changes
279
Hide whitespace changes
Inline
Side-by-side
ruoyi/src/main/resources/m
ybatis
/system/SysDictDataMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysDictDataMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysDictDataMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysDictDataMapper"
>
<resultMap
type=
"SysDictData"
id=
"SysDictDataResult"
>
<resultMap
type=
"SysDictData"
id=
"SysDictDataResult"
>
<id
property=
"dictCode"
column=
"dict_code"
/>
<id
property=
"dictCode"
column=
"dict_code"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysDictTypeMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysDictTypeMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysDictTypeMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysDictTypeMapper"
>
<resultMap
type=
"SysDictType"
id=
"SysDictTypeResult"
>
<resultMap
type=
"SysDictType"
id=
"SysDictTypeResult"
>
<id
property=
"dictId"
column=
"dict_id"
/>
<id
property=
"dictId"
column=
"dict_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis/monitor
/SysLogininforMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper/system
/SysLogininforMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.monitor
.mapper.SysLogininforMapper"
>
<mapper
namespace=
"com.ruoyi.
system
.mapper.SysLogininforMapper"
>
<resultMap
type=
"SysLogininfor"
id=
"SysLogininforResult"
>
<resultMap
type=
"SysLogininfor"
id=
"SysLogininforResult"
>
<id
property=
"infoId"
column=
"info_id"
/>
<id
property=
"infoId"
column=
"info_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysMenuMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysMenuMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysMenuMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysMenuMapper"
>
<resultMap
type=
"SysMenu"
id=
"SysMenuResult"
>
<resultMap
type=
"SysMenu"
id=
"SysMenuResult"
>
<id
property=
"menuId"
column=
"menu_id"
/>
<id
property=
"menuId"
column=
"menu_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysNoticeMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysNoticeMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysNoticeMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysNoticeMapper"
>
<resultMap
type=
"SysNotice"
id=
"SysNoticeResult"
>
<resultMap
type=
"SysNotice"
id=
"SysNoticeResult"
>
<result
property=
"noticeId"
column=
"notice_id"
/>
<result
property=
"noticeId"
column=
"notice_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis/monitor
/SysOperLogMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper/system
/SysOperLogMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.monitor
.mapper.SysOperLogMapper"
>
<mapper
namespace=
"com.ruoyi.
system
.mapper.SysOperLogMapper"
>
<resultMap
type=
"SysOperLog"
id=
"SysOperLogResult"
>
<resultMap
type=
"SysOperLog"
id=
"SysOperLogResult"
>
<id
property=
"operId"
column=
"oper_id"
/>
<id
property=
"operId"
column=
"oper_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysPostMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysPostMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysPostMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysPostMapper"
>
<resultMap
type=
"SysPost"
id=
"SysPostResult"
>
<resultMap
type=
"SysPost"
id=
"SysPostResult"
>
<id
property=
"postId"
column=
"post_id"
/>
<id
property=
"postId"
column=
"post_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysRoleDeptMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysRoleDeptMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysRoleDeptMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysRoleDeptMapper"
>
<resultMap
type=
"SysRoleDept"
id=
"SysRoleDeptResult"
>
<resultMap
type=
"SysRoleDept"
id=
"SysRoleDeptResult"
>
<result
property=
"roleId"
column=
"role_id"
/>
<result
property=
"roleId"
column=
"role_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysRoleMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysRoleMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysRoleMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysRoleMapper"
>
<resultMap
type=
"SysRole"
id=
"SysRoleResult"
>
<resultMap
type=
"SysRole"
id=
"SysRoleResult"
>
<id
property=
"roleId"
column=
"role_id"
/>
<id
property=
"roleId"
column=
"role_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysRoleMenuMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysRoleMenuMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysRoleMenuMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysRoleMenuMapper"
>
<resultMap
type=
"SysRoleMenu"
id=
"SysRoleMenuResult"
>
<resultMap
type=
"SysRoleMenu"
id=
"SysRoleMenuResult"
>
<result
property=
"roleId"
column=
"role_id"
/>
<result
property=
"roleId"
column=
"role_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysUserMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysUserMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysUserMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysUserMapper"
>
<resultMap
type=
"SysUser"
id=
"SysUserResult"
>
<resultMap
type=
"SysUser"
id=
"SysUserResult"
>
<id
property=
"userId"
column=
"user_id"
/>
<id
property=
"userId"
column=
"user_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysUserPostMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysUserPostMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysUserPostMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysUserPostMapper"
>
<resultMap
type=
"SysUserPost"
id=
"SysUserPostResult"
>
<resultMap
type=
"SysUserPost"
id=
"SysUserPostResult"
>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userId"
column=
"user_id"
/>
...
...
ruoyi/src/main/resources/m
ybatis
/system/SysUserRoleMapper.xml
→
ruoyi
-system
/src/main/resources/m
apper
/system/SysUserRoleMapper.xml
View file @
cee572f2
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!DOCTYPE mapper
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.ruoyi.
project.
system.mapper.SysUserRoleMapper"
>
<mapper
namespace=
"com.ruoyi.system.mapper.SysUserRoleMapper"
>
<resultMap
type=
"SysUserRole"
id=
"SysUserRoleResult"
>
<resultMap
type=
"SysUserRole"
id=
"SysUserRoleResult"
>
<result
property=
"userId"
column=
"user_id"
/>
<result
property=
"userId"
column=
"user_id"
/>
...
...
ruoyi-ui/package.json
View file @
cee572f2
{
{
"name"
:
"ruoyi"
,
"name"
:
"ruoyi"
,
"version"
:
"
2.3
.0"
,
"version"
:
"
3.0
.0"
,
"description"
:
"若依管理系统"
,
"description"
:
"若依管理系统"
,
"author"
:
"若依"
,
"author"
:
"若依"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
...
...
ruoyi/bin/run-tomcat.bat
deleted
100644 → 0
View file @
0d341f1a
@echo
off
echo
.
echo
[
Ϣ
]
ʹ
Spring
Boot
Tomcat
Web
̡
echo
.
%~d0
cd
%~dp0
cd
..
title
%cd%
set
MAVEN_OPTS
=
%MAVEN_OPTS%
-Xms
256
m
-Xmx
1024
m
-XX
:MetaspaceSize
=
128
m
-XX
:MaxMetaspaceSize
=
512
m
call
mvn
clean
spring
-boot
:run
-Dmaven
.test.skip
=
true
-U
pause
\ No newline at end of file
ruoyi/pom.xml
deleted
100644 → 0
View file @
0d341f1a
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.ruoyi
</groupId>
<artifactId>
ruoyi
</artifactId>
<version>
2.3.0
</version>
<packaging>
jar
</packaging>
<name>
ruoyi
</name>
<url>
http://www.ruoyi.vip
</url>
<description>
若依管理系统
</description>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.1.1.RELEASE
</version>
<relativePath
/>
</parent>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<java.version>
1.8
</java.version>
<mybatis.spring.boot.starter.version>
1.3.2
</mybatis.spring.boot.starter.version>
<pagehelper.spring.boot.starter.version>
1.2.5
</pagehelper.spring.boot.starter.version>
<fastjson.version>
1.2.70
</fastjson.version>
<druid.version>
1.1.14
</druid.version>
<commons.io.version>
2.5
</commons.io.version>
<commons.fileupload.version>
1.3.3
</commons.fileupload.version>
<bitwalker.version>
1.19
</bitwalker.version>
<jwt.version>
0.9.0
</jwt.version>
<swagger.version>
2.9.2
</swagger.version>
<poi.version>
3.17
</poi.version>
<oshi.version>
3.9.1
</oshi.version>
<velocity.version>
1.7
</velocity.version>
</properties>
<dependencies>
<!-- SpringBoot 核心包 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter
</artifactId>
</dependency>
<!-- SpringBoot 测试 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<!-- SpringBoot 拦截器 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-aop
</artifactId>
</dependency>
<!-- SpringBoot Web容器 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<!-- spring-boot-devtools -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-devtools
</artifactId>
<optional>
true
</optional>
<!-- 表示依赖不会传递 -->
</dependency>
<!-- spring security 安全认证 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-security
</artifactId>
</dependency>
<!-- redis 缓存操作 -->
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
</dependency>
<!-- pool 对象池 -->
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-pool2
</artifactId>
</dependency>
<!-- Mysql驱动包 -->
<dependency>
<groupId>
mysql
</groupId>
<artifactId>
mysql-connector-java
</artifactId>
<scope>
runtime
</scope>
</dependency>
<!-- SpringBoot集成mybatis框架 -->
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
${mybatis.spring.boot.starter.version}
</version>
</dependency>
<!-- pagehelper 分页插件 -->
<dependency>
<groupId>
com.github.pagehelper
</groupId>
<artifactId>
pagehelper-spring-boot-starter
</artifactId>
<version>
${pagehelper.spring.boot.starter.version}
</version>
</dependency>
<!--阿里数据库连接池 -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
druid-spring-boot-starter
</artifactId>
<version>
${druid.version}
</version>
</dependency>
<!--常用工具类 -->
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
</dependency>
<!--io常用工具类 -->
<dependency>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
<version>
${commons.io.version}
</version>
</dependency>
<!--文件上传工具类 -->
<dependency>
<groupId>
commons-fileupload
</groupId>
<artifactId>
commons-fileupload
</artifactId>
<version>
${commons.fileupload.version}
</version>
</dependency>
<!-- 解析客户端操作系统、浏览器等 -->
<dependency>
<groupId>
eu.bitwalker
</groupId>
<artifactId>
UserAgentUtils
</artifactId>
<version>
${bitwalker.version}
</version>
</dependency>
<!-- 阿里JSON解析器 -->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
fastjson
</artifactId>
<version>
${fastjson.version}
</version>
</dependency>
<!--Spring框架基本的核心工具-->
<dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context-support
</artifactId>
</dependency>
<!--Token生成与解析-->
<dependency>
<groupId>
io.jsonwebtoken
</groupId>
<artifactId>
jjwt
</artifactId>
<version>
${jwt.version}
</version>
</dependency>
<!-- swagger2-->
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
${swagger.version}
</version>
<exclusions>
<exclusion>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-annotations
</artifactId>
</exclusion>
<exclusion>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-models
</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
<dependency>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-annotations
</artifactId>
<version>
1.5.21
</version>
</dependency>
<dependency>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-models
</artifactId>
<version>
1.5.21
</version>
</dependency>
<!-- swagger2-UI-->
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
${swagger.version}
</version>
</dependency>
<!-- 获取系统信息 -->
<dependency>
<groupId>
com.github.oshi
</groupId>
<artifactId>
oshi-core
</artifactId>
<version>
${oshi.version}
</version>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna
</artifactId>
</dependency>
<dependency>
<groupId>
net.java.dev.jna
</groupId>
<artifactId>
jna-platform
</artifactId>
</dependency>
<!-- excel工具 -->
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml
</artifactId>
<version>
${poi.version}
</version>
</dependency>
<!--velocity代码生成使用模板 -->
<dependency>
<groupId>
org.apache.velocity
</groupId>
<artifactId>
velocity
</artifactId>
<version>
${velocity.version}
</version>
</dependency>
<!-- 定时任务 -->
<dependency>
<groupId>
org.quartz-scheduler
</groupId>
<artifactId>
quartz
</artifactId>
<exclusions>
<exclusion>
<groupId>
com.mchange
</groupId>
<artifactId>
c3p0
</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<finalName>
${project.artifactId}
</finalName>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<fork>
true
</fork>
<!-- 如果没有该配置,devtools不会生效 -->
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>
public
</id>
<name>
aliyun nexus
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<releases>
<enabled>
true
</enabled>
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
public
</id>
<name>
aliyun nexus
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public/
</url>
<releases>
<enabled>
true
</enabled>
</releases>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
\ No newline at end of file
ruoyi/
ry.sh
→
ry.sh
View file @
cee572f2
#!/bin/bash
#!/bin/bash
AppName
=
ruoyi.jar
AppName
=
ruoyi
-admin
.jar
#JVM参数
#JVM参数
JVM_OPTS
=
"-Dname=
$AppName
-Duser.timezone=Asia/Shanghai -Xms512M -Xmx512M -XX:PermSize=256M -XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:NewRatio=1 -XX:SurvivorRatio=30 -XX:+UseParallelGC -XX:+UseParallelOldGC"
JVM_OPTS
=
"-Dname=
$AppName
-Duser.timezone=Asia/Shanghai -Xms512M -Xmx512M -XX:PermSize=256M -XX:MaxPermSize=512M -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:NewRatio=1 -XX:SurvivorRatio=30 -XX:+UseParallelGC -XX:+UseParallelOldGC"
...
...
ruoyi/
sql/quartz.sql
→
sql/quartz.sql
View file @
cee572f2
-- ----------------------------
-- ----------------------------
-- 1、存储每一个已配置的 jobDetail 的详细信息
-- 1、存储每一个已配置的 jobDetail 的详细信息
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_JOB_DETAILS
;
drop
table
if
exists
QRTZ_JOB_DETAILS
;
create
table
QRTZ_JOB_DETAILS
(
create
table
QRTZ_JOB_DETAILS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
job_name
varchar
(
200
)
not
null
,
job_name
varchar
(
200
)
not
null
,
job_group
varchar
(
200
)
not
null
,
job_group
varchar
(
200
)
not
null
,
description
varchar
(
250
)
null
,
description
varchar
(
250
)
null
,
job_class_name
varchar
(
250
)
not
null
,
job_class_name
varchar
(
250
)
not
null
,
is_durable
varchar
(
1
)
not
null
,
is_durable
varchar
(
1
)
not
null
,
is_nonconcurrent
varchar
(
1
)
not
null
,
is_nonconcurrent
varchar
(
1
)
not
null
,
is_update_data
varchar
(
1
)
not
null
,
is_update_data
varchar
(
1
)
not
null
,
requests_recovery
varchar
(
1
)
not
null
,
requests_recovery
varchar
(
1
)
not
null
,
job_data
blob
null
,
job_data
blob
null
,
primary
key
(
sched_name
,
job_name
,
job_group
)
primary
key
(
sched_name
,
job_name
,
job_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 2、 存储已配置的 Trigger 的信息
-- 2、 存储已配置的 Trigger 的信息
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_TRIGGERS
;
drop
table
if
exists
QRTZ_TRIGGERS
;
create
table
QRTZ_TRIGGERS
(
create
table
QRTZ_TRIGGERS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
job_name
varchar
(
200
)
not
null
,
job_name
varchar
(
200
)
not
null
,
job_group
varchar
(
200
)
not
null
,
job_group
varchar
(
200
)
not
null
,
description
varchar
(
250
)
null
,
description
varchar
(
250
)
null
,
next_fire_time
bigint
(
13
)
null
,
next_fire_time
bigint
(
13
)
null
,
prev_fire_time
bigint
(
13
)
null
,
prev_fire_time
bigint
(
13
)
null
,
priority
integer
null
,
priority
integer
null
,
trigger_state
varchar
(
16
)
not
null
,
trigger_state
varchar
(
16
)
not
null
,
trigger_type
varchar
(
8
)
not
null
,
trigger_type
varchar
(
8
)
not
null
,
start_time
bigint
(
13
)
not
null
,
start_time
bigint
(
13
)
not
null
,
end_time
bigint
(
13
)
null
,
end_time
bigint
(
13
)
null
,
calendar_name
varchar
(
200
)
null
,
calendar_name
varchar
(
200
)
null
,
misfire_instr
smallint
(
2
)
null
,
misfire_instr
smallint
(
2
)
null
,
job_data
blob
null
,
job_data
blob
null
,
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
foreign
key
(
sched_name
,
job_name
,
job_group
)
references
QRTZ_JOB_DETAILS
(
sched_name
,
job_name
,
job_group
)
foreign
key
(
sched_name
,
job_name
,
job_group
)
references
QRTZ_JOB_DETAILS
(
sched_name
,
job_name
,
job_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 3、 存储简单的 Trigger,包括重复次数,间隔,以及已触发的次数
-- 3、 存储简单的 Trigger,包括重复次数,间隔,以及已触发的次数
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_SIMPLE_TRIGGERS
;
drop
table
if
exists
QRTZ_SIMPLE_TRIGGERS
;
create
table
QRTZ_SIMPLE_TRIGGERS
(
create
table
QRTZ_SIMPLE_TRIGGERS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
repeat_count
bigint
(
7
)
not
null
,
repeat_count
bigint
(
7
)
not
null
,
repeat_interval
bigint
(
12
)
not
null
,
repeat_interval
bigint
(
12
)
not
null
,
times_triggered
bigint
(
10
)
not
null
,
times_triggered
bigint
(
10
)
not
null
,
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 4、 存储 Cron Trigger,包括 Cron 表达式和时区信息
-- 4、 存储 Cron Trigger,包括 Cron 表达式和时区信息
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_CRON_TRIGGERS
;
drop
table
if
exists
QRTZ_CRON_TRIGGERS
;
create
table
QRTZ_CRON_TRIGGERS
(
create
table
QRTZ_CRON_TRIGGERS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
cron_expression
varchar
(
200
)
not
null
,
cron_expression
varchar
(
200
)
not
null
,
time_zone_id
varchar
(
80
),
time_zone_id
varchar
(
80
),
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 5、 Trigger 作为 Blob 类型存储(用于 Quartz 用户用 JDBC 创建他们自己定制的 Trigger 类型,JobStore 并不知道如何存储实例的时候)
-- 5、 Trigger 作为 Blob 类型存储(用于 Quartz 用户用 JDBC 创建他们自己定制的 Trigger 类型,JobStore 并不知道如何存储实例的时候)
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_BLOB_TRIGGERS
;
drop
table
if
exists
QRTZ_BLOB_TRIGGERS
;
create
table
QRTZ_BLOB_TRIGGERS
(
create
table
QRTZ_BLOB_TRIGGERS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
blob_data
blob
null
,
blob_data
blob
null
,
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 6、 以 Blob 类型存储存放日历信息, quartz可配置一个日历来指定一个时间范围
-- 6、 以 Blob 类型存储存放日历信息, quartz可配置一个日历来指定一个时间范围
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_CALENDARS
;
drop
table
if
exists
QRTZ_CALENDARS
;
create
table
QRTZ_CALENDARS
(
create
table
QRTZ_CALENDARS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
calendar_name
varchar
(
200
)
not
null
,
calendar_name
varchar
(
200
)
not
null
,
calendar
blob
not
null
,
calendar
blob
not
null
,
primary
key
(
sched_name
,
calendar_name
)
primary
key
(
sched_name
,
calendar_name
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 7、 存储已暂停的 Trigger 组的信息
-- 7、 存储已暂停的 Trigger 组的信息
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_PAUSED_TRIGGER_GRPS
;
drop
table
if
exists
QRTZ_PAUSED_TRIGGER_GRPS
;
create
table
QRTZ_PAUSED_TRIGGER_GRPS
(
create
table
QRTZ_PAUSED_TRIGGER_GRPS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
primary
key
(
sched_name
,
trigger_group
)
primary
key
(
sched_name
,
trigger_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 8、 存储与已触发的 Trigger 相关的状态信息,以及相联 Job 的执行信息
-- 8、 存储与已触发的 Trigger 相关的状态信息,以及相联 Job 的执行信息
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_FIRED_TRIGGERS
;
drop
table
if
exists
QRTZ_FIRED_TRIGGERS
;
create
table
QRTZ_FIRED_TRIGGERS
(
create
table
QRTZ_FIRED_TRIGGERS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
entry_id
varchar
(
95
)
not
null
,
entry_id
varchar
(
95
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
instance_name
varchar
(
200
)
not
null
,
instance_name
varchar
(
200
)
not
null
,
fired_time
bigint
(
13
)
not
null
,
fired_time
bigint
(
13
)
not
null
,
sched_time
bigint
(
13
)
not
null
,
sched_time
bigint
(
13
)
not
null
,
priority
integer
not
null
,
priority
integer
not
null
,
state
varchar
(
16
)
not
null
,
state
varchar
(
16
)
not
null
,
job_name
varchar
(
200
)
null
,
job_name
varchar
(
200
)
null
,
job_group
varchar
(
200
)
null
,
job_group
varchar
(
200
)
null
,
is_nonconcurrent
varchar
(
1
)
null
,
is_nonconcurrent
varchar
(
1
)
null
,
requests_recovery
varchar
(
1
)
null
,
requests_recovery
varchar
(
1
)
null
,
primary
key
(
sched_name
,
entry_id
)
primary
key
(
sched_name
,
entry_id
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 9、 存储少量的有关 Scheduler 的状态信息,假如是用于集群中,可以看到其他的 Scheduler 实例
-- 9、 存储少量的有关 Scheduler 的状态信息,假如是用于集群中,可以看到其他的 Scheduler 实例
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_SCHEDULER_STATE
;
drop
table
if
exists
QRTZ_SCHEDULER_STATE
;
create
table
QRTZ_SCHEDULER_STATE
(
create
table
QRTZ_SCHEDULER_STATE
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
instance_name
varchar
(
200
)
not
null
,
instance_name
varchar
(
200
)
not
null
,
last_checkin_time
bigint
(
13
)
not
null
,
last_checkin_time
bigint
(
13
)
not
null
,
checkin_interval
bigint
(
13
)
not
null
,
checkin_interval
bigint
(
13
)
not
null
,
primary
key
(
sched_name
,
instance_name
)
primary
key
(
sched_name
,
instance_name
)
)
engine
=
innodb
;
)
engine
=
innodb
;
-- ----------------------------
-- ----------------------------
-- 10、 存储程序的悲观锁的信息(假如使用了悲观锁)
-- 10、 存储程序的悲观锁的信息(假如使用了悲观锁)
-- ----------------------------
-- ----------------------------
drop
table
if
exists
QRTZ_LOCKS
;
drop
table
if
exists
QRTZ_LOCKS
;
create
table
QRTZ_LOCKS
(
create
table
QRTZ_LOCKS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
lock_name
varchar
(
40
)
not
null
,
lock_name
varchar
(
40
)
not
null
,
primary
key
(
sched_name
,
lock_name
)
primary
key
(
sched_name
,
lock_name
)
)
engine
=
innodb
;
)
engine
=
innodb
;
drop
table
if
exists
QRTZ_SIMPROP_TRIGGERS
;
drop
table
if
exists
QRTZ_SIMPROP_TRIGGERS
;
create
table
QRTZ_SIMPROP_TRIGGERS
(
create
table
QRTZ_SIMPROP_TRIGGERS
(
sched_name
varchar
(
120
)
not
null
,
sched_name
varchar
(
120
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_name
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
trigger_group
varchar
(
200
)
not
null
,
str_prop_1
varchar
(
512
)
null
,
str_prop_1
varchar
(
512
)
null
,
str_prop_2
varchar
(
512
)
null
,
str_prop_2
varchar
(
512
)
null
,
str_prop_3
varchar
(
512
)
null
,
str_prop_3
varchar
(
512
)
null
,
int_prop_1
int
null
,
int_prop_1
int
null
,
int_prop_2
int
null
,
int_prop_2
int
null
,
long_prop_1
bigint
null
,
long_prop_1
bigint
null
,
long_prop_2
bigint
null
,
long_prop_2
bigint
null
,
dec_prop_1
numeric
(
13
,
4
)
null
,
dec_prop_1
numeric
(
13
,
4
)
null
,
dec_prop_2
numeric
(
13
,
4
)
null
,
dec_prop_2
numeric
(
13
,
4
)
null
,
bool_prop_1
varchar
(
1
)
null
,
bool_prop_1
varchar
(
1
)
null
,
bool_prop_2
varchar
(
1
)
null
,
bool_prop_2
varchar
(
1
)
null
,
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
primary
key
(
sched_name
,
trigger_name
,
trigger_group
),
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
foreign
key
(
sched_name
,
trigger_name
,
trigger_group
)
references
QRTZ_TRIGGERS
(
sched_name
,
trigger_name
,
trigger_group
)
)
engine
=
innodb
;
)
engine
=
innodb
;
commit
;
commit
;
\ No newline at end of file
ruoyi/
sql/ry_20200629.sql
→
sql/ry_20200629.sql
View file @
cee572f2
File moved
Prev
1
…
10
11
12
13
14
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment