boyue_jnpf/jnpf-resources/MySQL/Update/Update_MySQL_510to520.sql

83 lines
218 KiB
MySQL
Raw Normal View History

2025-06-30 09:38:03 +08:00
CREATE TABLE `workflow_subtask_data`
(
`f_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '主键',
`f_subtask_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '子流程发起参数',
`f_parent_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '父流程id',
`f_node_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '节点编码',
`f_sort_code` bigint(20) NULL DEFAULT NULL COMMENT '排序',
`f_creator_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`f_creator_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建用户',
`f_last_modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间',
`f_last_modify_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '修改用户',
`f_delete_time` datetime NULL DEFAULT NULL COMMENT '删除时间',
`f_delete_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '删除用户',
`f_delete_mark` int(11) NULL DEFAULT NULL COMMENT '删除标志',
`f_tenant_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '租户id',
PRIMARY KEY (`f_id`, `f_tenant_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '子流程发起参数(依次发起)' ROW_FORMAT = DYNAMIC;
-- 数据集添加字段
ALTER TABLE `base_data_set`
ADD COLUMN `f_interface_id` varchar(50) NULL DEFAULT NULL COMMENT '数据接口id';
ALTER TABLE `report_template`
ADD COLUMN `f_allow_export` int NULL COMMENT '是否导出',
ADD COLUMN `f_allow_print` int NULL COMMENT '是否打印',
ADD COLUMN `f_platform_release` varchar(100) NULL COMMENT '发布选中平台';
ALTER TABLE `report_version`
ADD COLUMN `f_sort_list` longtext NULL COMMENT '模板json';
ALTER TABLE `workflow_operator`
ADD COLUMN `f_is_processing` int(11) NULL DEFAULT NULL COMMENT '是否办理节点(0否 1是)';
ALTER TABLE `workflow_template`
ADD COLUMN `f_show_type` int(11) NULL DEFAULT NULL COMMENT '流程显示类型0-全局 1-流程 2-菜单)';
ALTER TABLE `workflow_template`
ADD COLUMN `f_status` int(11) NULL DEFAULT NULL COMMENT '状态(0.未上架,1.上架,2.下架-继续审批3.下架-隐藏审批)';
-- 默认值调整
update base_data_set set f_type = 1 where f_type = 0;
UPDATE base_sys_config set F_Value = 'V5.2.0' WHERE F_Key = 'sysversion';
UPDATE base_sys_config set F_Value = 'Copyright @ 2025 博越科技有限公司版权所有' WHERE F_Key = 'copyright';
2025-06-30 09:38:03 +08:00
-- 待办开关
INSERT INTO `base_sys_config` (`f_id`, `f_full_name`, `f_key`, `f_value`, `f_category`, `f_sort_code`, `f_creator_time`,
`f_creator_user_id`, `f_last_modify_time`, `f_last_modify_user_id`, `f_delete_time`,
`f_delete_user_id`, `f_delete_mark`, `f_tenant_id`)
VALUES ('618670653960094396', NULL, 'flowTodo', '1', 'SysConfig', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0');
-- 加签层级
INSERT INTO `base_sys_config` (`f_id`, `f_full_name`, `f_key`, `f_value`, `f_category`, `f_sort_code`, `f_creator_time`,
`f_creator_user_id`, `f_last_modify_time`, `f_last_modify_user_id`, `f_delete_time`,
`f_delete_user_id`, `f_delete_mark`, `f_tenant_id`)
VALUES ('633574799200904535', NULL, 'addSignLevel', '1', 'SysConfig', NULL, '2024-12-03 10:20:06', '349057407209541',
NULL, NULL, NULL, NULL, NULL, '0');
UPDATE `report_template` SET `f_allow_export` = 1, `f_allow_print` =1;
UPDATE report_version SET f_sort_list = '[]' where f_sort_list is null;
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"0\",\"row\":\"2\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.orgname\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"2\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.depName\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"2\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.education\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"2\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.sex\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"4\",\"row\":\"2\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.username\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"5\",\"row\":\"2\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"4\",\"row\":\"3\",\"sheet\":\"E-ZBgdonv3JP-AKiPx-Dz\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.username\",\"polymerizationType\":\"3\",\"summaryType\":\"count\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"none\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"none\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}}],\"floatEcharts\":{},\"floatImages\":{}}', f_snapshot = '{\"id\":\"PlhIEz\",\"sheetOrder\":[\"E-ZBgdonv3JP-AKiPx-Dz\"],\"name\":\"\",\"appVersion\":\"0.4.2\",\"locale\":\"zhCN\",\"styles\":{\"UodgPC\":{\"ff\":\"Arial\",\"fs\":20,\"it\":0,\"bl\":1,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"tr\":{\"a\":0},\"td\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"},\"ht\":2,\"vt\":2,\"tb\":3,\"pd\":{\"t\":0,\"b\":2,\"l\":2,\"r\":2},\"bd\":{\"t\":null,\"l\":null,\"r\":null}}
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"5\",\"row\":\"1\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"0\",\"row\":\"2\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.orgname\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"2\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.depName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"2\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.education\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"2\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.sex\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"4\",\"row\":\"2\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.username\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"5\",\"row\":\"2\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"1\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"4\",\"row\":\"3\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.username\",\"polymerizationType\":\"3\",\"summaryType\":\"count\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"none\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"none\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"5\",\"row\":\"3\",\"sheet\":\"Eh_Jx6bicu3SB2VKA8XcS\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"3\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"none\",\"leftParentCellCustomRowName\":\"\",\"leftParent
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"VkjbtPpyX8TggOO4aHSuO\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"0\",\"row\":\"1\",\"sheet\":\"VkjbtPpyX8TggOO4aHSuO\",\"type\":\"dataSource\",\"custom\":{\"field\":\"report_user.organizationName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"0\",\"row\":\"2\",\"sheet\":\"VkjbtPpyX8TggOO4aHSuO\",\"type\":\"dataSource\",\"custom\":{\"field\":\"report_user.departmentName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"0\",\"row\":\"3\",\"sheet\":\"VkjbtPpyX8TggOO4aHSuO\",\"type\":\"dataSource\",\"custom\":{\"field\":\"report_user.username\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"0\",\"row\":\"4\",\"sheet\":\"VkjbtPpyX8TggOO4aHSuO\",\"type\":\"dataSource\",\"custom\":{\"field\":\"report_user.username\",\"polymerizationType\":\"3\",\"summaryType\":\"count\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"custom\",\"topParentCellCustomRowName\":\"A\",\"topParentCellCustomColName\":\"3\",\"type\":\"dataSource\"}}],\"floatEcharts\":{},\"floatImages\":{}}', f_snapshot = '{\"id\":\"GVaLEc\",\"sheetOrder\":[\"VkjbtPpyX8TggOO4aHSuO\"],\"name\":\"\",\"appVersion\":\"0.4.2\",\"locale\":\"zhCN\",\"styles\":{\"7zkWyq\":{\"ff\":\"Arial\",\"fs\":20,\"it\":0,\"bl\":1,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"tr\":{\"a\":0},\"td\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"},\"ht\":2,\"vt\":2,\"tb\":3,\"pd\":{\"t\":0,\"b\":2,\"l\":2,\"r\":2}},\"oLh33o\":{\"ff\":\"Arial\",\"fs\":11,\"it\":0,\"bl\":0,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"tr\":{\"a\":0},\"td\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"},\"bg\":{\"rgb\":\"rgb(22,144,255)\"},\"ht\":2,\"vt\":2,\"tb\":3,\"pd\":{\"t\":0,\"b\":2,\"l\":2,\"r\":2},\"bd\":{\"l\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1},\"r\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1},\"t\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1},\"b\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1}}},\"pe2oi6\":{\"ff\":\"Arial\",\"fs\":11,\"it\":0,\"bl\":0,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"tr\":{\"a\":0},\"td\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"},\"bg\":{\"rgb\":\"rgb(192,200,212)\"},\"ht\":1,\"vt\":2,\"tb\":3,\"pd\":{\"t\":0,\"b\":2,\"l\":2,\"r\":2},\"bd\":{\"l\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1},\"r\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1},\"b\":{\"cl\":{\"rgb\":\"rgb(0,0,0)\"},\"s\":1}}},\"i-Nz_l\":{\"ff\":\"Arial\",\"fs\":11,\"it\":0,\"bl\":0,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgba
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"1\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"0\",\"row\":\"2\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.orgname\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"2\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.depName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"2\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.education\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"2\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"3\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"3\",\"sheet\":\"1wEx3S26r-bZsG_oVLwiL\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}}],\"floatEcharts\":{},\"floatImages\":{}}', f_snapshot = '{\"id\":\"THpPFw\",\"sheetOrder\":[\"1wEx3S26r-bZsG_oVLwiL\"],\"name\":\"\",\"appVersion\":\"0.4.2\",\"locale\":\"zhCN\",\"styles\":{\"JeXbVz\":{\"ff\":\"Arial\",\"fs\":20,\"it\":0,\"bl\":1,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"tr\":{\"a\":0},\"td\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"},\"ht\":2,\"vt\":2,\"tb\":3,\"pd\":{\"t\":0,\"b\":2,\"l\":2,\"r\":2},\"bd\":{\"t\":null,\"b\":null,\"l\":null,\"r\":null}},\"Yf_WAI\":{\"ff\":\"Arial\",\"fs\":11,\"it\":0,\"bl\":0,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"tr\":{\"a\":0},\"td\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"},\"bg\":{\"rgb\":\"rgb(22,144,255)\"},\"ht\":2,\"vt\":2,\"tb\":3,\"pd\":{\"t\":0,\"b\":2,\"l\":2,\"r\":2},\"bd\":{\"l\":{\"cl\":{\"rgb\":\"rgb(204,204,204)\"},\"s\":1},\"r\":{\"cl\":{\"rgb\":\"rgb(204,204,204)\"},\"s\":1},\"b\":{\"cl\":{\"rgb\":\"rgb(204,204,204)\"},\"s\":1}}},\"3RaoL9\":{\"ff\":\"Arial\",\"fs\":11,\"it\":0,\"bl\":0,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgb(255,255,255)\"}},\"ol\":{\"s\":0,\"cl\":
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"1\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.education\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"1\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"2\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.sex\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"0\",\"row\":\"3\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.orgname\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"3\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.depName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"3\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"3\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"3\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"custom\":{\"leftParentCellType\":\"none\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"none\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"4\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"3\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"custom\",\"topParentCellCustomRowName\":\"C\",\"topParentCellCustomColName\":\"3\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"4\",\"sheet\":\"wqX2Z5otdmEbeHUd2LNPB\",\"custom\":{\"leftParentCellType\":\"none\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"none\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}}],\"floatEcharts\":{},\"floatImages\":{}}', f_snapshot = '{\"id\":\"4zip_g\",\"sheetOrder\":[\"wqX2Z5otdmEbeHUd2LNPB\"],\"name\":\"\",\"appVersion\":\"0.4.2\",\"local
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"1\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.education\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"2\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.sex\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"3\",\"row\":\"2\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"0\",\"row\":\"3\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.orgname\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"3\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.depName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"3\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.username\",\"polymerizationType\":\"3\",\"summaryType\":\"count\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"4\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"4\",\"sheet\":\"w52kG71f16x2NGaC2KaZK\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.username\",\"polymerizationType\":\"3\",\"summaryType\":\"count\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"custom\",\"leftParentCellCustomRowName\":\"A\",\"leftParentCellCustomColName\":\"4\",\"topParentCellType\":\"custom\",\"topParentCellCustomRowName\":\"C\",\"topParentCellCustomColName\":\"3\",\"type\":\"dataSource\"}}],\"floatEcharts\":{},\"floatImages\":{}}', f_snapshot = '{\"id\":\"adhHq0\",\"sheetOrder\":[\"w52kG71f16x2NGaC2KaZK\"],\"name\":\"\",\"appVersion\":\"0.4.2\",\"locale\":\"zhCN\",\"styles\":{\"r0gYO6\":{\"ff\":\"Arial\",\"fs\":18,\"it\":0,\"bl\":1,\"ul\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"st\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"ol\":{\"s\":0,\"cl\":{\"rgb\":\"rgba(0,0,0,0.85)\"}},\"tr\":{\"a\":0},\"td\":0,
UPDATE report_version SET f_cells = '{\"cells\":[{\"col\":\"0\",\"row\":\"0\",\"sheet\":\"JU9V20nEuCDEMPf-34YKB\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"1\",\"sheet\":\"JU9V20nEuCDEMPf-34YKB\",\"custom\":{\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\"}},{\"col\":\"2\",\"row\":\"2\",\"sheet\":\"JU9V20nEuCDEMPf-34YKB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.education\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"landscape\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"0\",\"row\":\"3\",\"sheet\":\"JU9V20nEuCDEMPf-34YKB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.orgname\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"1\",\"row\":\"3\",\"sheet\":\"JU9V20nEuCDEMPf-34YKB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.depName\",\"polymerizationType\":\"2\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}},{\"col\":\"2\",\"row\":\"3\",\"sheet\":\"JU9V20nEuCDEMPf-34YKB\",\"type\":\"dataSource\",\"custom\":{\"field\":\"user.salary\",\"polymerizationType\":\"3\",\"summaryType\":\"sum\",\"fillDirection\":\"portrait\",\"leftParentCellType\":\"default\",\"leftParentCellCustomRowName\":\"\",\"leftParentCellCustomColName\":\"\",\"topParentCellType\":\"default\",\"topParentCellCustomRowName\":\"\",\"topParentCellCustomColName\":\"\",\"type\":\"dataSource\"}}],\"floatEcharts\":{\"sRCxaF26kwvrYGpBkyY67\":{\"drawingId\":\"sRCxaF26kwvrYGpBkyY67\",\"domId\":\"echart_98b3ca0038144cd7bbdd7cf0057f6465\",\"echartType\":\"bar\",\"option\":{\"summaryType\":\"sum\",\"chartType\":\"bar\",\"animation\":false,\"styleType\":1,\"bar\":{\"barTypeList\":[]},\"legendTop\":93,\"legendLeft\":40,\"title\":{\"text\":\"各部门学历薪资统计\",\"textI18nCode\":\"\",\"show\":true,\"left\":\"center\",\"textStyle\":{\"fontSize\":18,\"fontWeight\":\"normal\",\"color\":\"#333\"},\"showSub\":true,\"subtext\":\"\",\"subtextI18nCode\":\"\",\"subtextStyle\":{\"fontSize\":12,\"fontWeight\":\"normal\",\"color\":\"#aaa\"}},\"barWidth\":25,\"itemStyle\":{\"borderRadius\":0},\"grid\":{\"left\":61,\"top\":60,\"right\":10,\"bottom\":50},\"tooltip\":{\"show\":true,\"backgroundColor\":\"#fff\",\"textStyle\":{\"color\":\"#303133\",\"fontSize\":14,\"fontWeight\":\"\"}},\"legend\":{\"show\":true,\"textStyle\":{\"fontSize\":14},\"fontSize\":14,\"orient\":\"horizontal\",\"top\":\"93%\",\"left\":\"40%\"},\"label\":{\"show\":false,\"fontSize\":14,\"fontWeight\":\"\",\"color\":\"#303133\",\"backgroundColor\":\"\",\"seriesLabelPosition\":\"outside\",\"seriesLabelShowInfo\":[\"count\",\"percent\"],\"seriesCenterLeft\":50,\"seriesCenterTop\":50,\"seriesLineStyleWidth\":2,\"seriesSymbolRotate\":4},\"color\":{\"AxisTextStyleColor\":\"\",\"AxisLineStyleColor\":\"\",\"list\":[]},\"xAxis\":{\"type\":\"category\",\"show\":true,\"data\":[\"衬衫\",\"羊毛衫\",\"雪纺衫\",\"裤子\",\"高跟鞋\",\"袜子\"],\"inverse\":false,\"name\":\"\",\"nameTextStyle\":{\"color\":\"#303133\",\"fontSize\":14,\"fontWeight\":\"\"},\"axi
update workflow_operator set f_is_processing = 0 where f_is_processing is null;
-- 修改工作流默认状态
update workflow_template set f_status = 0 where f_enabled_mark = 0 and f_status is null;
update workflow_template set f_status = 1 where f_enabled_mark = 1 and f_status is null;
update workflow_template set f_show_type = 0 where f_show_type is null;