|
|
|
@ -12,6 +12,8 @@ CREATE TABLE `hzims-middle`.`hzims_process_type` (
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '工作流审批类型' ROW_FORMAT = Dynamic; |
|
|
|
|
|
|
|
|
|
ALTER TABLE `hzims-middle`.`hzims_statistics` ADD COLUMN `sort` int(11) NULL DEFAULT NULL COMMENT '排序' AFTER `update_time`; |
|
|
|
|
|
|
|
|
|
ALTER TABLE `hzims-middle`.`hzims_statistics` MODIFY COLUMN `module_name_num` int(11) NULL DEFAULT 0 COMMENT '功能模块统计' AFTER `module_name`; |
|
|
|
|
|
|
|
|
|
ALTER TABLE `hzims-middle`.`hzims_statistics` MODIFY COLUMN `date_calculated` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '统计日期' AFTER `module_name_num`; |
|
|
|
@ -44,10 +46,21 @@ CREATE TABLE `hzims-middle`.`hzims_workflow_operation_log` (
|
|
|
|
|
`handleType` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT ' 根据handleType区分是用户还是候选组角色 标识 0是用户 1是角色', |
|
|
|
|
`create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间', |
|
|
|
|
`update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间', |
|
|
|
|
`is_deleted` tinyint(4) NULL DEFAULT NULL COMMENT '是否逻辑删除,0 可用,1. 不可用', |
|
|
|
|
`is_deleted` tinyint(1) NULL DEFAULT 0 COMMENT '是否逻辑删除,0 可用,1. 不可用', |
|
|
|
|
`is_operation_log` tinyint(1) NULL DEFAULT 0 COMMENT '1 正常日志 0 错误日志', |
|
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '工作流操作日志' ROW_FORMAT = Dynamic; |
|
|
|
|
|
|
|
|
|
CREATE TABLE `hzims-middle`.`log_options_module_name` ( |
|
|
|
|
`id` bigint(20) NOT NULL AUTO_INCREMENT, |
|
|
|
|
`module_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '功能模块', |
|
|
|
|
`sort` int(11) NULL DEFAULT NULL COMMENT '排序', |
|
|
|
|
`create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间', |
|
|
|
|
`update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间', |
|
|
|
|
`is_deleted` tinyint(4) NULL DEFAULT 0 COMMENT '逻辑删除 (0 可用 1 删除)', |
|
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
|
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic; |
|
|
|
|
|
|
|
|
|
CREATE TABLE `hzims-middle`.`process_dict` ( |
|
|
|
|
`dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '票据编码', |
|
|
|
|
`dict_sort` int(4) NULL DEFAULT 0 COMMENT '票据排序', |
|
|
|
|