Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
3af1b390
Commit
3af1b390
authored
Aug 13, 2021
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JeecgBoot 2.4.6版本发布
parent
a3695151
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
68 deletions
+97
-68
jeecg-boot/db/jeecgboot-mysql-5.7.sql
+0
-0
jeecg-boot/db/增量SQL/2.4.3升级到2.4.5增量MYSQL.sql
+0
-68
jeecg-boot/db/增量SQL/2.4.5升级到2.4.6增量MYSQL.sql
+97
-0
No files found.
jeecg-boot/db/jeecgboot-mysql-5.7.sql
View file @
3af1b390
This source diff could not be displayed because it is too large. You can
view the blob
instead.
jeecg-boot/db/增量SQL/2.4.3升级到2.4.5增量MYSQL.sql
deleted
100644 → 0
View file @
a3695151
-- online 新增部门授权 扩展字段
-- online 新增部门授权 扩展字段
ALTER
TABLE
`onl_auth_relation`
ADD
COLUMN
`auth_mode`
varchar
(
50
)
NULL
COMMENT
'授权方式role角色,depart部门,user人'
AFTER
`cgform_id`
;
update
onl_auth_relation
set
auth_mode
=
'role'
;
-- 部门表新增 qywx_identifier 字段
ALTER
TABLE
`sys_depart`
ADD
COLUMN
`qywx_identifier`
varchar
(
100
)
NULL
COMMENT
'对接企业微信的ID'
AFTER
`del_flag`
;
-- sys_third_account 表新增 third_user_id 字段
ALTER
TABLE
`sys_third_account`
ADD
COLUMN
`third_user_id`
varchar
(
100
)
NULL
COMMENT
'第三方app用户账号'
AFTER
`third_user_uuid`
;
-- 新增第三方APP消息测试菜单
INSERT
INTO
`sys_permission`
(
`id`
,
`parent_id`
,
`name`
,
`url`
,
`component`
,
`is_route`
,
`component_name`
,
`redirect`
,
`menu_type`
,
`perms`
,
`perms_type`
,
`sort_no`
,
`always_show`
,
`icon`
,
`is_leaf`
,
`keep_alive`
,
`hidden`
,
`description`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`del_flag`
,
`rule_flag`
,
`status`
,
`internal_or_external`
)
VALUES
(
'1387612436586065922'
,
'2a470fc0c3954d9dbb61de6d80846549'
,
'第三方APP消息测试'
,
'/jeecg/ThirdAppMessageTest'
,
'jeecg/ThirdAppMessageTest'
,
'1'
,
NULL
,
NULL
,
'1'
,
NULL
,
'1'
,
'3'
,
'0'
,
NULL
,
'1'
,
'0'
,
'0'
,
NULL
,
'admin'
,
'2021-04-29 11:39:20'
,
'admin'
,
'2021-04-29 11:39:27'
,
'0'
,
'0'
,
'1'
,
'0'
);
-- 定时任务:一个类允许配置多个调度
-- 删除定时任务表唯一索引
ALTER
TABLE
`sys_quartz_job`
DROP
INDEX
`uniq_job_class_name`
;
-- 停止所有的定时任务,用于旧数据,只执行一次即可,【执行完毕后需要重启后台项目,并[手动]再次打开定时任务】!
DELETE
FROM
`qrtz_cron_triggers`
;
DELETE
FROM
`qrtz_fired_triggers`
;
DELETE
FROM
`qrtz_triggers`
;
DELETE
FROM
`qrtz_job_details`
;
UPDATE
`sys_quartz_job`
SET
`status`
=
'-1'
;
-- 不支持mariaDB数据库处理 issues/I3QID1
update
sys_dict_item
set
item_text
=
'MariaDB'
where
id
=
'1349250340104474626'
;
update
sys_dict_item
set
item_text
=
'Postgresql'
where
id
=
'1349254569766457345'
;
-- sys_announcement新增dt_task_id字段
ALTER
TABLE
`sys_announcement`
ADD
COLUMN
`dt_task_id`
varchar
(
100
)
NULL
COMMENT
'钉钉task_id,用于撤回消息'
AFTER
`msg_abstract`
;
-- 模板类型注释错误
ALTER
TABLE
`jimu_report`
MODIFY
COLUMN
`template`
tinyint
(
1
)
NULL
DEFAULT
NULL
COMMENT
'是否是模板 0不是,1是'
AFTER
`api_code`
;
-- 查询支持默认值
ALTER
TABLE
`jimu_report_db_field`
ADD
COLUMN
`search_value`
varchar
(
100
)
NULL
COMMENT
'查询默认值'
AFTER
`dict_code`
;
-- jimu_report_db增加JSON数据字段
ALTER
TABLE
`jimu_report_db`
ADD
COLUMN
`json_data`
text
NULL
COMMENT
'json数据,直接解析json内容'
AFTER
`db_source_type`
;
-- 连接失败次数
ALTER
TABLE
`jimu_report_data_source`
ADD
COLUMN
`connect_times`
int
(
1
)
NULL
COMMENT
'连接失败次数'
AFTER
`update_time`
;
-- 联动图表ID
ALTER
TABLE
`jimu_report_link`
ADD
COLUMN
`link_chart_id`
varchar
(
50
)
NULL
COMMENT
'联动图表的ID'
AFTER
`api_url`
;
-- 类转换器字段添加
ALTER
TABLE
`jimu_report_db`
ADD
COLUMN
`api_convert`
varchar
(
255
)
NULL
COMMENT
'api转换器'
AFTER
`json_data`
;
-- 修复脚本的一些问题---
update
sys_permission
set
url
=
"{{ window._CONFIG['domianURL'] }}/jmreport/view/1352160857479581696?token=${token}"
where
id
=
'1352200630711652354'
;
UPDATE
`jimu_report_db`
SET
`jimu_report_id`
=
'1352160857479581696'
,
`create_by`
=
'admin'
,
`update_by`
=
'admin'
,
`create_time`
=
'2021-05-19 19:20:44'
,
`update_time`
=
'2021-05-19 19:20:44'
,
`db_code`
=
'infoForReport'
,
`db_ch_name`
=
'信息'
,
`db_type`
=
'1'
,
`db_table_name`
=
NULL
,
`db_dyn_sql`
=
NULL
,
`db_key`
=
NULL
,
`tb_db_key`
=
NULL
,
`tb_db_table_name`
=
NULL
,
`java_type`
=
NULL
,
`java_value`
=
NULL
,
`api_url`
=
'{{ domainURL }}/sys/actuator/redis/infoForReport'
,
`api_method`
=
'0'
,
`is_list`
=
1
,
`is_page`
=
'1'
,
`db_source`
=
''
,
`db_source_type`
=
NULL
,
`json_data`
=
NULL
WHERE
`id`
=
'60b3feffadc55eb49baa5a48fdf1ff0e'
;
UPDATE
`jimu_report_db`
SET
`jimu_report_id`
=
'1352160857479581696'
,
`create_by`
=
'admin'
,
`update_by`
=
'admin'
,
`create_time`
=
'2021-05-19 19:20:50'
,
`update_time`
=
'2021-05-19 19:20:50'
,
`db_code`
=
'memoryForReport'
,
`db_ch_name`
=
'内存'
,
`db_type`
=
'1'
,
`db_table_name`
=
NULL
,
`db_dyn_sql`
=
NULL
,
`db_key`
=
NULL
,
`tb_db_key`
=
NULL
,
`tb_db_table_name`
=
NULL
,
`java_type`
=
NULL
,
`java_value`
=
NULL
,
`api_url`
=
'{{ domainURL }}/sys/actuator/redis/memoryForReport'
,
`api_method`
=
'0'
,
`is_list`
=
1
,
`is_page`
=
'0'
,
`db_source`
=
''
,
`db_source_type`
=
NULL
,
`json_data`
=
NULL
WHERE
`id`
=
'6a1d22ca4c95e8fab655d3ceed43a84d'
;
UPDATE
`jimu_report_db`
SET
`jimu_report_id`
=
'1352160857479581696'
,
`create_by`
=
'admin'
,
`update_by`
=
'admin'
,
`create_time`
=
'2021-05-19 19:21:03'
,
`update_time`
=
'2021-05-19 19:21:03'
,
`db_code`
=
'keysSizeForReport'
,
`db_ch_name`
=
'数量'
,
`db_type`
=
'1'
,
`db_table_name`
=
NULL
,
`db_dyn_sql`
=
NULL
,
`db_key`
=
NULL
,
`tb_db_key`
=
NULL
,
`tb_db_table_name`
=
NULL
,
`java_type`
=
NULL
,
`java_value`
=
NULL
,
`api_url`
=
'{{ domainURL }}/sys/actuator/redis/keysSizeForReport'
,
`api_method`
=
'0'
,
`is_list`
=
1
,
`is_page`
=
'0'
,
`db_source`
=
''
,
`db_source_type`
=
NULL
,
`json_data`
=
NULL
WHERE
`id`
=
'd4a29dfda94357308faf62be2b94db08'
;
jeecg-boot/db/增量SQL/2.4.5升级到2.4.6增量MYSQL.sql
0 → 100644
View file @
3af1b390
-- 平台基础模块
ALTER
TABLE
`sys_third_account`
ADD
UNIQUE
INDEX
`uniq_sys_third_account_third_type_third_user_id`
(
`third_type`
,
`third_user_id`
)
USING
BTREE
;
INSERT
INTO
`sys_permission`
(
`id`
,
`parent_id`
,
`name`
,
`url`
,
`component`
,
`component_name`
,
`redirect`
,
`menu_type`
,
`perms`
,
`perms_type`
,
`sort_no`
,
`always_show`
,
`icon`
,
`is_route`
,
`is_leaf`
,
`keep_alive`
,
`hidden`
,
`description`
,
`status`
,
`del_flag`
,
`rule_flag`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`internal_or_external`
)
VALUES
(
'1404684556047024130'
,
'08e6b9dc3c04489c8e1ff2ce6f105aa4'
,
'在线用户'
,
'/isystem/online'
,
'system/SysUserOnlineList'
,
NULL
,
NULL
,
1
,
NULL
,
'1'
,
NULL
,
0
,
NULL
,
1
,
1
,
0
,
0
,
NULL
,
'1'
,
0
,
0
,
'admin'
,
'2021-06-15 14:17:51'
,
NULL
,
NULL
,
0
);
DELETE
FROM
sys_depart
WHERE
id
=
'743ba9dbdc114af8953a11022ef3096a'
;
alter
table
sys_quartz_job
engine
=
InnoDB
;
UPDATE
`sys_dict_item`
SET
`item_value`
=
'6'
WHERE
`item_text`
=
'MYSQL5.7'
;
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1414837074500976641'
,
'1209733563293962241'
,
'Postgresql'
,
'6'
,
''
,
'5'
,
'1'
,
'admin'
,
'2021-07-13 14:40:20'
,
'admin'
,
'2021-07-15 13:44:15'
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1415547541091504129'
,
'1209733563293962241'
,
'MarialDB'
,
'5'
,
''
,
'6'
,
'1'
,
'admin'
,
'2021-07-15 13:43:28'
,
'admin'
,
'2021-07-15 13:44:23'
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418050323111399425'
,
'1209733563293962241'
,
'Derby'
,
'13'
,
''
,
'13'
,
'1'
,
'admin'
,
'2021-07-22 11:28:38'
,
NULL
,
NULL
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418050209823248385'
,
'1209733563293962241'
,
'Hsqldb'
,
'12'
,
''
,
'12'
,
'1'
,
'admin'
,
'2021-07-22 11:28:11'
,
'admin'
,
'2021-07-22 11:28:27'
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418050149475602434'
,
'1209733563293962241'
,
'DB2'
,
'11'
,
''
,
'11'
,
'1'
,
'admin'
,
'2021-07-22 11:27:56'
,
NULL
,
NULL
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418050110669901826'
,
'1209733563293962241'
,
'SQLite'
,
'10'
,
''
,
'10'
,
'1'
,
'admin'
,
'2021-07-22 11:27:47'
,
NULL
,
NULL
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418050075555188737'
,
'1209733563293962241'
,
'神通'
,
'9'
,
''
,
'9'
,
'1'
,
'admin'
,
'2021-07-22 11:27:39'
,
NULL
,
NULL
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418050017053036545'
,
'1209733563293962241'
,
'人大金仓'
,
'8'
,
''
,
'8'
,
'1'
,
'admin'
,
'2021-07-22 11:27:25'
,
NULL
,
NULL
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418049969003089922'
,
'1209733563293962241'
,
'达梦'
,
'7'
,
''
,
'7'
,
'1'
,
'admin'
,
'2021-07-22 11:27:13'
,
'admin'
,
'2021-07-22 11:27:30'
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418117316707590146'
,
'1209733563293962241'
,
'H2'
,
'14'
,
''
,
'14'
,
'1'
,
'admin'
,
'2021-07-22 15:54:50'
,
NULL
,
NULL
);
INSERT
INTO
`sys_dict_item`
(
`id`
,
`dict_id`
,
`item_text`
,
`item_value`
,
`description`
,
`sort_order`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
)
VALUES
(
'1418491604048449537'
,
'1209733563293962241'
,
'其他数据库'
,
'15'
,
''
,
15
,
1
,
'admin'
,
'2021-07-23 16:42:07'
,
NULL
,
NULL
);
ALTER
TABLE
demo
ADD
COLUMN
tenant_id
int
(
10
)
NULL
DEFAULT
0
;
-- Online模块
ALTER
TABLE
`onl_cgform_head`
ADD
COLUMN
`ext_config_json`
varchar
(
1000
)
NULL
COMMENT
'扩展JSON'
AFTER
`physic_id`
;
ALTER
TABLE
`onl_cgreport_head`
ADD
COLUMN
`low_app_id`
varchar
(
32
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'关联的应用ID'
AFTER
`content`
;
-- 积木报表模块
UPDATE
`jimu_report`
SET
`json_str`
=
'{
\"
loopBlockList
\"
:[],
\"
area
\"
:{
\"
sri
\"
:16,
\"
sci
\"
:5,
\"
eri
\"
:16,
\"
eci
\"
:5,
\"
width
\"
:147,
\"
height
\"
:25},
\"
excel_config_id
\"
:
\"
1347373863746539520
\"
,
\"
printConfig
\"
:{
\"
paper
\"
:
\"
A4
\"
,
\"
width
\"
:210,
\"
height
\"
:297,
\"
definition
\"
:1,
\"
isBackend
\"
:false,
\"
marginX
\"
:10,
\"
marginY
\"
:10,
\"
layout
\"
:
\"
portrait
\"
},
\"
rows
\"
:{
\"
0
\"
:{
\"
cells
\"
:{
\"
0
\"
:{
\"
text
\"
:
\"\"
},
\"
1
\"
:{
\"
text
\"
:
\"\"
}}},
\"
1
\"
:{
\"
cells
\"
:{
\"
0
\"
:{
\"
text
\"
:
\"\"
}}},
\"
3
\"
:{
\"
cells
\"
:{
\"
2
\"
:{
\"
text
\"
:
\"\"
,
\"
rendered
\"
:
\"\"
}}},
\"
5
\"
:{
\"
cells
\"
:{},
\"
height
\"
:29},
\"
6
\"
:{
\"
cells
\"
:{
\"
2
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:2}},
\"
height
\"
:34},
\"
7
\"
:{
\"
cells
\"
:{
\"
2
\"
:{
\"
merge
\"
:[0,4],
\"
text
\"
:
\"
实习证明
\"
,
\"
style
\"
:2}},
\"
height
\"
:41},
\"
8
\"
:{
\"
cells
\"
:{
\"
1
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:3},
\"
2
\"
:{
\"
text
\"
:
\"\"
}}},
\"
9
\"
:{
\"
cells
\"
:{
\"
1
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:3},
\"
2
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:3},
\"
3
\"
:{
\"
text
\"
:
\"\"
}},
\"
isDrag
\"
:true,
\"
height
\"
:33},
\"
10
\"
:{
\"
cells
\"
:{
\"
2
\"
:{
\"
text
\"
:
\"
${tt.name}
\"
,
\"
style
\"
:11},
\"
3
\"
:{
\"
text
\"
:
\"
同学在我公司与 2020年4月1日 至 2020年5月1日 实习。
\"
,
\"
style
\"
:19,
\"
merge
\"
:[0,3],
\"
height
\"
:34}},
\"
height
\"
:34},
\"
11
\"
:{
\"
cells
\"
:{},
\"
height
\"
:28},
\"
12
\"
:{
\"
cells
\"
:{
\"
1
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:6},
\"
2
\"
:{
\"
style
\"
:13,
\"
text
\"
:
\"
${tt.pingjia}
\"
,
\"
merge
\"
:[3,4],
\"
height
\"
:129}},
\"
height
\"
:36},
\"
13
\"
:{
\"
cells
\"
:{},
\"
height
\"
:29},
\"
14
\"
:{
\"
cells
\"
:{},
\"
height
\"
:33},
\"
15
\"
:{
\"
cells
\"
:{},
\"
height
\"
:31},
\"
16
\"
:{
\"
cells
\"
:{}},
\"
17
\"
:{
\"
cells
\"
:{
\"
1
\"
:{
\"
text
\"
:
\"\"
},
\"
2
\"
:{
\"
text
\"
:
\"
特此证明!
\"
,
\"
style
\"
:12}}},
\"
20
\"
:{
\"
cells
\"
:{
\"
2
\"
:{
\"
text
\"
:
\"\"
},
\"
3
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:3},
\"
4
\"
:{
\"
text
\"
:
\"\"
}}},
\"
21
\"
:{
\"
cells
\"
:{
\"
4
\"
:{
\"
text
\"
:
\"\"
}}},
\"
22
\"
:{
\"
cells
\"
:{
\"
3
\"
:{
\"
text
\"
:
\"\"
,
\"
style
\"
:3},
\"
4
\"
:{
\"
text
\"
:
\"
证明人:
\"
,
\"
style
\"
:11},
\"
5
\"
:{
\"
text
\"
:
\"
${tt.lingdao}
\"
,
\"
style
\"
:12}}},
\"
23
\"
:{
\"
cells
\"
:{
\"
4
\"
:{
\"
text
\"
:
\"\"
},
\"
5
\"
:{
\"
text
\"
:
\"
${tt.shijian}
\"
,
\"
style
\"
:15}}},
\"
len
\"
:100},
\"
dbexps
\"
:[],
\"
dicts
\"
:[],
\"
freeze
\"
:
\"
A1
\"
,
\"
dataRectWidth
\"
:576,
\"
displayConfig
\"
:{},
\"
background
\"
:{
\"
path
\"
:
\"
https://static.jeecg.com/designreport/images/11_1611283832037.png
\"
,
\"
repeat
\"
:
\"
no-repeat
\"
,
\"
width
\"
:
\"\"
,
\"
height
\"
:
\"\"
},
\"
name
\"
:
\"
sheet1
\"
,
\"
autofilter
\"
:{},
\"
styles
\"
:[{
\"
align
\"
:
\"
center
\"
},{
\"
align
\"
:
\"
center
\"
,
\"
font
\"
:{
\"
size
\"
:14}},{
\"
align
\"
:
\"
center
\"
,
\"
font
\"
:{
\"
size
\"
:16}},{
\"
align
\"
:
\"
right
\"
},{
\"
align
\"
:
\"
left
\"
},{
\"
align
\"
:
\"
left
\"
,
\"
valign
\"
:
\"
top
\"
},{
\"
align
\"
:
\"
left
\"
,
\"
valign
\"
:
\"
top
\"
,
\"
textwrap
\"
:true},{
\"
font
\"
:{
\"
size
\"
:16}},{
\"
align
\"
:
\"
left
\"
,
\"
valign
\"
:
\"
top
\"
,
\"
textwrap
\"
:false},{
\"
textwrap
\"
:false},{
\"
textwrap
\"
:true},{
\"
align
\"
:
\"
right
\"
,
\"
font
\"
:{
\"
size
\"
:12}},{
\"
font
\"
:{
\"
size
\"
:12}},{
\"
align
\"
:
\"
left
\"
,
\"
valign
\"
:
\"
top
\"
,
\"
textwrap
\"
:true,
\"
font
\"
:{
\"
size
\"
:12}},{
\"
textwrap
\"
:true,
\"
font
\"
:{
\"
size
\"
:12}},{
\"
align
\"
:
\"
left
\"
,
\"
font
\"
:{
\"
size
\"
:12}},{
\"
font
\"
:{
\"
size
\"
:12},
\"
border
\"
:{
\"
bottom
\"
:[
\"
thin
\"
,
\"
#000
\"
],
\"
top
\"
:[
\"
thin
\"
,
\"
#000
\"
],
\"
left
\"
:[
\"
thin
\"
,
\"
#000
\"
],
\"
right
\"
:[
\"
thin
\"
,
\"
#000
\"
]}},{
\"
font
\"
:{
\"
size
\"
:14}},{
\"
font
\"
:{
\"
size
\"
:10}},{
\"
textwrap
\"
:false,
\"
font
\"
:{
\"
size
\"
:12}}],
\"
validations
\"
:[],
\"
cols
\"
:{
\"
0
\"
:{
\"
width
\"
:69},
\"
1
\"
:{
\"
width
\"
:41},
\"
4
\"
:{
\"
width
\"
:119},
\"
5
\"
:{
\"
width
\"
:147},
\"
6
\"
:{
\"
width
\"
:31},
\"
len
\"
:50},
\"
merges
\"
:[
\"
C8:G8
\"
,
\"
D11:G11
\"
,
\"
C13:G16
\"
]}'
WHERE
`id`
=
'1347373863746539520'
;
update
jimu_report_data_source
set
connect_times
=
0
;
ALTER
TABLE
`jimu_report_data_source`
MODIFY
COLUMN
`connect_times`
int
(
1
)
UNSIGNED
NULL
DEFAULT
0
COMMENT
'连接失败次数'
AFTER
`update_time`
;
ALTER
TABLE
`jimu_report_db_param`
MODIFY
COLUMN
`param_value`
varchar
(
1000
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'参数默认值'
AFTER
`param_txt`
;
DELETE
FROM
jimu_report_map
WHERE
id
IN
(
SELECT
id
FROM
(
SELECT
id
FROM
jimu_report_map
WHERE
NAME
IN
(
SELECT
NAME
FROM
jimu_report_map
GROUP
BY
NAME
HAVING
count
(
NAME
)
>
1
))
T
)
AND
id
NOT
IN
(
SELECT
id
FROM
(
SELECT
min
(
id
)
id
FROM
jimu_report_map
GROUP
BY
NAME
HAVING
count
(
NAME
)
>
1
)
M
);
ALTER
TABLE
`jimu_report_map`
ADD
UNIQUE
INDEX
`uniq_jmreport_map_name`
(
`name`
);
update
jimu_report
set
VIEW_COUNT
=
0
WHERE
VIEW_COUNT
is
null
or
VIEW_COUNT
=
''
;
ALTER
TABLE
`jimu_report`
MODIFY
COLUMN
`view_count`
bigint
(
15
)
NULL
DEFAULT
0
COMMENT
'浏览次数'
AFTER
`template`
;
ALTER
TABLE
`jimu_report_db`
ADD
INDEX
`idx_jimu_report_id`
(
`jimu_report_id`
);
ALTER
TABLE
`jimu_report_db`
ADD
INDEX
`idx_db_source_id`
(
`db_source`
);
ALTER
TABLE
`jimu_report_db_field`
ADD
INDEX
`idx_dbfield_order_num`
(
`order_num`
);
ALTER
TABLE
`jimu_report`
ADD
INDEX
`uniq_jmreport_createby`
(
`create_by`
);
ALTER
TABLE
`jimu_report`
ADD
INDEX
`uniq_jmreport_delflag`
(
`del_flag`
);
ALTER
TABLE
`jimu_report_link`
ADD
INDEX
`uniq_link_reportid`
(
`report_id`
);
ALTER
TABLE
`jimu_report`
MODIFY
COLUMN
`json_str`
longtext
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
COMMENT
'json字符串'
AFTER
`type`
;
ALTER
TABLE
`jimu_report_link`
ADD
COLUMN
`expression`
varchar
(
255
)
NULL
COMMENT
'表达式'
AFTER
`link_chart_id`
;
-- 执行下面段可能会报错,说明此部分升级过了,忽略即可
ALTER
TABLE
`jimu_report_db_param`
ADD
COLUMN
`search_flag`
int
(
1
)
NULL
COMMENT
'查询标识0否1是 默认0'
AFTER
`update_time`
;
update
jimu_report_db_param
set
search_flag
=
0
;
create
table
jimu_dict
like
sys_dict
;
insert
into
jimu_dict
select
*
from
sys_dict
;
create
table
jimu_dict_item
like
sys_dict_item
;
insert
into
jimu_dict_item
select
*
from
sys_dict_item
;
ALTER
TABLE
`jimu_report_db_param`
ADD
COLUMN
`widget_type`
varchar
(
50
)
NULL
COMMENT
'查询控件类型'
AFTER
`search_flag`
,
ADD
COLUMN
`search_mode`
int
(
1
)
NULL
COMMENT
'查询模式1简单2范围'
AFTER
`widget_type`
,
ADD
COLUMN
`dict_code`
varchar
(
255
)
NULL
COMMENT
'字典'
AFTER
`search_mode`
;
Write
Preview
Markdown
is supported
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