Browse Source

脚本跟新

zhongwei
段飞宇 1 year ago
parent
commit
ab8aa79143
  1. 2
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/vo/PointDataVo.java
  2. 28
      hzims-service/ticket/src/main/resources/db/2.0.0.sql
  3. 3
      hzims-service/ticket/src/main/resources/db/2.0.1.sql
  4. 1
      hzims-service/ticket/src/main/resources/db/2.0.2.sql
  5. 18
      hzims-service/ticket/src/main/resources/db/2.0.3.sql
  6. 2
      hzims-service/ticket/src/main/resources/db/2.0.4.sql

2
hzims-service/operational/src/main/java/com/hnac/hzims/operational/config/vo/PointDataVo.java

@ -42,4 +42,6 @@ public class PointDataVo {
@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonInclude(JsonInclude.Include.NON_EMPTY)
private String signage; private String signage;
private String name;
} }

28
hzims-service/ticket/src/main/resources/db/2.0.0.sql

@ -22,3 +22,31 @@ create table hzims_ticket_count
) )
comment '两票统计分析' row_format = DYNAMIC; comment '两票统计分析' row_format = DYNAMIC;
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;
alter table hzims_ticket_count add invalidated_ticket_num int null comment '废票数量';
# 工作票更新
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;
alter table hzims_ticket_count add wrong_ticket_num int null comment '错票数量';
alter table hzims_ticket_count add percent_pass_ticket varchar(50) null comment '合格率';

3
hzims-service/ticket/src/main/resources/db/2.0.1.sql

@ -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
hzims-service/ticket/src/main/resources/db/2.0.2.sql

@ -1 +0,0 @@
alter table hzims_ticket_count add invalidated_ticket_num int null comment '废票数量';

18
hzims-service/ticket/src/main/resources/db/2.0.3.sql

@ -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;

2
hzims-service/ticket/src/main/resources/db/2.0.4.sql

@ -1,2 +0,0 @@
alter table hzims_ticket_count add wrong_ticket_num int null comment '错票数量';
alter table hzims_ticket_count add percent_pass_ticket varchar(50) null comment '合格率';
Loading…
Cancel
Save