64685e74f9
(1)fix 修复 OssFactory 并发多创建实例问题 (2)update 优化 删除无用接口实现 (3)!454 添加excel多sheet页导出 (4)update 优化 重构 LoginHelper 将本地存储代码操作封装 (5)update 优化 删除无用依赖 (6)update 优化 删除无用注解 (7)update 优化 更新用户异常提示 使用登录账号 (8)fix 修复 token 失效后 登录获取用户null问题 (9)fix 修复 session 多账号共用覆盖问题 改为 tokenSession 独立存储 (10)add 新增 RedisUtils.setObjectIfExists 如果存在则设置方法 (11)update transmittable-thread-local 2.14.2 => 2.14.4 (12)update 优化 删除 hikaricp 官方不推荐使用的配置 jdbc4 协议自带校验方法 (13)update 优化 开启 redisson 脚本缓存 减少网络传输 (14)升级依赖update easyexcel 3.3.2 => 3.3.3 update springboot-admin 3.1.7 => 3.1.8 update aws-java-sdk-s3 1.12.540 => 1.12.600 (15)细化oss配置管理权限控制,需要执行更新数据库脚本update.sql (16)update 优化 将 OSS配置 改为全局模式 (17)fix 修复 excel合并注解会根据第一合并列的结果来决定后续的列合并 (18)fix 修复 MybatisSystemException 空指针问题 (19)update 优化 删除无用异常类 (20)update 优化 验证码接口 增加限流配置 (21)update 优化 丰富RedisUtils对List Set类型的操作
56 lines
3.8 KiB
SQL
56 lines
3.8 KiB
SQL
----升级 from V4.2.0 to V5.0.0:
|
||
--修正“任务调度”的“任务管理”错误:
|
||
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.StandaloneProcessorDemo' WHERE "id"=1;
|
||
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.BroadcastProcessorDemo' WHERE "id"=2;
|
||
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.MapProcessorDemo' WHERE "id"=3;
|
||
UPDATE "public"."pj_job_info" SET "alarm_config"='{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', "log_config"='{"type":1}', "processor_info"='com.ruoyi.job.processors.MapReduceProcessorDemo' WHERE "id"=4;
|
||
|
||
--修改powerjob的库结构的错误oid类型为text类型;
|
||
ALTER TABLE "pj_workflow_info"
|
||
ALTER COLUMN "pedag" TYPE TEXT,
|
||
ALTER COLUMN "pedag" DROP NOT NULL,
|
||
ALTER COLUMN "pedag" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_info"."pedag" IS '';
|
||
ALTER TABLE "pj_workflow_instance_info"
|
||
ALTER COLUMN "dag" TYPE TEXT,
|
||
ALTER COLUMN "dag" DROP NOT NULL,
|
||
ALTER COLUMN "dag" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_instance_info"."dag" IS '';
|
||
ALTER TABLE "pj_workflow_instance_info"
|
||
ALTER COLUMN "result" TYPE TEXT,
|
||
ALTER COLUMN "result" DROP NOT NULL,
|
||
ALTER COLUMN "result" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_instance_info"."result" IS '';
|
||
ALTER TABLE "pj_workflow_instance_info"
|
||
ALTER COLUMN "wf_context" TYPE TEXT,
|
||
ALTER COLUMN "wf_context" DROP NOT NULL,
|
||
ALTER COLUMN "wf_context" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_instance_info"."wf_context" IS '';
|
||
ALTER TABLE "pj_workflow_instance_info"
|
||
ALTER COLUMN "wf_init_params" TYPE TEXT,
|
||
ALTER COLUMN "wf_init_params" DROP NOT NULL,
|
||
ALTER COLUMN "wf_init_params" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_instance_info"."wf_init_params" IS '';
|
||
ALTER TABLE "pj_workflow_node_info"
|
||
ALTER COLUMN "extra" TYPE TEXT,
|
||
ALTER COLUMN "extra" DROP NOT NULL,
|
||
ALTER COLUMN "extra" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_node_info"."extra" IS '';
|
||
ALTER TABLE "pj_workflow_node_info"
|
||
ALTER COLUMN "node_params" TYPE TEXT,
|
||
ALTER COLUMN "node_params" DROP NOT NULL,
|
||
ALTER COLUMN "node_params" DROP DEFAULT;
|
||
COMMENT ON COLUMN "pj_workflow_node_info"."node_params" IS '';
|
||
|
||
--升级“文件管理配置”相关脚本
|
||
delete from sys_menu where menu_id in (1604, 1605);
|
||
insert into sys_menu values('1600', '文件查询', '118', '1', '#', '', '', '1', '0', 'F', '0', '0', 'system:oss:query', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1601', '文件上传', '118', '2', '#', '', '', '1', '0', 'F', '0', '0', 'system:oss:upload', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1602', '文件下载', '118', '3', '#', '', '', '1', '0', 'F', '0', '0', 'system:oss:download', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1603', '文件删除', '118', '4', '#', '', '', '1', '0', 'F', '0', '0', 'system:oss:remove', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1620', '配置列表', '118', '5', '#', '', '', '1', '0', 'F', '0', '0', 'system:ossConfig:list', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1621', '配置添加', '118', '6', '#', '', '', '1', '0', 'F', '0', '0', 'system:ossConfig:add', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1622', '配置编辑', '118', '6', '#', '', '', '1', '0', 'F', '0', '0', 'system:ossConfig:edit', '#', 1, now(), null, null, '');
|
||
insert into sys_menu values('1623', '配置删除', '118', '6', '#', '', '', '1', '0', 'F', '0', '0', 'system:ossConfig:remove', '#', 1, now(), null, null, '');
|
||
|