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
Springboot Plus
Commits
9c09fc44
Commit
9c09fc44
authored
Mar 12, 2018
by
李家智
Browse files
oracel support
parent
ee16f8c6
Changes
10
Hide whitespace changes
Inline
Side-by-side
admin-console/pom.xml
View file @
9c09fc44
...
@@ -43,13 +43,6 @@
...
@@ -43,13 +43,6 @@
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
</build>
</project>
</project>
admin-console/src/main/resources/application.properties
View file @
9c09fc44
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
#spring.datasource.url=jdbc:mysql://127.0.0.1:3306/starter?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
spring.datasource.username
=
root
#spring.datasource.username=root
spring.datasource.password
=
123456
#spring.datasource.password=123456
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
#spring.datasource.url= jdbc:oracle:thin:@127.0.0.1:1521:orcl
#spring.datasource.username=starter2
spring.datasource.url
=
jdbc:oracle:thin:@172.16.86.56:1521:dfzb
#spring.datasource.password=starter2
spring.datasource.username
=
starter2
#server.servlet.context-path=/admin-console
spring.datasource.password
=
starter2
spring.datasource.driver-class-name
=
oracle.jdbc.OracleDriver
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
# 1,1 是管理员密码,相当于启动后就登录,方便测试,系统需要取消这俩个配置
user.id
=
1
user.id
=
1
user.orgId
=
1
user.orgId
=
1
...
@@ -20,10 +24,10 @@ logging.level.org.springframework.web.servlet.mvc.method.annotation=warn
...
@@ -20,10 +24,10 @@ logging.level.org.springframework.web.servlet.mvc.method.annotation=warn
server.port
=
8080
server.port
=
8080
#html视图交给beetl渲染
#html视图交给beetl渲染
beetl.suffix
=
html
beetl.suffix
=
html
beetlsql.dbStyle
=
org.beetl.sql.core.db.
MySql
Style
beetlsql.dbStyle
=
org.beetl.sql.core.db.
Oracle
Style
#beetlsql.basePackage=com.ibeetl,com.xxx.yourpackage
#beetlsql.basePackage=com.ibeetl,com.xxx.yourpackage
beetlsql.basePackage
=
com.ibeetl
beetlsql.basePackage
=
com.ibeetl
app.name
=
Spring
Boot
开发平台
app.name
=
SpringBoot
-Plus
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
logging.pattern.console
=
%-4relative [%thread] %-5level %logger{256} %M %L - %msg%n
spring.devtools.restart.exclude
=
templates/**
spring.devtools.restart.exclude
=
templates/**
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
#文档预览服务的调用地址,参考https://gitee.com/kekingcn/file-online-preview 安装,没有如下配置无法使用预览功能
...
...
admin-console/src/main/resources/sql/console/menu.md
View file @
9c09fc44
...
@@ -27,7 +27,7 @@ queryByCondtion
...
@@ -27,7 +27,7 @@ queryByCondtion
@}
@}
@pageIgnoreTag(){
@pageIgnoreTag(){
order by seq asc , id desc
order by
m.
seq asc ,
m.
id desc
@}
@}
...
...
admin-console/src/main/resources/templates/admin/dict/edit.html
View file @
9c09fc44
...
@@ -4,6 +4,14 @@
...
@@ -4,6 +4,14 @@
<div
class=
"layui-row"
>
<div
class=
"layui-row"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-form-item"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
字典值
</label>
<div
class=
"layui-input-block"
>
<input
type=
"text"
name=
"value"
value=
"${dict.value}"
class=
"layui-input"
>
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
<label
class=
"layui-form-label"
>
字典名称
</label>
<label
class=
"layui-form-label"
>
字典名称
</label>
<div
class=
"layui-input-block"
>
<div
class=
"layui-input-block"
>
...
@@ -12,9 +20,6 @@
...
@@ -12,9 +20,6 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -70,7 +75,7 @@
...
@@ -70,7 +75,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
<input
type=
"hidden"
name=
"
value
"
value=
${dict.
value
}
/>
<input
type=
"hidden"
name=
"
id
"
value=
${dict.
id
}
/>
<layui:submitButtons
id=
"updateButton"
/>
<layui:submitButtons
id=
"updateButton"
/>
</form>
</form>
...
...
admin-core/src/main/java/com/ibeetl/admin/core/conf/BeetlConf.java
View file @
9c09fc44
package
com.ibeetl.admin.core.conf
;
package
com.ibeetl.admin.core.conf
;
import
java.io.UnsupportedEncodingException
;
import
java.util.List
;
import
java.util.List
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
...
@@ -122,7 +123,22 @@ public class BeetlConf {
...
@@ -122,7 +123,22 @@ public class BeetlConf {
@Override
@Override
public
String
call
(
Object
[]
paras
,
Context
ctx
)
{
public
String
call
(
Object
[]
paras
,
Context
ctx
)
{
String
key
=
(
String
)
paras
[
0
];
String
key
=
(
String
)
paras
[
0
];
return
env
.
getProperty
(
key
);
String
value
=
env
.
getProperty
(
key
);
if
(
value
!=
null
)
{
return
getStr
(
value
);
}
if
(
paras
.
length
==
2
)
{
return
(
String
)
paras
[
1
];
}
return
null
;
}
protected
String
getStr
(
String
str
)
{
try
{
return
new
String
(
str
.
getBytes
(
"iso8859-1"
),
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
throw
new
RuntimeException
(
e
);
}
}
}
});
});
...
...
admin-core/src/main/resources/templates/common/container.html
View file @
9c09fc44
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<html>
<html>
<head>
<head>
<meta
content=
"text/html;charset=UTF-8"
/>
<meta
content=
"text/html;charset=UTF-8"
/>
<title>
Spring Boot 2 Plus
</title>
<title>
${env("app.name")}
</title>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
http-equiv =
"Pragma"
content =
"no-cache"
/>
<meta
http-equiv =
"Pragma"
content =
"no-cache"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no cache"
/>
<meta
http-equiv=
"Cache-Control"
content=
"no cache"
/>
...
...
admin-core/src/main/resources/templates/common/tag/simpleDictSelect.tag.html
View file @
9c09fc44
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
for(dict in dicts){
for(dict in dicts){
-->
-->
<option
value=
"${dict.value}"
${
dict.value=
=expected?'selected'}
>
${dict.name}
</option>
<option
value=
"${dict.value}"
${
dict.value=
=
(
expected
+"")
?'selected'}
>
${dict.name}
</option>
<!--#}-->
<!--#}-->
</select>
</select>
...
...
admin-core/src/main/resources/templates/index.html
View file @
9c09fc44
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<!-- 顶部 -->
<!-- 顶部 -->
<form
class=
"layui-form layui-form-pane"
>
<form
class=
"layui-form layui-form-pane"
>
<div
class=
"layui-header"
>
<div
class=
"layui-header"
>
<a
href=
"ibeetl.com"
class=
"layui-hide-xs"
><div
class=
"layui-logo"
>
Spring Boot 2 Plus
</div></a>
<a
href=
"ibeetl.com"
class=
"layui-hide-xs"
><div
class=
"layui-logo"
>
${env("app.name")}
</div></a>
<a
href=
"javascript:;"
class=
"layui-hide-xs"
><div
class=
"fsSwitchMenu"
><i
class=
"iconfont icon-category"
></i></div></a>
<a
href=
"javascript:;"
class=
"layui-hide-xs"
><div
class=
"fsSwitchMenu"
><i
class=
"iconfont icon-category"
></i></div></a>
<!-- 顶部菜单 -->
<!-- 顶部菜单 -->
...
...
doc/starter-oracle.sql
View file @
9c09fc44
/*
prompt
PL
/
SQL
Developer
import
file
Navicat Oracle Data Transfer
prompt
Created
on
2018
年
3
月
12
日
by
Administrator
Oracle Client Version : 11.2.0.1.0
set
feedback
off
set
define
off
Source Server : 172.16.86.56 oracle starter
prompt
Dropping
CMS_BLOG
...
Source Server Version : 110200
drop
table
CMS_BLOG
cascade
constraints
;
Source Host : 172.16.86.56:1521
prompt
Dropping
CORE_AUDIT
...
Source Schema : STARTER
drop
table
CORE_AUDIT
cascade
constraints
;
prompt
Dropping
CORE_DICT
...
Target Server Type : ORACLE
drop
table
CORE_DICT
cascade
constraints
;
Target Server Version : 110200
prompt
Dropping
CORE_FILE
...
File Encoding : 65001
drop
table
CORE_FILE
cascade
constraints
;
prompt
Dropping
CORE_FILE_TAG
...
Date: 2018-02-24 14:59:47
drop
table
CORE_FILE_TAG
cascade
constraints
;
*/
prompt
Dropping
CORE_FUNCTION
...
drop
table
CORE_FUNCTION
cascade
constraints
;
prompt
Dropping
CORE_MENU
...
create
sequence
core_seq
drop
table
CORE_MENU
cascade
constraints
;
minvalue
1
prompt
Dropping
CORE_ORG
...
maxvalue
999999999999999999999999999
drop
table
CORE_ORG
cascade
constraints
;
start
with
1001
prompt
Dropping
CORE_ROLE
...
increment
by
1
drop
table
CORE_ROLE
cascade
constraints
;
nocache
;
prompt
Dropping
CORE_ROLE_FUNCTION
...
drop
table
CORE_ROLE_FUNCTION
cascade
constraints
;
prompt
Dropping
CORE_ROLE_MENU
...
create
sequence
audit_seq
drop
table
CORE_ROLE_MENU
cascade
constraints
;
minvalue
1
prompt
Dropping
CORE_USER
...
maxvalue
999999999999999999999999999
drop
table
CORE_USER
cascade
constraints
;
start
with
1001
prompt
Dropping
CORE_USER_ROLE
...
increment
by
1
drop
table
CORE_USER_ROLE
cascade
constraints
;
nocache
;
prompt
Creating
CMS_BLOG
...
create
table
CMS_BLOG
/*
(
Navicat Oracle Data Transfer
id
NUMBER
(
11
)
not
null
,
Oracle Client Version : 11.2.0.1.0
title
VARCHAR2
(
255
),
content
VARCHAR2
(
512
),
Source Server : 172.16.86.56 oracle starter
create_time
DATE
,
Source Server Version : 110200
create_user_id
NUMBER
(
11
),
Source Host : 172.16.86.56:1521
type
VARCHAR2
(
255
)
Source Schema : STARTER
Target Server Type : ORACLE
Target Server Version : 110200
File Encoding : 65001
Date: 2018-02-24 14:59:47
*/
-- ----------------------------
-- Table structure for cms_blog
-- ----------------------------
DROP
TABLE
cms_blog
;
CREATE
TABLE
cms_blog
(
id
NUMBER
(
11
)
NOT
NULL
,
title
VARCHAR2
(
255
)
NULL
,
content
VARCHAR2
(
512
)
NULL
,
create_time
DATE
NULL
,
create_user_id
NUMBER
(
11
)
NULL
,
type
VARCHAR2
(
255
)
NULL
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
(
-- ----------------------------
initial
64
K
-- Records of cms_blog
next
1
M
-- ----------------------------
minextents
1
INSERT
INTO
cms_blog
VALUES
(
'1'
,
'hello'
,
'我的博客,内容是。。。'
,
TO_DATE
(
'2018-02-22 09:53:05'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
'F0'
);
maxextents
unlimited
INSERT
INTO
cms_blog
VALUES
(
'2'
,
'cccc'
,
'过年回家'
,
TO_DATE
(
'2018-02-13 10:30:01'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
'F0'
);
);
alter
table
CMS_BLOG
-- ----------------------------
add
primary
key
(
ID
)
-- Table structure for core_audit
using
index
-- ----------------------------
tablespace
USERS
DROP
TABLE
core_audit
;
pctfree
10
CREATE
TABLE
core_audit
(
initrans
2
ID
NUMBER
(
11
)
NOT
NULL
,
maxtrans
255
FUNCTION_CODE
VARCHAR2
(
45
)
NULL
,
storage
FUNCTION_NAME
VARCHAR2
(
45
)
NULL
,
(
USER_ID
NUMBER
(
11
)
NULL
,
initial
64
K
USER_NAME
VARCHAR2
(
45
)
NULL
,
next
1
M
IP
VARCHAR2
(
45
)
NULL
,
minextents
1
CREATE_TIME
DATE
NULL
,
maxextents
unlimited
SUCCESS
NUMBER
(
4
)
NULL
,
);
MESSAGE
NCLOB
NULL
,
ORG_ID
VARCHAR2
(
45
)
NULL
prompt
Creating
CORE_AUDIT
...
create
table
CORE_AUDIT
(
id
NUMBER
(
11
)
not
null
,
function_code
VARCHAR2
(
45
),
function_name
VARCHAR2
(
45
),
user_id
NUMBER
(
11
),
user_name
VARCHAR2
(
45
),
ip
VARCHAR2
(
45
),
create_time
DATE
,
success
NUMBER
(
4
),
message
VARCHAR2
(
256
),
org_id
VARCHAR2
(
45
)
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
(
-- ----------------------------
initial
64
K
-- Records of core_audit
next
1
M
-- ----------------------------
minextents
1
INSERT
INTO
core_audit
VALUES
(
'1'
,
'org.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 19:58:50'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
maxextents
unlimited
INSERT
INTO
core_audit
VALUES
(
'2'
,
'org.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 19:58:51'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
);
INSERT
INTO
core_audit
VALUES
(
'3'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:00:10'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
alter
table
CORE_AUDIT
INSERT
INTO
core_audit
VALUES
(
'4'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:00:11'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
add
primary
key
(
ID
)
INSERT
INTO
core_audit
VALUES
(
'5'
,
'user.add'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:00:39'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
using
index
INSERT
INTO
core_audit
VALUES
(
'6'
,
'user.edit'
,
'用户编辑'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:10:15'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
tablespace
USERS
INSERT
INTO
core_audit
VALUES
(
'7'
,
'user.query'
,
'用户列表'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:10:15'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
pctfree
10
INSERT
INTO
core_audit
VALUES
(
'8'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:10:16'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
initrans
2
INSERT
INTO
core_audit
VALUES
(
'9'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:10:17'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
maxtrans
255
INSERT
INTO
core_audit
VALUES
(
'10'
,
'user.edit'
,
'用户编辑'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:14:46'
,
'YYYY-MM-DD HH24:MI:SS'
),
'0'
,
'java.sql.SQLException: Error on delete of
''
C:
\U
sers
\A
DMINI~1
\A
ppData
\L
ocal
\T
emp
\#
sql978_2c3_6.MYI
''
(Errcode: 13 - Permission denied)'
,
null
);
storage
INSERT
INTO
core_audit
VALUES
(
'11'
,
'user.edit'
,
'用户编辑'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:15:12'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
(
INSERT
INTO
core_audit
VALUES
(
'12'
,
'user.query'
,
'用户列表'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:15:13'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
initial
64
K
INSERT
INTO
core_audit
VALUES
(
'13'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:15:14'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
next
1
M
INSERT
INTO
core_audit
VALUES
(
'14'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:15:14'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
minextents
1
INSERT
INTO
core_audit
VALUES
(
'15'
,
'audit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-06 20:16:23'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
maxextents
unlimited
INSERT
INTO
core_audit
VALUES
(
'16'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:42:58'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
);
INSERT
INTO
core_audit
VALUES
(
'17'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:42:58'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'18'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:11'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
prompt
Creating
CORE_DICT
...
INSERT
INTO
core_audit
VALUES
(
'19'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:11'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'20'
,
'user.add'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:13'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'21'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:28'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'22'
,
'role.add'
,
'角色添加'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:29'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'23'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:43'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'24'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:43'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'25'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:53:45'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'26'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:56:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'27'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:56:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'28'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:56:06'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'29'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:56:07'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'30'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:56:09'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'31'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 09:56:10'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'32'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:02:00'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'33'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:02:00'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'34'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:02:02'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'35'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:05:40'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'36'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:05:40'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'37'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:05:42'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'38'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:06:02'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'39'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:07:45'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'40'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:07:45'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'41'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:07:47'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'42'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:08:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'43'
,
'role.update'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:08:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'44'
,
'role.edit'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:08:16'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
INSERT
INTO
core_audit
VALUES
(
'45'
,
'role.query'
,
'未定义'
,
'1'
,
'超级管理员'
,
'172.16.49.65'
,
TO_DATE
(
'2018-02-07 10:08:16'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
empty_clob
(),
null
);
-- ----------------------------
-- Table structure for core_dict
-- ----------------------------
DROP
TABLE
core_dict
;
create
table
CORE_DICT
create
table
CORE_DICT
(
(
id
NUMBER
(
11
)
not
null
,
id
NUMBER
(
11
)
not
null
,
...
@@ -161,644 +117,920 @@ create table CORE_DICT
...
@@ -161,644 +117,920 @@ create table CORE_DICT
del_flag
NUMBER
(
11
),
del_flag
NUMBER
(
11
),
remark
VARCHAR2
(
255
),
remark
VARCHAR2
(
255
),
create_time
DATE
create_time
DATE
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
COMMENT
ON
TABLE
core_dict
IS
'字典表'
;
(
COMMENT
ON
COLUMN
core_dict
.
"NAME"
IS
'名称'
;
initial
64
K
COMMENT
ON
COLUMN
core_dict
.
"TYPE"
IS
'字典编码'
;
next
1
M
COMMENT
ON
COLUMN
core_dict
.
"TYPE_NAME"
IS
'类型描述'
;
minextents
1
COMMENT
ON
COLUMN
core_dict
.
"SORT"
IS
'排序'
;
maxextents
unlimited
COMMENT
ON
COLUMN
core_dict
.
"PARENT"
IS
'父id'
;
);
COMMENT
ON
COLUMN
core_dict
.
"DEL_FLAG"
IS
'删除标记'
;
comment
on
table
CORE_DICT
COMMENT
ON
COLUMN
core_dict
.
"REMARK"
IS
'备注'
;
is
'字典表'
;
COMMENT
ON
COLUMN
core_dict
.
"CREATE_TIME"
IS
'创建时间'
;
comment
on
column
CORE_DICT
.
name
is
'名称'
;
comment
on
column
CORE_DICT
.
type
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'字典编码'
;
values
(
'DA0'
,
'查看自己'
,
'data_access_type'
,
'数据权限'
,
1
,
null
,
0
,
'11111111111111111123'
,
null
,
1
);
comment
on
column
CORE_DICT
.
type_name
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'类型描述'
;
values
(
'DA1'
,
'查看本公司'
,
'data_access_type'
,
'数据权限'
,
3
,
null
,
0
,
'hello,go'
,
null
,
2
);
comment
on
column
CORE_DICT
.
sort
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'排序'
;
values
(
'DA2'
,
'查看同机构'
,
'data_access_type'
,
'数据权限'
,
3
,
null
,
0
,
null
,
null
,
3
);
comment
on
column
CORE_DICT
.
parent
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'父id'
;
values
(
'DA3'
,
'查看本部门'
,
'data_access_type'
,
'数据权限'
,
4
,
null
,
0
,
null
,
null
,
4
);
comment
on
column
CORE_DICT
.
del_flag
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'删除标记'
;
values
(
'DA4'
,
'查看集团'
,
'data_access_type'
,
'数据权限'
,
5
,
null
,
0
,
null
,
null
,
5
);
comment
on
column
CORE_DICT
.
remark
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'备注'
;
values
(
'DA5'
,
'查看母公司'
,
'data_access_type'
,
'数据权限'
,
6
,
null
,
0
,
null
,
to_date
(
'14-10-2017 11:45:02'
,
'dd-mm-yyyy hh24:mi:ss'
),
6
);
comment
on
column
CORE_DICT
.
create_time
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
is
'创建时间'
;
values
(
'FN0'
,
'普通功能'
,
'function_type'
,
'功能点类型'
,
2
,
null
,
0
,
null
,
to_date
(
'23-10-2017 10:18:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
7
);
create
index
idx_code
on
CORE_DICT
(
TYPE
)
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
tablespace
USERS
values
(
'FN1'
,
'含数据权限'
,
'function_type'
,
'功能点类型'
,
1
,
null
,
0
,
null
,
to_date
(
'23-10-2017 10:20:05'
,
'dd-mm-yyyy hh24:mi:ss'
),
8
);
pctfree
10
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
initrans
2
values
(
'JT_01'
,
'管理岗位'
,
'job_type'
,
'岗位类型'
,
1
,
null
,
0
,
null
,
null
,
9
);
maxtrans
255
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
storage
values
(
'JT_02'
,
'技术岗位'
,
'job_type'
,
'岗位类型'
,
2
,
null
,
0
,
null
,
null
,
10
);
(
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
initial
64
K
values
(
'JT_S_01'
,
'董事会'
,
'job_sub_managment_type'
,
'管理岗位子类型'
,
1
,
'10'
,
0
,
null
,
null
,
11
);
next
1
M
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
minextents
1
values
(
'JT_S_02'
,
'秘书'
,
'job_sub_managment_type'
,
'管理岗位子类型'
,
2
,
'10'
,
0
,
null
,
null
,
12
);
maxextents
unlimited
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
);
values
(
'JT_S_03'
,
'技术经理'
,
'job_dev_sub_type'
,
'技术岗位子类型'
,
1
,
'11'
,
0
,
null
,
null
,
13
);
create
index
idx_pid
on
CORE_DICT
(
PARENT
)
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
tablespace
USERS
values
(
'JT_S_04'
,
'程序员'
,
'job_dev_sub_type'
,
'技术岗位子类型'
,
2
,
'11'
,
0
,
null
,
null
,
14
);
pctfree
10
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
initrans
2
values
(
'MENU_M'
,
'菜单'
,
'menu_type'
,
'菜单类型'
,
3
,
null
,
0
,
null
,
null
,
15
);
maxtrans
255
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
storage
values
(
'MENU_N'
,
'导航'
,
'menu_type'
,
'菜单类型'
,
2
,
null
,
0
,
null
,
null
,
16
);
(
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
initial
64
K
values
(
'MENU_S'
,
'系统'
,
'menu_type'
,
'菜单类型'
,
1
,
null
,
0
,
null
,
null
,
17
);
next
1
M
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
minextents
1
values
(
'ORGT0'
,
'集团总部'
,
'org_type'
,
'机构类型'
,
1
,
null
,
0
,
null
,
null
,
18
);
maxextents
unlimited
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
);
values
(
'ORGT1'
,
'分公司'
,
'org_type'
,
'机构类型'
,
2
,
null
,
0
,
null
,
null
,
19
);
create
index
idx_value
on
CORE_DICT
(
VALUE
)
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
tablespace
USERS
values
(
'ORGT2'
,
'部门'
,
'org_type'
,
'机构类型'
,
3
,
null
,
0
,
null
,
null
,
20
);
pctfree
10
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
initrans
2
values
(
'ORGT3'
,
'小组'
,
'org_type'
,
'机构类型'
,
4
,
null
,
0
,
null
,
null
,
21
);
maxtrans
255
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
storage
values
(
'R0'
,
'操作角色'
,
'role_type'
,
'数据权限'
,
1
,
null
,
0
,
null
,
null
,
22
);
(
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
initial
64
K
values
(
'R1'
,
'工作流角色'
,
'role_type'
,
'用户角色'
,
2
,
null
,
0
,
null
,
null
,
23
);
next
1
M
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
minextents
1
values
(
'S0'
,
'禁用'
,
'user_state'
,
'用户状态'
,
2
,
null
,
0
,
null
,
null
,
24
);
maxextents
unlimited
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
);
values
(
'S1'
,
'启用'
,
'user_state'
,
'用户状态'
,
1
,
null
,
0
,
null
,
null
,
25
);
alter
table
CORE_DICT
insert
into
CORE_DICT
(
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
,
id
)
add
primary
key
(
ID
)
values
(
'sdfsd'
,
'sdfsdf'
,
'sdfsdf'
,
'sdfsdf'
,
1
,
null
,
1
,
'dsfsdf'
,
to_date
(
'18-02-2018 21:31:02'
,
'dd-mm-yyyy hh24:mi:ss'
),
26
);
using
index
tablespace
USERS
pctfree
10
-- ----------------------------
initrans
2
-- Table structure for core_file
maxtrans
255
-- ----------------------------
storage
DROP
TABLE
core_file
;
(
CREATE
TABLE
core_file
(
initial
64
K
ID
NUMBER
(
11
)
NOT
NULL
,
next
1
M
NAME
VARCHAR2
(
64
)
NULL
,
minextents
1
PATH
VARCHAR2
(
255
)
NULL
,
maxextents
unlimited
BIZ_NO
VARCHAR2
(
128
)
NULL
,
);
UPDATE_USER_ID
NUMBER
(
11
)
NULL
,
EXT1
VARCHAR2
(
255
)
NULL
,
prompt
Creating
CORE_FILE
...
DEL_FLAG
NUMBER
(
4
)
NULL
,
create
table
CORE_FILE
CREATE_TIME
DATE
NULL
,
(
UPLOAD_USER_ORG
NUMBER
(
11
)
NULL
id
NUMBER
(
11
)
not
null
,
name
VARCHAR2
(
64
),
path
VARCHAR2
(
255
),
biz_id
VARCHAR2
(
128
),
user_id
NUMBER
(
11
),
create_time
DATE
,
org_id
NUMBER
(
11
),
biz_type
VARCHAR2
(
128
),
file_batch_id
VARCHAR2
(
128
)
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
;
alter
table
CORE_FILE
COMMENT
ON
TABLE
core_file
IS
'文件表'
;
add
primary
key
(
ID
)
COMMENT
ON
COLUMN
core_file
.
"NAME"
IS
'文件名称'
;
using
index
COMMENT
ON
COLUMN
core_file
.
"PATH"
IS
'路径'
;
tablespace
USERS
COMMENT
ON
COLUMN
core_file
.
"BIZ_NO"
IS
'业务ID'
;
pctfree
10
COMMENT
ON
COLUMN
core_file
.
"UPDATE_USER_ID"
IS
'上传人id'
;
initrans
2
COMMENT
ON
COLUMN
core_file
.
"EXT1"
IS
'扩展字段'
;
maxtrans
255
;
COMMENT
ON
COLUMN
core_file
.
"DEL_FLAG"
IS
'删除标记'
;
COMMENT
ON
COLUMN
core_file
.
"CREATE_TIME"
IS
'创建时间'
;
prompt
Creating
CORE_FILE_TAG
...
create
table
CORE_FILE_TAG
-- ----------------------------
(
-- Records of core_file
id
NUMBER
(
20
)
not
null
,
-- ----------------------------
key
VARCHAR2
(
64
)
not
null
,
INSERT
INTO
core_file
VALUES
(
'1'
,
'文件1'
,
'/dal'
,
'1'
,
'1'
,
null
,
'0'
,
null
,
'1'
);
value
VARCHAR2
(
255
)
not
null
,
INSERT
INTO
core_file
VALUES
(
'2'
,
'ajls'
,
'/aefs'
,
'2'
,
'2'
,
null
,
'0'
,
null
,
'1'
);
file_id
NUMBER
(
20
)
not
null
-- ----------------------------
-- Table structure for core_file_tag
-- ----------------------------
DROP
TABLE
core_file_tag
;
CREATE
TABLE
core_file_tag
(
ID
NUMBER
(
11
)
NOT
NULL
,
KEY
VARCHAR2
(
64
)
NOT
NULL
,
VALUE
VARCHAR2
(
255
)
NOT
NULL
,
FILE_ID
NUMBER
(
11
)
NOT
NULL
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
;
alter
table
CORE_FILE_TAG
COMMENT
ON
TABLE
core_file_tag
IS
'文件标签'
;
add
primary
key
(
ID
)
COMMENT
ON
COLUMN
core_file_tag
.
"KEY"
IS
'key,关键字'
;
using
index
COMMENT
ON
COLUMN
core_file_tag
.
"VALUE"
IS
'关键字对应的值'
;
tablespace
USERS
COMMENT
ON
COLUMN
core_file_tag
.
"FILE_ID"
IS
'sys_file的id,文件id'
;
pctfree
10
initrans
2
-- ----------------------------
maxtrans
255
;
-- Records of core_file_tag
-- ----------------------------
prompt
Creating
CORE_FUNCTION
...
INSERT
INTO
core_file_tag
VALUES
(
'1'
,
'customer'
,
'12332'
,
'1'
);
create
table
CORE_FUNCTION
INSERT
INTO
core_file_tag
VALUES
(
'2'
,
'type'
,
'crdit'
,
'2'
);
(
id
NUMBER
(
11
)
not
null
,
-- ----------------------------
code
VARCHAR2
(
256
),
-- Table structure for core_function
name
VARCHAR2
(
16
),
-- ----------------------------
create_time
DATE
,
DROP
TABLE
core_function
;
access_url
VARCHAR2
(
256
),
CREATE
TABLE
core_function
(
parent_id
NUMBER
(
11
),
ID
NUMBER
(
11
)
NOT
NULL
,
type
VARCHAR2
(
4
)
CODE
NCLOB
NULL
,
NAME
VARCHAR2
(
16
)
NULL
,
CREATE_TIME
DATE
NULL
,
ACCESS_URL
NCLOB
NULL
,
PARENT_ID
NUMBER
(
11
)
NULL
,
TYPE
VARCHAR2
(
4
)
NULL
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
(
-- ----------------------------
initial
64
K
-- Records of core_function
next
1
M
-- ----------------------------
minextents
1
INSERT
INTO
core_function
VALUES
(
'1'
,
'user'
,
'用户功能'
,
null
,
'/admin/user/index.do'
,
'0'
,
'FN0'
);
maxextents
unlimited
INSERT
INTO
core_function
VALUES
(
'2'
,
'user.query'
,
'用户列表'
,
null
,
null
,
'1'
,
'FN1'
);
);
INSERT
INTO
core_function
VALUES
(
'3'
,
'user.edit'
,
'用户编辑'
,
null
,
null
,
'1'
,
'FN0'
);
alter
table
CORE_FUNCTION
INSERT
INTO
core_function
VALUES
(
'6'
,
'org'
,
'组织机构'
,
null
,
'/admin/org/index.do'
,
'0'
,
'FN0'
);
add
primary
key
(
ID
)
INSERT
INTO
core_function
VALUES
(
'7'
,
'role'
,
'角色管理'
,
null
,
'/admin/role/index.do'
,
'0'
,
'FN0'
);
using
index
INSERT
INTO
core_function
VALUES
(
'8'
,
'menu'
,
'菜单管理'
,
null
,
'/admin/menu/index.do'
,
'0'
,
'FN0'
);
tablespace
USERS
INSERT
INTO
core_function
VALUES
(
'9'
,
'function'
,
'功能点管理'
,
null
,
'/admin/function/index.do'
,
'0'
,
'FN0'
);
pctfree
10
INSERT
INTO
core_function
VALUES
(
'10'
,
'roleFunction'
,
'角色功能授权'
,
null
,
'/admin/role/function.do'
,
'0'
,
'FN0'
);
initrans
2
INSERT
INTO
core_function
VALUES
(
'11'
,
'roleDataAccess'
,
'角色数据授权'
,
null
,
'/admin/role/data.do'
,
'0'
,
'FN0'
);
maxtrans
255
INSERT
INTO
core_function
VALUES
(
'12'
,
'code'
,
'代码生成'
,
null
,
'/core/codeGen/index.do'
,
'0'
,
'FN0'
);
storage
INSERT
INTO
core_function
VALUES
(
'13'
,
'dict'
,
'字典管理'
,
null
,
'/admin/dict/index.do'
,
'0'
,
'FN0'
);
(
INSERT
INTO
core_function
VALUES
(
'18'
,
'trace'
,
'审计查询'
,
null
,
'/admin/audit/index.do'
,
'0'
,
'FN0'
);
initial
64
K
INSERT
INTO
core_function
VALUES
(
'19'
,
'file'
,
'相关文档'
,
null
,
'/trade/interAndRelate/file.do'
,
'0'
,
'FN0'
);
next
1
M
INSERT
INTO
core_function
VALUES
(
'91'
,
'test'
,
'测试'
,
TO_DATE
(
'2017-10-11 16:59:01'
,
'YYYY-MM-DD HH24:MI:SS'
),
'/test/test.do'
,
'6'
,
'FN0'
);
minextents
1
INSERT
INTO
core_function
VALUES
(
'161'
,
'role.add'
,
'角色添加'
,
TO_DATE
(
'2017-10-23 09:45:05'
,
'YYYY-MM-DD HH24:MI:SS'
),
null
,
'7'
,
'FN0'
);
maxextents
unlimited
INSERT
INTO
core_function
VALUES
(
'167'
,
'workflow.admin'
,
'工作流监控'
,
null
,
'/admin/workflow/index.do'
,
'0'
,
'FN0'
);
);
INSERT
INTO
core_function
VALUES
(
'180'
,
'code.query'
,
'代码生成测试'
,
null
,
null
,
'12'
,
'FN0'
);
INSERT
INTO
core_function
VALUES
(
'181'
,
'blog.query'
,
'博客查询功能'
,
null
,
empty_clob
(),
'182'
,
'FN0'
);
prompt
Creating
CORE_MENU
...
INSERT
INTO
core_function
VALUES
(
'182'
,
'blog'
,
'博客测试'
,
null
,
'/admin/blog/index.do'
,
'0'
,
'FN0'
);
create
table
CORE_MENU
(
-- ----------------------------
id
NUMBER
(
11
)
not
null
,
-- Table structure for core_menu
code
VARCHAR2
(
16
),
-- ----------------------------
name
VARCHAR2
(
16
),
DROP
TABLE
core_menu
;
create_time
DATE
,
CREATE
TABLE
core_menu
(
function_id
NUMBER
(
11
),
ID
NUMBER
(
11
)
NOT
NULL
,
type
VARCHAR2
(
6
),
CODE
VARCHAR2
(
16
)
NULL
,
parent_menu_id
NUMBER
(
11
),
NAME
VARCHAR2
(
16
)
NULL
,
seq
NUMBER
(
11
),
CREATE_TIME
DATE
NULL
,
icon
VARCHAR2
(
255
)
FUNCTION_ID
NUMBER
(
11
)
NULL
,
TYPE
VARCHAR2
(
6
)
NULL
,
PARENT_MENU_ID
NUMBER
(
11
)
NULL
,
SEQ
NUMBER
(
11
)
NULL
,
ICON
VARCHAR2
(
255
)
NULL
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
COMMENT
ON
COLUMN
core_menu
.
"TYPE"
IS
'1,系统,2 导航 3 菜单项(对应某个功能点)'
;
(
COMMENT
ON
COLUMN
core_menu
.
"ICON"
IS
'图标'
;
initial
64
K
next
1
M
-- ----------------------------
minextents
1
-- Records of core_menu
maxextents
unlimited
-- ----------------------------
);
INSERT
INTO
core_menu
VALUES
(
'8'
,
'系统管理'
,
'系统管理'
,
null
,
null
,
'MENU_S'
,
'0'
,
'1'
,
null
);
comment
on
column
CORE_MENU
.
type
INSERT
INTO
core_menu
VALUES
(
'10'
,
'用户管理'
,
'用户管理'
,
null
,
'1'
,
'MENU_M'
,
'18'
,
'1'
,
null
);
is
'1,系统,2 导航 3 菜单项(对应某个功能点)'
;
INSERT
INTO
core_menu
VALUES
(
'11'
,
'组织机构管理'
,
'组织机构管理'
,
null
,
'6'
,
'MENU_M'
,
'18'
,
'2'
,
null
);
comment
on
column
CORE_MENU
.
icon
INSERT
INTO
core_menu
VALUES
(
'12'
,
'角色管理'
,
'角色管理'
,
null
,
'7'
,
'MENU_M'
,
'18'
,
'3'
,
null
);
is
'图标'
;
INSERT
INTO
core_menu
VALUES
(
'13'
,
'菜单项'
,
'菜单项'
,
null
,
'8'
,
'MENU_M'
,
'18'
,
'4'
,
null
);
alter
table
CORE_MENU
INSERT
INTO
core_menu
VALUES
(
'14'
,
'功能点管理'
,
'功能点管理'
,
null
,
'9'
,
'MENU_M'
,
'18'
,
'5'
,
null
);
add
primary
key
(
ID
)
INSERT
INTO
core_menu
VALUES
(
'15'
,
'字典数据管理'
,
'字典数据管理'
,
null
,
'13'
,
'MENU_M'
,
'18'
,
'6'
,
null
);
using
index
INSERT
INTO
core_menu
VALUES
(
'16'
,
'审计查询'
,
'审计查询'
,
null
,
'18'
,
'MENU_M'
,
'19'
,
'7'
,
null
);
tablespace
USERS
INSERT
INTO
core_menu
VALUES
(
'17'
,
'代码生成'
,
'代码生成'
,
null
,
'12'
,
'MENU_M'
,
'19'
,
'8'
,
null
);
pctfree
10
INSERT
INTO
core_menu
VALUES
(
'18'
,
'基础管理'
,
'基础管理'
,
null
,
null
,
'MENU_N'
,
'8'
,
'1'
,
null
);
initrans
2
INSERT
INTO
core_menu
VALUES
(
'19'
,
'监控管理'
,
'监控管理'
,
null
,
null
,
'MENU_N'
,
'8'
,
'2'
,
null
);
maxtrans
255
INSERT
INTO
core_menu
VALUES
(
'20'
,
'流程监控'
,
'流程监控'
,
null
,
'167'
,
'MENU_M'
,
'19'
,
'3'
,
null
);
storage
INSERT
INTO
core_menu
VALUES
(
'21'
,
'角色功能授权'
,
'角色功能授权'
,
null
,
'10'
,
'MENU_M'
,
'18'
,
'8'
,
null
);
(
INSERT
INTO
core_menu
VALUES
(
'22'
,
'角色数据授权'
,
'角色数据授权'
,
null
,
'11'
,
'MENU_M'
,
'18'
,
'9'
,
null
);
initial
64
K
INSERT
INTO
core_menu
VALUES
(
'23'
,
'博客测试'
,
'博客测试1'
,
null
,
'182'
,
'MENU_M'
,
'19'
,
'9'
,
null
);
next
1
M
minextents
1
-- ----------------------------
maxextents
unlimited
-- Table structure for core_org
);
-- ----------------------------
DROP
TABLE
core_org
;
prompt
Creating
CORE_ORG
...
CREATE
TABLE
core_org
(
create
table
CORE_ORG
ID
NUMBER
(
11
)
NOT
NULL
,
(
CODE
VARCHAR2
(
16
)
NOT
NULL
,
id
NUMBER
(
11
)
not
null
,
NAME
VARCHAR2
(
128
)
NOT
NULL
,
code
VARCHAR2
(
16
)
not
null
,
CREATE_TIME
DATE
NULL
,
name
VARCHAR2
(
128
)
not
null
,
PARENT_ORG_ID
NUMBER
(
11
)
NULL
,
create_time
DATE
,
TYPE
VARCHAR2
(
6
)
NOT
NULL
,
parent_org_id
NUMBER
(
11
),
DEL_FLAG
NUMBER
(
4
)
NULL
type
VARCHAR2
(
6
)
not
null
,
del_flag
NUMBER
(
4
)
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
COMMENT
ON
COLUMN
core_org
.
TYPE
IS
'1 公司,2 部门,3 小组'
;
(
initial
64
K
-- ----------------------------
next
1
M
-- Records of core_org
minextents
1
-- ----------------------------
maxextents
unlimited
INSERT
INTO
core_org
VALUES
(
'1'
,
'集团公司'
,
'集团'
,
TO_DATE
(
'2018-02-02 17:18:50'
,
'YYYY-MM-DD HH24:MI:SS'
),
null
,
'ORGT0'
,
'0'
);
);
INSERT
INTO
core_org
VALUES
(
'3'
,
'信息科技部门'
,
'信息科技部门'
,
null
,
'1'
,
'ORGT2'
,
'0'
);
comment
on
column
CORE_ORG
.
type
INSERT
INTO
core_org
VALUES
(
'4'
,
'贵州银行'
,
'贵州银行'
,
TO_DATE
(
'2018-02-02 17:18:56'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
'ORGT1'
,
'0'
);
is
'1 公司,2 部门,3 小组'
;
INSERT
INTO
core_org
VALUES
(
'5'
,
'贵州银行金科'
,
'贵州银行金融科技开发公司'
,
null
,
'4'
,
'ORGT1'
,
'0'
);
alter
table
CORE_ORG
INSERT
INTO
core_org
VALUES
(
'6'
,
'金科研发'
,
'金科研发'
,
null
,
'5'
,
'ORGT2'
,
'0'
);
add
primary
key
(
ID
)
INSERT
INTO
core_org
VALUES
(
'7'
,
'金科研发部门'
,
'金科研发部门'
,
TO_DATE
(
'2018-02-05 13:49:52'
,
'YYYY-MM-DD HH24:MI:SS'
),
'6'
,
'ORGT2'
,
'0'
);
using
index
INSERT
INTO
core_org
VALUES
(
'8'
,
'金科研发2部'
,
'金科研发2部'
,
TO_DATE
(
'2018-02-05 13:50:43'
,
'YYYY-MM-DD HH24:MI:SS'
),
'6'
,
'ORGT2'
,
'0'
);
tablespace
USERS
pctfree
10
-- ----------------------------
initrans
2
-- Table structure for core_role
maxtrans
255
-- ----------------------------
storage
DROP
TABLE
core_role
;
(
CREATE
TABLE
core_role
(
initial
64
K
ID
NUMBER
(
11
)
NOT
NULL
,
next
1
M
CODE
VARCHAR2
(
16
)
NULL
,
minextents
1
NAME
VARCHAR2
(
255
)
NULL
,
maxextents
unlimited
CREATE_TIME
DATE
NULL
,
);
TYPE
VARCHAR2
(
6
)
NULL
prompt
Creating
CORE_ROLE
...
create
table
CORE_ROLE
(
id
NUMBER
(
11
)
not
null
,
code
VARCHAR2
(
16
),
name
VARCHAR2
(
255
),
create_time
DATE
,
type
VARCHAR2
(
6
)
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
COMMENT
ON
COLUMN
core_role
.
"CODE"
IS
'角色编码'
;
(
COMMENT
ON
COLUMN
core_role
.
"NAME"
IS
'角色名称'
;
initial
64
K
COMMENT
ON
COLUMN
core_role
.
"CREATE_TIME"
IS
'创建时间'
;
next
1
M
COMMENT
ON
COLUMN
core_role
.
"TYPE"
IS
'1 可以配置 2 固定权限角色'
;
minextents
1
maxextents
unlimited
-- ----------------------------
);
-- Records of core_role
comment
on
column
CORE_ROLE
.
code
-- ----------------------------
is
'角色编码'
;
INSERT
INTO
core_role
VALUES
(
'1'
,
'DEPT_MANAGER'
,
'部门管理员'
,
null
,
'R0'
);
comment
on
column
CORE_ROLE
.
name
INSERT
INTO
core_role
VALUES
(
'2'
,
'CEO'
,
'公司CEO'
,
null
,
'R0'
);
is
'角色名称'
;
INSERT
INTO
core_role
VALUES
(
'3'
,
'ASSIST'
,
'助理'
,
null
,
'R0'
);
comment
on
column
CORE_ROLE
.
create_time
INSERT
INTO
core_role
VALUES
(
'12'
,
'111'
,
'2324324'
,
TO_DATE
(
'2017-09-06 04:08:00'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
is
'创建时间'
;
INSERT
INTO
core_role
VALUES
(
'13'
,
'1111'
,
'哈哈'
,
TO_DATE
(
'2017-09-06 04:09:05'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
comment
on
column
CORE_ROLE
.
type
INSERT
INTO
core_role
VALUES
(
'15'
,
'admin'
,
'ivy'
,
TO_DATE
(
'2017-09-06 05:35:04'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
is
'1 可以配置 2 固定权限角色'
;
INSERT
INTO
core_role
VALUES
(
'17'
,
'123'
,
'我'
,
TO_DATE
(
'2017-09-06 21:23:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
create
index
code_idx
on
CORE_ROLE
(
CODE
)
INSERT
INTO
core_role
VALUES
(
'18'
,
'23'
,
'234'
,
TO_DATE
(
'2017-09-06 21:41:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
tablespace
USERS
INSERT
INTO
core_role
VALUES
(
'19'
,
'132484'
,
'1'
,
TO_DATE
(
'2017-09-06 21:42:02'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
pctfree
10
INSERT
INTO
core_role
VALUES
(
'173'
,
'dept.admin'
,
'部门辅助管理员'
,
TO_DATE
(
'2017-10-25 10:29:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'R0'
);
initrans
2
maxtrans
255
-- ----------------------------
storage
-- Table structure for core_role_function
(
-- ----------------------------
initial
64
K
DROP
TABLE
core_role_function
;
next
1
M
CREATE
TABLE
core_role_function
(
minextents
1
ID
NUMBER
(
11
)
NOT
NULL
,
maxextents
unlimited
ROLE_ID
NUMBER
(
11
)
NULL
,
);
FUNCTION_ID
NUMBER
(
11
)
NULL
,
alter
table
CORE_ROLE
DATA_ACCESS_TYPE
NUMBER
(
4
)
NULL
,
add
primary
key
(
ID
)
DATA_ACCESS_POLICY
VARCHAR2
(
128
)
NULL
using
index
tablespace
USERS
pctfree
10
initrans
2
maxtrans
255
storage
(
initial
64
K
next
1
M
minextents
1
maxextents
unlimited
);
prompt
Creating
CORE_ROLE_FUNCTION
...
create
table
CORE_ROLE_FUNCTION
(
id
NUMBER
(
11
)
not
null
,
role_id
NUMBER
(
11
),
function_id
NUMBER
(
11
),
data_access_type
NUMBER
(
4
),
data_access_policy
VARCHAR2
(
128
)
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
(
-- ----------------------------
initial
64
K
-- Records of core_role_function
next
1
M
-- ----------------------------
minextents
1
INSERT
INTO
core_role_function
VALUES
(
'1'
,
'1'
,
'1'
,
'5'
,
null
);
maxextents
unlimited
INSERT
INTO
core_role_function
VALUES
(
'2'
,
'1'
,
'2'
,
'1'
,
null
);
);
INSERT
INTO
core_role_function
VALUES
(
'3'
,
'1'
,
'3'
,
'5'
,
null
);
alter
table
CORE_ROLE_FUNCTION
INSERT
INTO
core_role_function
VALUES
(
'4'
,
'2'
,
'2'
,
'2'
,
null
);
add
primary
key
(
ID
)
INSERT
INTO
core_role_function
VALUES
(
'5'
,
'3'
,
'2'
,
'5'
,
null
);
using
index
INSERT
INTO
core_role_function
VALUES
(
'6'
,
'3'
,
'3'
,
'5'
,
null
);
tablespace
USERS
INSERT
INTO
core_role_function
VALUES
(
'162'
,
'1'
,
'6'
,
null
,
null
);
pctfree
10
INSERT
INTO
core_role_function
VALUES
(
'164'
,
'1'
,
'91'
,
null
,
null
);
initrans
2
INSERT
INTO
core_role_function
VALUES
(
'174'
,
'173'
,
'1'
,
null
,
null
);
maxtrans
255
INSERT
INTO
core_role_function
VALUES
(
'176'
,
'173'
,
'2'
,
'5'
,
null
);
storage
INSERT
INTO
core_role_function
VALUES
(
'177'
,
'173'
,
'3'
,
null
,
null
);
(
INSERT
INTO
core_role_function
VALUES
(
'178'
,
'173'
,
'167'
,
null
,
null
);
initial
64
K
INSERT
INTO
core_role_function
VALUES
(
'192'
,
'3'
,
'1'
,
null
,
null
);
next
1
M
INSERT
INTO
core_role_function
VALUES
(
'194'
,
'3'
,
'12'
,
null
,
null
);
minextents
1
INSERT
INTO
core_role_function
VALUES
(
'196'
,
'3'
,
'180'
,
'3'
,
null
);
maxextents
unlimited
INSERT
INTO
core_role_function
VALUES
(
'197'
,
null
,
'1'
,
null
,
null
);
);
INSERT
INTO
core_role_function
VALUES
(
'198'
,
null
,
'2'
,
null
,
null
);
INSERT
INTO
core_role_function
VALUES
(
'199'
,
null
,
'3'
,
null
,
null
);
prompt
Creating
CORE_ROLE_MENU
...
INSERT
INTO
core_role_function
VALUES
(
'200'
,
null
,
'6'
,
null
,
null
);
create
table
CORE_ROLE_MENU
INSERT
INTO
core_role_function
VALUES
(
'201'
,
null
,
'91'
,
null
,
null
);
(
INSERT
INTO
core_role_function
VALUES
(
'202'
,
null
,
'8'
,
null
,
null
);
id
NUMBER
(
11
)
not
null
,
INSERT
INTO
core_role_function
VALUES
(
'205'
,
'1'
,
'182'
,
null
,
null
);
role_id
NUMBER
(
11
),
INSERT
INTO
core_role_function
VALUES
(
'206'
,
'1'
,
'181'
,
null
,
null
);
menu_id
NUMBER
(
11
),
create_time
DATE
-- ----------------------------
-- Table structure for core_role_menu
-- ----------------------------
DROP
TABLE
core_role_menu
;
CREATE
TABLE
core_role_menu
(
ID
NUMBER
(
11
)
NOT
NULL
,
ROLE_ID
NUMBER
(
11
)
NULL
,
MENU_ID
NUMBER
(
11
)
NULL
,
CREATE_TIME
DATE
NULL
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
(
-- ----------------------------
initial
64
K
-- Records of core_role_menu
next
1
M
-- ----------------------------
minextents
1
INSERT
INTO
core_role_menu
VALUES
(
'1'
,
'1'
,
'10'
,
null
);
maxextents
unlimited
INSERT
INTO
core_role_menu
VALUES
(
'163'
,
'1'
,
'11'
,
null
);
);
INSERT
INTO
core_role_menu
VALUES
(
'175'
,
'173'
,
'10'
,
null
);
alter
table
CORE_ROLE_MENU
INSERT
INTO
core_role_menu
VALUES
(
'193'
,
'3'
,
'10'
,
null
);
add
primary
key
(
ID
)
INSERT
INTO
core_role_menu
VALUES
(
'195'
,
'3'
,
'17'
,
null
);
using
index
INSERT
INTO
core_role_menu
VALUES
(
'196'
,
null
,
'10'
,
null
);
tablespace
USERS
INSERT
INTO
core_role_menu
VALUES
(
'197'
,
null
,
'11'
,
null
);
pctfree
10
INSERT
INTO
core_role_menu
VALUES
(
'198'
,
null
,
'13'
,
null
);
initrans
2
INSERT
INTO
core_role_menu
VALUES
(
'200'
,
'1'
,
'23'
,
null
);
maxtrans
255
storage
-- ----------------------------
(
-- Table structure for core_user
initial
64
K
-- ----------------------------
next
1
M
DROP
TABLE
core_user
;
minextents
1
CREATE
TABLE
core_user
(
maxextents
unlimited
ID
NUMBER
(
11
)
NOT
NULL
,
);
CODE
VARCHAR2
(
16
)
NULL
,
NAME
VARCHAR2
(
16
)
NULL
,
prompt
Creating
CORE_USER
...
PASSWORD
VARCHAR2
(
64
)
NULL
,
create
table
CORE_USER
CREATE_TIME
DATE
NULL
,
(
ORG_ID
NUMBER
(
11
)
NULL
,
id
NUMBER
(
11
)
not
null
,
STATE
VARCHAR2
(
16
)
NULL
,
code
VARCHAR2
(
16
),
JOB_TYPE1
VARCHAR2
(
16
)
NULL
,
name
VARCHAR2
(
16
),
DEL_FLAG
NUMBER
(
4
)
NULL
,
password
VARCHAR2
(
64
),
update_Time
DATE
NULL
,
create_time
DATE
,
JOB_TYPE0
VARCHAR2
(
16
)
NULL
org_id
NUMBER
(
11
),
state
VARCHAR2
(
16
),
job_type1
VARCHAR2
(
16
),
del_flag
NUMBER
(
4
),
update_time
DATE
,
job_type0
VARCHAR2
(
16
)
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
COMMENT
ON
COLUMN
core_user
.
"STATE"
IS
'用户状态 1:启用 0:停用'
;
(
COMMENT
ON
COLUMN
core_user
.
"DEL_FLAG"
IS
'用户删除标记 0:未删除 1:已删除'
;
initial
64
K
next
1
M
-- ----------------------------
minextents
1
-- Records of core_user
maxextents
unlimited
-- ----------------------------
);
INSERT
INTO
core_user
VALUES
(
'1'
,
'admin'
,
'超级管理员1'
,
'123456'
,
TO_DATE
(
'2017-09-13 09:21:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'1'
,
'S1'
,
'JT_S_01'
,
'0'
,
TO_DATE
(
'2017-09-13 09:21:03'
,
'YYYY-MM-DD HH24:MI:SS'
),
'JT_01'
);
comment
on
column
CORE_USER
.
state
INSERT
INTO
core_user
VALUES
(
'171'
,
'lixx'
,
'李小小'
,
null
,
TO_DATE
(
'2018-01-28 11:21:20'
,
'YYYY-MM-DD HH24:MI:SS'
),
'3'
,
'S1'
,
'JT_S_04'
,
'0'
,
null
,
'JT_02'
);
is
'用户状态 1:启用 0:停用'
;
INSERT
INTO
core_user
VALUES
(
'172'
,
'lixx2'
,
'李xx2'
,
'123456'
,
TO_DATE
(
'2018-01-28 11:22:38'
,
'YYYY-MM-DD HH24:MI:SS'
),
'4'
,
'S1'
,
'JT_S_02'
,
'0'
,
null
,
'JT_01'
);
comment
on
column
CORE_USER
.
del_flag
INSERT
INTO
core_user
VALUES
(
'173'
,
'test1'
,
'test1'
,
'123'
,
TO_DATE
(
'2018-01-28 14:44:55'
,
'YYYY-MM-DD HH24:MI:SS'
),
'5'
,
'S1'
,
'JT_S_04'
,
'0'
,
null
,
'JT_02'
);
is
'用户删除标记 0:未删除 1:已删除'
;
INSERT
INTO
core_user
VALUES
(
'174'
,
'hank250'
,
'李小熊'
,
null
,
TO_DATE
(
'2018-02-16 11:36:41'
,
'YYYY-MM-DD HH24:MI:SS'
),
'4'
,
'S1'
,
'JT_S_04'
,
'0'
,
null
,
'JT_02'
);
alter
table
CORE_USER
add
primary
key
(
ID
)
-- ----------------------------
using
index
-- Table structure for core_user_role
tablespace
USERS
-- ----------------------------
pctfree
10
DROP
TABLE
core_user_role
;
initrans
2
CREATE
TABLE
core_user_role
(
maxtrans
255
ID
NUMBER
(
11
)
NOT
NULL
,
storage
USER_ID
NUMBER
(
11
)
NULL
,
(
ROLE_ID
NUMBER
(
11
)
NULL
,
initial
64
K
ORG_ID
NUMBER
(
11
)
NULL
,
next
1
M
CREATE_TIME
DATE
NULL
minextents
1
maxextents
unlimited
);
prompt
Creating
CORE_USER_ROLE
...
create
table
CORE_USER_ROLE
(
id
NUMBER
(
11
)
not
null
,
user_id
NUMBER
(
11
),
role_id
NUMBER
(
11
),
org_id
NUMBER
(
11
),
create_time
DATE
)
)
LOGGING
tablespace
USERS
NOCOMPRESS
pctfree
10
NOCACHE
initrans
1
maxtrans
255
;
storage
COMMENT
ON
TABLE
core_user_role
IS
'用户角色关系表'
;
(
initial
64
K
-- ----------------------------
next
1
M
-- Records of core_user_role
minextents
1
-- ----------------------------
maxextents
unlimited
INSERT
INTO
core_user_role
VALUES
(
'1'
,
'3'
,
'1'
,
'4'
,
null
);
);
INSERT
INTO
core_user_role
VALUES
(
'2'
,
'4'
,
'2'
,
'5'
,
null
);
comment
on
table
CORE_USER_ROLE
INSERT
INTO
core_user_role
VALUES
(
'3'
,
'75'
,
'3'
,
'6'
,
TO_DATE
(
'2017-09-21 18:03:05'
,
'YYYY-MM-DD HH24:MI:SS'
));
is
'用户角色关系表'
;
INSERT
INTO
core_user_role
VALUES
(
'35'
,
'1'
,
'1'
,
'1'
,
TO_DATE
(
'2017-09-06 01:12:02'
,
'YYYY-MM-DD HH24:MI:SS'
));
alter
table
CORE_USER_ROLE
INSERT
INTO
core_user_role
VALUES
(
'36'
,
'1'
,
'3'
,
'6'
,
TO_DATE
(
'2017-09-06 03:33:05'
,
'YYYY-MM-DD HH24:MI:SS'
));
add
primary
key
(
ID
)
INSERT
INTO
core_user_role
VALUES
(
'38'
,
'1'
,
'1'
,
'3'
,
TO_DATE
(
'2017-09-06 03:35:02'
,
'YYYY-MM-DD HH24:MI:SS'
));
using
index
INSERT
INTO
core_user_role
VALUES
(
'41'
,
'1'
,
'1'
,
'5'
,
TO_DATE
(
'2017-09-06 03:58:02'
,
'YYYY-MM-DD HH24:MI:SS'
));
tablespace
USERS
INSERT
INTO
core_user_role
VALUES
(
'42'
,
'3'
,
'3'
,
'1'
,
TO_DATE
(
'2017-09-06 04:01:00'
,
'YYYY-MM-DD HH24:MI:SS'
));
pctfree
10
INSERT
INTO
core_user_role
VALUES
(
'47'
,
'47'
,
'3'
,
'1'
,
TO_DATE
(
'2017-09-06 22:00:01'
,
'YYYY-MM-DD HH24:MI:SS'
));
initrans
2
INSERT
INTO
core_user_role
VALUES
(
'49'
,
'5'
,
'3'
,
'4'
,
TO_DATE
(
'2017-09-06 22:01:00'
,
'YYYY-MM-DD HH24:MI:SS'
));
maxtrans
255
INSERT
INTO
core_user_role
VALUES
(
'52'
,
'47'
,
'2'
,
'1'
,
TO_DATE
(
'2017-09-07 01:12:02'
,
'YYYY-MM-DD HH24:MI:SS'
));
storage
INSERT
INTO
core_user_role
VALUES
(
'53'
,
'48'
,
'3'
,
'4'
,
TO_DATE
(
'2017-09-07 01:14:04'
,
'YYYY-MM-DD HH24:MI:SS'
));
(
INSERT
INTO
core_user_role
VALUES
(
'55'
,
'68'
,
'2'
,
'3'
,
TO_DATE
(
'2017-09-07 21:42:03'
,
'YYYY-MM-DD HH24:MI:SS'
));
initial
64
K
INSERT
INTO
core_user_role
VALUES
(
'125'
,
'74'
,
'1'
,
'4'
,
TO_DATE
(
'2017-10-17 09:37:02'
,
'YYYY-MM-DD HH24:MI:SS'
));
next
1
M
INSERT
INTO
core_user_role
VALUES
(
'144'
,
'74'
,
'3'
,
null
,
TO_DATE
(
'2017-10-17 16:55:00'
,
'YYYY-MM-DD HH24:MI:SS'
));
minextents
1
INSERT
INTO
core_user_role
VALUES
(
'145'
,
'67'
,
'3'
,
null
,
TO_DATE
(
'2017-10-17 16:55:01'
,
'YYYY-MM-DD HH24:MI:SS'
));
maxextents
unlimited
INSERT
INTO
core_user_role
VALUES
(
'146'
,
'73'
,
'3'
,
null
,
TO_DATE
(
'2017-10-17 16:55:02'
,
'YYYY-MM-DD HH24:MI:SS'
));
);
INSERT
INTO
core_user_role
VALUES
(
'147'
,
'22'
,
'3'
,
null
,
TO_DATE
(
'2017-10-17 16:55:04'
,
'YYYY-MM-DD HH24:MI:SS'
));
INSERT
INTO
core_user_role
VALUES
(
'148'
,
'68'
,
'3'
,
null
,
TO_DATE
(
'2017-10-17 16:56:00'
,
'YYYY-MM-DD HH24:MI:SS'
));
prompt
Disabling
triggers
for
CMS_BLOG
...
INSERT
INTO
core_user_role
VALUES
(
'168'
,
'72'
,
'1'
,
'3'
,
TO_DATE
(
'2017-10-24 14:40:04'
,
'YYYY-MM-DD HH24:MI:SS'
));
alter
table
CMS_BLOG
disable
all
triggers
;
INSERT
INTO
core_user_role
VALUES
(
'169'
,
'41'
,
'1'
,
null
,
TO_DATE
(
'2017-10-25 08:58:01'
,
'YYYY-MM-DD HH24:MI:SS'
));
prompt
Disabling
triggers
for
CORE_AUDIT
...
INSERT
INTO
core_user_role
VALUES
(
'171'
,
'170'
,
'1'
,
'5'
,
TO_DATE
(
'2017-10-25 09:08:05'
,
'YYYY-MM-DD HH24:MI:SS'
));
alter
table
CORE_AUDIT
disable
all
triggers
;
INSERT
INTO
core_user_role
VALUES
(
'172'
,
'171'
,
'1'
,
'4'
,
TO_DATE
(
'2018-02-02 09:36:40'
,
'YYYY-MM-DD HH24:MI:SS'
));
prompt
Disabling
triggers
for
CORE_DICT
...
alter
table
CORE_DICT
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_FILE
...
-- Indexes structure for table cms_blog
alter
table
CORE_FILE
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_FILE_TAG
...
alter
table
CORE_FILE_TAG
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_FUNCTION
...
-- Checks structure for table cms_blog
alter
table
CORE_FUNCTION
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_MENU
...
ALTER
TABLE
cms_blog
ADD
CHECK
(
id
IS
NOT
NULL
);
alter
table
CORE_MENU
disable
all
triggers
;
prompt
Disabling
triggers
for
CORE_ORG
...
-- ----------------------------
alter
table
CORE_ORG
disable
all
triggers
;
-- Primary Key structure for table cms_blog
prompt
Disabling
triggers
for
CORE_ROLE
...
-- ----------------------------
alter
table
CORE_ROLE
disable
all
triggers
;
ALTER
TABLE
cms_blog
ADD
PRIMARY
KEY
(
id
);
prompt
Disabling
triggers
for
CORE_ROLE_FUNCTION
...
alter
table
CORE_ROLE_FUNCTION
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_ROLE_MENU
...
-- Indexes structure for table core_audit
alter
table
CORE_ROLE_MENU
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_USER
...
alter
table
CORE_USER
disable
all
triggers
;
-- ----------------------------
prompt
Disabling
triggers
for
CORE_USER_ROLE
...
-- Checks structure for table core_audit
alter
table
CORE_USER_ROLE
disable
all
triggers
;
-- ----------------------------
prompt
Loading
CMS_BLOG
...
ALTER
TABLE
core_audit
ADD
CHECK
(
ID
IS
NOT
NULL
);
insert
into
CMS_BLOG
(
id
,
title
,
content
,
create_time
,
create_user_id
,
type
)
values
(
1
,
'hello'
,
'我的博客,内容是。。。'
,
to_date
(
'22-02-2018 09:53:05'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
'F0'
);
-- ----------------------------
insert
into
CMS_BLOG
(
id
,
title
,
content
,
create_time
,
create_user_id
,
type
)
-- Primary Key structure for table core_audit
values
(
2
,
'cccc'
,
'过年回家'
,
to_date
(
'13-02-2018 10:30:01'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
'F0'
);
-- ----------------------------
commit
;
ALTER
TABLE
core_audit
ADD
PRIMARY
KEY
(
ID
);
prompt
2
records
loaded
prompt
Loading
CORE_AUDIT
...
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Indexes structure for table core_dict
values
(
1
,
'org.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 19:58:50'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
CREATE
INDEX
"idx_code"
values
(
2
,
'org.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 19:58:51'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ON
core_dict
(
TYPE
ASC
)
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
LOGGING
values
(
3
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:00:10'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
VISIBLE
;
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
CREATE
INDEX
"idx_pid"
values
(
4
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:00:11'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ON
core_dict
(
PARENT
ASC
)
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
LOGGING
values
(
5
,
'user.add'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:00:39'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
VISIBLE
;
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
CREATE
INDEX
"idx_value"
values
(
6
,
'user.edit'
,
'用户编辑'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:10:15'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ON
core_dict
(
VALUE
ASC
)
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
LOGGING
values
(
7
,
'user.query'
,
'用户列表'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:10:15'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
VISIBLE
;
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
8
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:10:16'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Checks structure for table core_dict
values
(
9
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:10:17'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_dict
ADD
CHECK
(
VALUE
IS
NOT
NULL
);
values
(
10
,
'user.edit'
,
'用户编辑'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:14:46'
,
'dd-mm-yyyy hh24:mi:ss'
),
0
,
'java.sql.SQLException: Error on delete of
''
C:
\U
sers
\A
DMINI~1
\A
ppData
\L
ocal
\T
emp
\#
sql978_2c3_6.MYI
''
(Errcode: 13 - Permission denied)'
,
null
);
ALTER
TABLE
core_dict
ADD
CHECK
(
NAME
IS
NOT
NULL
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_dict
ADD
CHECK
(
TYPE
IS
NOT
NULL
);
values
(
11
,
'user.edit'
,
'用户编辑'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:15:12'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_dict
ADD
CHECK
(
TYPE_NAME
IS
NOT
NULL
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
12
,
'user.query'
,
'用户列表'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:15:13'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Primary Key structure for table core_dict
values
(
13
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:15:14'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_dict
ADD
PRIMARY
KEY
(
id
);
values
(
14
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:15:14'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
15
,
'audit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'06-02-2018 20:16:23'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Indexes structure for table core_file
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
16
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:42:58'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
17
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:42:58'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Checks structure for table core_file
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
18
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:11'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_file
ADD
CHECK
(
ID
IS
NOT
NULL
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
19
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:11'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Primary Key structure for table core_file
values
(
20
,
'user.add'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:13'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_file
ADD
PRIMARY
KEY
(
ID
);
values
(
21
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:28'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
22
,
'role.add'
,
'角色添加'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:29'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Indexes structure for table core_file_tag
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
23
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:43'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
24
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:43'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Checks structure for table core_file_tag
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
25
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:53:45'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_file_tag
ADD
CHECK
(
ID
IS
NOT
NULL
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_file_tag
ADD
CHECK
(
KEY
IS
NOT
NULL
);
values
(
26
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:56:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_file_tag
ADD
CHECK
(
VALUE
IS
NOT
NULL
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_file_tag
ADD
CHECK
(
FILE_ID
IS
NOT
NULL
);
values
(
27
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:56:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
28
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:56:06'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Primary Key structure for table core_file_tag
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
29
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:56:07'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_file_tag
ADD
PRIMARY
KEY
(
ID
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
30
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:56:09'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Indexes structure for table core_function
values
(
31
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 09:56:10'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
32
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:02:00'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Checks structure for table core_function
values
(
33
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:02:00'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_function
ADD
CHECK
(
ID
IS
NOT
NULL
);
values
(
34
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:02:02'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
35
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:05:40'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Primary Key structure for table core_function
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
36
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:05:40'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_function
ADD
PRIMARY
KEY
(
ID
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
37
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:05:42'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Indexes structure for table core_menu
values
(
38
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:06:02'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
39
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:07:45'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Checks structure for table core_menu
values
(
40
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:07:45'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
ALTER
TABLE
core_menu
ADD
CHECK
(
ID
IS
NOT
NULL
);
values
(
41
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:07:47'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
42
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:08:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- Primary Key structure for table core_menu
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- ----------------------------
values
(
43
,
'role.update'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:08:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
ALTER
TABLE
core_menu
ADD
PRIMARY
KEY
(
ID
);
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
values
(
44
,
'role.edit'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:08:16'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
insert
into
CORE_AUDIT
(
id
,
function_code
,
function_name
,
user_id
,
user_name
,
ip
,
create_time
,
success
,
message
,
org_id
)
-- Indexes structure for table core_org
values
(
45
,
'role.query'
,
'未定义'
,
1
,
'超级管理员'
,
'172.16.49.65'
,
to_date
(
'07-02-2018 10:08:16'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
null
,
null
);
-- ----------------------------
commit
;
prompt
45
records
loaded
-- ----------------------------
prompt
Loading
CORE_DICT
...
-- Checks structure for table core_org
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
1
,
'DA0'
,
'查看自己'
,
'data_access_type'
,
'数据权限'
,
1
,
null
,
0
,
'11111111111111111123'
,
null
);
ALTER
TABLE
core_org
ADD
CHECK
(
ID
IS
NOT
NULL
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
ALTER
TABLE
core_org
ADD
CHECK
(
CODE
IS
NOT
NULL
);
values
(
2
,
'DA1'
,
'查看本公司'
,
'data_access_type'
,
'数据权限'
,
3
,
null
,
0
,
'hello,go'
,
null
);
ALTER
TABLE
core_org
ADD
CHECK
(
NAME
IS
NOT
NULL
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
ALTER
TABLE
core_org
ADD
CHECK
(
TYPE
IS
NOT
NULL
);
values
(
3
,
'DA2'
,
'查看同机构'
,
'data_access_type'
,
'数据权限'
,
3
,
null
,
0
,
null
,
null
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
4
,
'DA3'
,
'查看本部门'
,
'data_access_type'
,
'数据权限'
,
4
,
null
,
0
,
null
,
null
);
-- Primary Key structure for table core_org
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
5
,
'DA4'
,
'查看集团'
,
'data_access_type'
,
'数据权限'
,
5
,
null
,
0
,
null
,
null
);
ALTER
TABLE
core_org
ADD
PRIMARY
KEY
(
ID
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
values
(
6
,
'DA5'
,
'查看母公司'
,
'data_access_type'
,
'数据权限'
,
6
,
null
,
0
,
null
,
to_date
(
'14-10-2017 11:45:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- Indexes structure for table core_role
values
(
7
,
'FN0'
,
'普通功能'
,
'function_type'
,
'功能点类型'
,
2
,
null
,
0
,
null
,
to_date
(
'23-10-2017 10:18:03'
,
'dd-mm-yyyy hh24:mi:ss'
));
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
CREATE
INDEX
"code_idx"
values
(
8
,
'FN1'
,
'含数据权限'
,
'function_type'
,
'功能点类型'
,
1
,
null
,
0
,
null
,
to_date
(
'23-10-2017 10:20:05'
,
'dd-mm-yyyy hh24:mi:ss'
));
ON
core_role
(
CODE
ASC
)
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
LOGGING
values
(
9
,
'JT_01'
,
'管理岗位'
,
'job_type'
,
'岗位类型'
,
1
,
null
,
0
,
null
,
null
);
VISIBLE
;
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
values
(
10
,
'JT_02'
,
'技术岗位'
,
'job_type'
,
'岗位类型'
,
2
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- Checks structure for table core_role
values
(
11
,
'JT_S_01'
,
'董事会'
,
'job_sub_managment_type'
,
'管理岗位子类型'
,
1
,
'10'
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
ALTER
TABLE
core_role
ADD
CHECK
(
ID
IS
NOT
NULL
);
values
(
12
,
'JT_S_02'
,
'秘书'
,
'job_sub_managment_type'
,
'管理岗位子类型'
,
2
,
'10'
,
0
,
null
,
null
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
13
,
'JT_S_03'
,
'技术经理'
,
'job_dev_sub_type'
,
'技术岗位子类型'
,
1
,
'11'
,
0
,
null
,
null
);
-- Primary Key structure for table core_role
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
14
,
'JT_S_04'
,
'程序员'
,
'job_dev_sub_type'
,
'技术岗位子类型'
,
2
,
'11'
,
0
,
null
,
null
);
ALTER
TABLE
core_role
ADD
PRIMARY
KEY
(
ID
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
values
(
15
,
'MENU_M'
,
'菜单'
,
'menu_type'
,
'菜单类型'
,
3
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- Indexes structure for table core_role_function
values
(
16
,
'MENU_N'
,
'导航'
,
'menu_type'
,
'菜单类型'
,
2
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
values
(
17
,
'MENU_S'
,
'系统'
,
'menu_type'
,
'菜单类型'
,
1
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- Checks structure for table core_role_function
values
(
18
,
'ORGT0'
,
'集团总部'
,
'org_type'
,
'机构类型'
,
1
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
ALTER
TABLE
core_role_function
ADD
CHECK
(
ID
IS
NOT
NULL
);
values
(
19
,
'ORGT1'
,
'分公司'
,
'org_type'
,
'机构类型'
,
2
,
null
,
0
,
null
,
null
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
20
,
'ORGT2'
,
'部门'
,
'org_type'
,
'机构类型'
,
3
,
null
,
0
,
null
,
null
);
-- Primary Key structure for table core_role_function
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- ----------------------------
values
(
21
,
'ORGT3'
,
'小组'
,
'org_type'
,
'机构类型'
,
4
,
null
,
0
,
null
,
null
);
ALTER
TABLE
core_role_function
ADD
PRIMARY
KEY
(
ID
);
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
values
(
22
,
'R0'
,
'操作角色'
,
'role_type'
,
'数据权限'
,
1
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- Indexes structure for table core_role_menu
values
(
23
,
'R1'
,
'工作流角色'
,
'role_type'
,
'用户角色'
,
2
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
values
(
24
,
'S0'
,
'禁用'
,
'user_state'
,
'用户状态'
,
2
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
-- Checks structure for table core_role_menu
values
(
25
,
'S1'
,
'启用'
,
'user_state'
,
'用户状态'
,
1
,
null
,
0
,
null
,
null
);
-- ----------------------------
insert
into
CORE_DICT
(
id
,
value
,
name
,
type
,
type_name
,
sort
,
parent
,
del_flag
,
remark
,
create_time
)
ALTER
TABLE
core_role_menu
ADD
CHECK
(
ID
IS
NOT
NULL
);
values
(
26
,
'sdfsd'
,
'sdfsdf'
,
'sdfsdf'
,
'sdfsdf'
,
1
,
null
,
1
,
'dsfsdf'
,
to_date
(
'18-02-2018 21:31:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
commit
;
-- ----------------------------
prompt
26
records
loaded
-- Primary Key structure for table core_role_menu
prompt
Loading
CORE_FILE
...
-- ----------------------------
prompt
Table
is
empty
ALTER
TABLE
core_role_menu
ADD
PRIMARY
KEY
(
ID
);
prompt
Loading
CORE_FILE_TAG
...
prompt
Table
is
empty
-- ----------------------------
prompt
Loading
CORE_FUNCTION
...
-- Indexes structure for table core_user
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
1
,
'user'
,
'用户功能'
,
null
,
'/admin/user/index.do'
,
0
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
2
,
'user.query'
,
'用户列表'
,
null
,
null
,
1
,
'FN1'
);
-- Checks structure for table core_user
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
3
,
'user.edit'
,
'用户编辑'
,
null
,
null
,
1
,
'FN0'
);
ALTER
TABLE
core_user
ADD
CHECK
(
ID
IS
NOT
NULL
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
6
,
'org'
,
'组织机构'
,
null
,
'/admin/org/index.do'
,
0
,
'FN0'
);
-- ----------------------------
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- Primary Key structure for table core_user
values
(
7
,
'role'
,
'角色管理'
,
null
,
'/admin/role/index.do'
,
0
,
'FN0'
);
-- ----------------------------
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
ALTER
TABLE
core_user
ADD
PRIMARY
KEY
(
"ID"
);
values
(
8
,
'menu'
,
'菜单管理'
,
null
,
'/admin/menu/index.do'
,
0
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
9
,
'function'
,
'功能点管理'
,
null
,
'/admin/function/index.do'
,
0
,
'FN0'
);
-- Indexes structure for table core_user_role
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
10
,
'roleFunction'
,
'角色功能授权'
,
null
,
'/admin/role/function.do'
,
0
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
11
,
'roleDataAccess'
,
'角色数据授权'
,
null
,
'/admin/role/data.do'
,
0
,
'FN0'
);
-- Checks structure for table core_user_role
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- ----------------------------
values
(
12
,
'code'
,
'代码生成'
,
null
,
'/core/codeGen/index.do'
,
0
,
'FN0'
);
ALTER
TABLE
core_user_role
ADD
CHECK
(
ID
IS
NOT
NULL
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
13
,
'dict'
,
'字典管理'
,
null
,
'/admin/dict/index.do'
,
0
,
'FN0'
);
-- ----------------------------
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
-- Primary Key structure for table core_user_role
values
(
18
,
'trace'
,
'审计查询'
,
null
,
'/admin/audit/index.do'
,
0
,
'FN0'
);
-- ----------------------------
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
ALTER
TABLE
core_user_role
ADD
PRIMARY
KEY
(
ID
);
values
(
19
,
'file'
,
'相关文档'
,
null
,
'/trade/interAndRelate/file.do'
,
0
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
91
,
'test'
,
'测试'
,
to_date
(
'11-10-2017 16:59:01'
,
'dd-mm-yyyy hh24:mi:ss'
),
'/test/test.do'
,
6
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
161
,
'role.add'
,
'角色添加'
,
to_date
(
'23-10-2017 09:45:05'
,
'dd-mm-yyyy hh24:mi:ss'
),
null
,
7
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
167
,
'workflow.admin'
,
'工作流监控'
,
null
,
'/admin/workflow/index.do'
,
0
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
180
,
'code.query'
,
'代码生成测试'
,
null
,
null
,
12
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
181
,
'blog.query'
,
'博客查询功能'
,
null
,
null
,
182
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
182
,
'blog'
,
'博客测试'
,
null
,
'/admin/blog/index.do'
,
0
,
'FN0'
);
insert
into
CORE_FUNCTION
(
id
,
code
,
name
,
create_time
,
access_url
,
parent_id
,
type
)
values
(
1001
,
'子系统生成'
,
'子系统生成'
,
to_date
(
'12-03-2018 11:52:25'
,
'dd-mm-yyyy hh24:mi:ss'
),
'/core/codeGen/project.do'
,
0
,
'FN0'
);
commit
;
prompt
20
records
loaded
prompt
Loading
CORE_MENU
...
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
8
,
'系统管理'
,
'系统管理'
,
null
,
null
,
'MENU_S'
,
0
,
1
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
10
,
'用户管理'
,
'用户管理'
,
null
,
1
,
'MENU_M'
,
18
,
1
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
11
,
'组织机构管理'
,
'组织机构管理'
,
null
,
6
,
'MENU_M'
,
18
,
2
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
12
,
'角色管理'
,
'角色管理'
,
null
,
7
,
'MENU_M'
,
18
,
3
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
13
,
'菜单项'
,
'菜单项'
,
null
,
8
,
'MENU_M'
,
18
,
4
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
14
,
'功能点管理'
,
'功能点管理'
,
null
,
9
,
'MENU_M'
,
18
,
5
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
15
,
'字典数据管理'
,
'字典数据管理'
,
null
,
13
,
'MENU_M'
,
18
,
6
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
16
,
'审计查询'
,
'审计查询'
,
null
,
18
,
'MENU_M'
,
19
,
7
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
17
,
'代码生成'
,
'代码生成'
,
null
,
12
,
'MENU_M'
,
1002
,
8
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
18
,
'基础管理'
,
'基础管理'
,
null
,
null
,
'MENU_N'
,
8
,
1
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
19
,
'监控管理'
,
'监控管理'
,
null
,
null
,
'MENU_N'
,
8
,
2
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
20
,
'流程监控'
,
'流程监控'
,
null
,
167
,
'MENU_M'
,
19
,
3
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
21
,
'角色功能授权'
,
'角色功能授权'
,
null
,
10
,
'MENU_M'
,
18
,
8
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
22
,
'角色数据授权'
,
'角色数据授权'
,
null
,
11
,
'MENU_M'
,
18
,
9
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
23
,
'博客测试'
,
'博客测试1'
,
null
,
182
,
'MENU_M'
,
19
,
9
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
1002
,
'代码生成管理'
,
'代码生成管理'
,
to_date
(
'12-03-2018 11:52:53'
,
'dd-mm-yyyy hh24:mi:ss'
),
null
,
'MENU_N'
,
8
,
2
,
null
);
insert
into
CORE_MENU
(
id
,
code
,
name
,
create_time
,
function_id
,
type
,
parent_menu_id
,
seq
,
icon
)
values
(
1003
,
'子系统生成'
,
'子系统生成'
,
to_date
(
'12-03-2018 13:21:54'
,
'dd-mm-yyyy hh24:mi:ss'
),
1001
,
'MENU_M'
,
1002
,
1
,
null
);
commit
;
prompt
17
records
loaded
prompt
Loading
CORE_ORG
...
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
1
,
'集团公司'
,
'集团'
,
to_date
(
'02-02-2018 17:18:50'
,
'dd-mm-yyyy hh24:mi:ss'
),
null
,
'ORGT0'
,
0
);
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
3
,
'信息科技部门'
,
'信息科技部门'
,
null
,
1
,
'ORGT2'
,
0
);
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
4
,
'贵州银行'
,
'贵州银行'
,
to_date
(
'02-02-2018 17:18:56'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
'ORGT1'
,
0
);
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
5
,
'贵州银行金科'
,
'贵州银行金融科技开发公司'
,
null
,
4
,
'ORGT1'
,
0
);
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
6
,
'金科研发'
,
'金科研发'
,
null
,
5
,
'ORGT2'
,
0
);
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
7
,
'金科研发部门'
,
'金科研发部门'
,
to_date
(
'05-02-2018 13:49:52'
,
'dd-mm-yyyy hh24:mi:ss'
),
6
,
'ORGT2'
,
0
);
insert
into
CORE_ORG
(
id
,
code
,
name
,
create_time
,
parent_org_id
,
type
,
del_flag
)
values
(
8
,
'金科研发2部'
,
'金科研发2部'
,
to_date
(
'05-02-2018 13:50:43'
,
'dd-mm-yyyy hh24:mi:ss'
),
6
,
'ORGT2'
,
0
);
commit
;
prompt
7
records
loaded
prompt
Loading
CORE_ROLE
...
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
1
,
'DEPT_MANAGER'
,
'部门管理员'
,
null
,
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
2
,
'CEO'
,
'公司CEO'
,
null
,
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
3
,
'ASSIST'
,
'助理'
,
null
,
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
12
,
'111'
,
'2324324'
,
to_date
(
'06-09-2017 04:08:00'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
13
,
'1111'
,
'哈哈'
,
to_date
(
'06-09-2017 04:09:05'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
15
,
'admin'
,
'ivy'
,
to_date
(
'06-09-2017 05:35:04'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
17
,
'123'
,
'我'
,
to_date
(
'06-09-2017 21:23:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
18
,
'23'
,
'234'
,
to_date
(
'06-09-2017 21:41:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
19
,
'132484'
,
'1'
,
to_date
(
'06-09-2017 21:42:02'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
insert
into
CORE_ROLE
(
id
,
code
,
name
,
create_time
,
type
)
values
(
173
,
'dept.admin'
,
'部门辅助管理员'
,
to_date
(
'25-10-2017 10:29:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
'R0'
);
commit
;
prompt
10
records
loaded
prompt
Loading
CORE_ROLE_FUNCTION
...
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
1
,
1
,
1
,
5
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
2
,
1
,
2
,
1
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
3
,
1
,
3
,
5
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
4
,
2
,
2
,
2
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
5
,
3
,
2
,
5
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
6
,
3
,
3
,
5
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
162
,
1
,
6
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
164
,
1
,
91
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
174
,
173
,
1
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
176
,
173
,
2
,
5
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
177
,
173
,
3
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
178
,
173
,
167
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
192
,
3
,
1
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
194
,
3
,
12
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
196
,
3
,
180
,
3
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
197
,
null
,
1
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
198
,
null
,
2
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
199
,
null
,
3
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
200
,
null
,
6
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
201
,
null
,
91
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
202
,
null
,
8
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
205
,
1
,
182
,
null
,
null
);
insert
into
CORE_ROLE_FUNCTION
(
id
,
role_id
,
function_id
,
data_access_type
,
data_access_policy
)
values
(
206
,
1
,
181
,
null
,
null
);
commit
;
prompt
23
records
loaded
prompt
Loading
CORE_ROLE_MENU
...
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
1
,
1
,
10
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
163
,
1
,
11
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
175
,
173
,
10
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
193
,
3
,
10
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
195
,
3
,
17
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
196
,
null
,
10
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
197
,
null
,
11
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
198
,
null
,
13
,
null
);
insert
into
CORE_ROLE_MENU
(
id
,
role_id
,
menu_id
,
create_time
)
values
(
200
,
1
,
23
,
null
);
commit
;
prompt
9
records
loaded
prompt
Loading
CORE_USER
...
insert
into
CORE_USER
(
id
,
code
,
name
,
password
,
create_time
,
org_id
,
state
,
job_type1
,
del_flag
,
update_time
,
job_type0
)
values
(
1
,
'admin'
,
'超级管理员1'
,
'123456'
,
to_date
(
'13-09-2017 09:21:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
1
,
'S1'
,
'JT_S_01'
,
0
,
to_date
(
'13-09-2017 09:21:03'
,
'dd-mm-yyyy hh24:mi:ss'
),
'JT_01'
);
insert
into
CORE_USER
(
id
,
code
,
name
,
password
,
create_time
,
org_id
,
state
,
job_type1
,
del_flag
,
update_time
,
job_type0
)
values
(
171
,
'lixx'
,
'李小小'
,
null
,
to_date
(
'28-01-2018 11:21:20'
,
'dd-mm-yyyy hh24:mi:ss'
),
3
,
'S1'
,
'JT_S_04'
,
0
,
null
,
'JT_02'
);
insert
into
CORE_USER
(
id
,
code
,
name
,
password
,
create_time
,
org_id
,
state
,
job_type1
,
del_flag
,
update_time
,
job_type0
)
values
(
172
,
'lixx2'
,
'李xx2'
,
'123456'
,
to_date
(
'28-01-2018 11:22:38'
,
'dd-mm-yyyy hh24:mi:ss'
),
4
,
'S1'
,
'JT_S_02'
,
0
,
null
,
'JT_01'
);
insert
into
CORE_USER
(
id
,
code
,
name
,
password
,
create_time
,
org_id
,
state
,
job_type1
,
del_flag
,
update_time
,
job_type0
)
values
(
173
,
'test1'
,
'test1'
,
'123'
,
to_date
(
'28-01-2018 14:44:55'
,
'dd-mm-yyyy hh24:mi:ss'
),
5
,
'S1'
,
'JT_S_04'
,
0
,
null
,
'JT_02'
);
insert
into
CORE_USER
(
id
,
code
,
name
,
password
,
create_time
,
org_id
,
state
,
job_type1
,
del_flag
,
update_time
,
job_type0
)
values
(
174
,
'hank250'
,
'李小熊'
,
null
,
to_date
(
'16-02-2018 11:36:41'
,
'dd-mm-yyyy hh24:mi:ss'
),
4
,
'S1'
,
'JT_S_04'
,
0
,
null
,
'JT_02'
);
commit
;
prompt
5
records
loaded
prompt
Loading
CORE_USER_ROLE
...
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
1
,
3
,
1
,
4
,
null
);
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
2
,
4
,
2
,
5
,
null
);
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
3
,
75
,
3
,
6
,
to_date
(
'21-09-2017 18:03:05'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
35
,
1
,
1
,
1
,
to_date
(
'06-09-2017 01:12:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
36
,
1
,
3
,
6
,
to_date
(
'06-09-2017 03:33:05'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
38
,
1
,
1
,
3
,
to_date
(
'06-09-2017 03:35:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
41
,
1
,
1
,
5
,
to_date
(
'06-09-2017 03:58:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
42
,
3
,
3
,
1
,
to_date
(
'06-09-2017 04:01:00'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
47
,
47
,
3
,
1
,
to_date
(
'06-09-2017 22:00:01'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
49
,
5
,
3
,
4
,
to_date
(
'06-09-2017 22:01:00'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
52
,
47
,
2
,
1
,
to_date
(
'07-09-2017 01:12:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
53
,
48
,
3
,
4
,
to_date
(
'07-09-2017 01:14:04'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
55
,
68
,
2
,
3
,
to_date
(
'07-09-2017 21:42:03'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
125
,
74
,
1
,
4
,
to_date
(
'17-10-2017 09:37:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
144
,
74
,
3
,
null
,
to_date
(
'17-10-2017 16:55:00'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
145
,
67
,
3
,
null
,
to_date
(
'17-10-2017 16:55:01'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
146
,
73
,
3
,
null
,
to_date
(
'17-10-2017 16:55:02'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
147
,
22
,
3
,
null
,
to_date
(
'17-10-2017 16:55:04'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
148
,
68
,
3
,
null
,
to_date
(
'17-10-2017 16:56:00'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
168
,
72
,
1
,
3
,
to_date
(
'24-10-2017 14:40:04'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
169
,
41
,
1
,
null
,
to_date
(
'25-10-2017 08:58:01'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
171
,
170
,
1
,
5
,
to_date
(
'25-10-2017 09:08:05'
,
'dd-mm-yyyy hh24:mi:ss'
));
insert
into
CORE_USER_ROLE
(
id
,
user_id
,
role_id
,
org_id
,
create_time
)
values
(
172
,
171
,
1
,
4
,
to_date
(
'02-02-2018 09:36:40'
,
'dd-mm-yyyy hh24:mi:ss'
));
commit
;
prompt
23
records
loaded
prompt
Enabling
triggers
for
CMS_BLOG
...
alter
table
CMS_BLOG
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_AUDIT
...
alter
table
CORE_AUDIT
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_DICT
...
alter
table
CORE_DICT
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_FILE
...
alter
table
CORE_FILE
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_FILE_TAG
...
alter
table
CORE_FILE_TAG
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_FUNCTION
...
alter
table
CORE_FUNCTION
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_MENU
...
alter
table
CORE_MENU
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_ORG
...
alter
table
CORE_ORG
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_ROLE
...
alter
table
CORE_ROLE
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_ROLE_FUNCTION
...
alter
table
CORE_ROLE_FUNCTION
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_ROLE_MENU
...
alter
table
CORE_ROLE_MENU
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_USER
...
alter
table
CORE_USER
enable
all
triggers
;
prompt
Enabling
triggers
for
CORE_USER_ROLE
...
alter
table
CORE_USER_ROLE
enable
all
triggers
;
set
feedback
on
set
define
on
prompt
Done
.
pom.xml
View file @
9c09fc44
...
@@ -81,11 +81,11 @@
...
@@ -81,11 +81,11 @@
<version>
6.0.5
</version>
<version>
6.0.5
</version>
</dependency>
</dependency>
<
!--
dependency>
<dependency>
<groupId>
com.oracle
</groupId>
<groupId>
com.oracle
</groupId>
<artifactId>
ojdbc6
</artifactId>
<artifactId>
ojdbc6
</artifactId>
<version>
11.2.0
</version>
<version>
11.2.0
</version>
</dependency
--
>
</dependency>
<dependency>
<dependency>
...
...
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