增强HSE检查的功能

This commit is contained in:
2024-07-17 14:35:47 +08:00
parent e3286e45d8
commit b503c6f706
46 changed files with 1404 additions and 386 deletions
@@ -0,0 +1,51 @@
--hse巡检增加隐患类型
alter table HSSE_Hazard_HazardRegister
add HiddenType nvarchar(50) NULL;
--专项检查增加隐患类型
alter table Check_CheckSpecialDetail
add HiddenType nvarchar(50) NULL;
--综合检查增加隐患类型和级别
alter table Check_CheckColligationDetail
add HiddenHazardType nvarchar(50) NULL;
alter table Check_CheckColligationDetail
add HiddenType nvarchar(50) NULL;
--隐患整改单增加隐患类型和级别
alter table Check_RectifyNoticesItem
add HiddenType nvarchar(50) NULL;
alter table Check_RectifyNoticesItem
add HiddenHazardType nvarchar(50) NULL;
--增加隐患类型
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'高处坠落','高处坠落',1,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'物体打击','物体打击',2,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'车辆伤害','车辆伤害',3,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'机械伤害','机械伤害',4,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'起重伤害','起重伤害',5,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'触电','触电',6,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'火灾','火灾',7,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'灼烫','灼烫',8,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'坍塌','坍塌',9,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'淹溺','淹溺',10,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'爆炸','爆炸',11,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'中毒窒息','中毒窒息',12,'Hiddendangertype')
insert into Sys_Const(ID,ConstValue,ConstText,SortIndex,GroupId)
values(newid(),'环境损害','环境损害',13,'Hiddendangertype')