yang_shj
1 year ago
17 changed files with 123 additions and 86 deletions
@ -1 +1,49 @@
|
||||
alter table hzims_workflow_operation_log add is_operation_log tinyint(1) comment '1 正常日志 0 错误日志'; |
||||
alter table hzims_workflow_operation_log add is_operation_log tinyint(1) comment '1 正常日志 0 错误日志'; |
||||
|
||||
alter table hzims_statistics add sort int comment '排序'; |
||||
|
||||
|
||||
create table log_options_module_name |
||||
( |
||||
id bigint primary key auto_increment, |
||||
module_name varchar(50) null comment '功能模块', |
||||
sort int comment '排序', |
||||
create_time datetime default CURRENT_TIMESTAMP null comment '创建时间', |
||||
update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间', |
||||
is_deleted tinyint default 0 null comment '逻辑删除 (0 可用 1 删除)' |
||||
); |
||||
|
||||
insert into log_options_module_name(module_name, sort) |
||||
values ('集中监控', 1), |
||||
('综合调度', 2), |
||||
('视频集中监控', 3), |
||||
('实时监控', 4), |
||||
('视频监控', 5), |
||||
('演示大屏', 6), |
||||
('生态监控', 7), |
||||
('数据分析', 9), |
||||
('数据查询', 10), |
||||
('通讯告警统计', 11), |
||||
('气象监测', 12), |
||||
('我的事务', 13), |
||||
('值班管理', 14), |
||||
('缺陷管理', 15), |
||||
('两票管理', 16), |
||||
('巡检管理', 17), |
||||
('日常维护', 18), |
||||
('检修管理', 19), |
||||
('数据填报', 20), |
||||
('安全管理', 21), |
||||
('设备管理', 22), |
||||
('资产管理', 23), |
||||
('智能诊断', 24), |
||||
('生产月报', 25), |
||||
('告警配置', 26), |
||||
('电站安全标准', 27), |
||||
('站点管理', 28), |
||||
('实时画面', 29), |
||||
('资源配置', 30), |
||||
('消息管理', 31), |
||||
('移动端配置', 32), |
||||
('水电站设置', 33), |
||||
('告警配置', 34); |
||||
|
@ -1 +0,0 @@
|
||||
alter table hzims_statistics add sort int comment '排序'; |
@ -1,44 +0,0 @@
|
||||
create table log_options_module_name |
||||
( |
||||
id bigint primary key auto_increment, |
||||
module_name varchar(50) null comment '功能模块', |
||||
sort int comment '排序', |
||||
create_time datetime default CURRENT_TIMESTAMP null comment '创建时间', |
||||
update_time datetime default CURRENT_TIMESTAMP null on update CURRENT_TIMESTAMP comment '更新时间', |
||||
is_deleted tinyint default 0 null comment '逻辑删除 (0 可用 1 删除)' |
||||
); |
||||
|
||||
insert into log_options_module_name(module_name, sort) |
||||
values ('集中监控', 1), |
||||
('综合调度', 2), |
||||
('视频集中监控', 3), |
||||
('实时监控', 4), |
||||
('视频监控', 5), |
||||
('演示大屏', 6), |
||||
('生态监控', 7), |
||||
('数据分析', 9), |
||||
('数据查询', 10), |
||||
('通讯告警统计', 11), |
||||
('气象监测', 12), |
||||
('我的事务', 13), |
||||
('值班管理', 14), |
||||
('缺陷管理', 15), |
||||
('两票管理', 16), |
||||
('巡检管理', 17), |
||||
('日常维护', 18), |
||||
('检修管理', 19), |
||||
('数据填报', 20), |
||||
('安全管理', 21), |
||||
('设备管理', 22), |
||||
('资产管理', 23), |
||||
('智能诊断', 24), |
||||
('生产月报', 25), |
||||
('告警配置', 26), |
||||
('电站安全标准', 27), |
||||
('站点管理', 28), |
||||
('实时画面', 29), |
||||
('资源配置', 30), |
||||
('消息管理', 31), |
||||
('移动端配置', 32), |
||||
('水电站设置', 33), |
||||
('告警配置', 34); |
@ -0,0 +1,5 @@
|
||||
update hzims_oper_maintenance_task set flow_task_name = '待领用' where STATUS =1; |
||||
update hzims_oper_maintenance_task set flow_task_name = '待执行' where STATUS =2; |
||||
update hzims_oper_maintenance_task set flow_task_name = '待确认' where STATUS =3; |
||||
update hzims_oper_maintenance_task set flow_task_name = '待归档' where STATUS =4; |
||||
update hzims_oper_maintenance_task set flow_task_name = '结束' where STATUS =5; |
@ -1,3 +0,0 @@
|
||||
insert into hzims_work_ticket_finish(ticket_id, ground_num, brake_number) |
||||
select ticket_id, ground_switch_count,ground_wire_code |
||||
from hzims_work_ticket_flow; |
@ -1 +0,0 @@
|
||||
alter table hzims_ticket_count add invalidated_ticket_num int null comment '废票数量'; |
@ -1,18 +0,0 @@
|
||||
# 工作票更新 |
||||
update hzims_work_ticket_info set flow_task_name = '签发' where status = 1; |
||||
update hzims_work_ticket_info set flow_task_name = '收到工作票' where status = 2; |
||||
update hzims_work_ticket_info set flow_task_name = '许可人许可' where status = 3; |
||||
update hzims_work_ticket_info set flow_task_name = '确认条件具备' where status = 4; |
||||
update hzims_work_ticket_info set flow_task_name = '工作负责人确认工作' where status = 5; |
||||
update hzims_work_ticket_info set flow_task_name = '许可人确认工作结束' where status = 6; |
||||
update hzims_work_ticket_info set flow_task_name = '工作票终结' where status = 7; |
||||
update hzims_work_ticket_info set flow_task_name = '许可人延期确认' where status = 9; |
||||
update hzims_work_ticket_info set flow_task_name = '负责人延期确认' where status = 10; |
||||
update hzims_work_ticket_info set flow_task_name = '作废' where status = 11; |
||||
update hzims_work_ticket_info set flow_task_name = '逾期' where status = 12; |
||||
# 操作票更新 |
||||
update hzims_standard_ticket_info set flow_task_name = '待监护人确认' where status = 1; |
||||
update hzims_standard_ticket_info set flow_task_name = '待值班负责人确认' where status = 2; |
||||
update hzims_standard_ticket_info set flow_task_name = '结束' where status = 3; |
||||
update hzims_standard_ticket_info set flow_task_name = '终止' where status = 4; |
||||
|
Loading…
Reference in new issue