|
|
@ -697,7 +697,10 @@ |
|
|
A.NAME08 AS guanliandeqitateshuz, |
|
|
A.NAME08 AS guanliandeqitateshuz, |
|
|
d.personname9 AS jieshoujiaodiren, |
|
|
d.personname9 AS jieshoujiaodiren, |
|
|
d.firepersonname2 AS anquanjiaodiren, |
|
|
d.firepersonname2 AS anquanjiaodiren, |
|
|
'是' as shifouweiqiyetuisong |
|
|
'是' as shifouweiqiyetuisong, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
|
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
@ -814,7 +817,9 @@ |
|
|
A.NAME08 AS guanliandeqitateshuz, |
|
|
A.NAME08 AS guanliandeqitateshuz, |
|
|
d.personname9 AS jieshoujiaodiren, |
|
|
d.personname9 AS jieshoujiaodiren, |
|
|
d.firepersonname2 AS anquanjiaodiren, |
|
|
d.firepersonname2 AS anquanjiaodiren, |
|
|
'是' as shifouweiqiyetuisong |
|
|
'是' as shifouweiqiyetuisong, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
@ -930,7 +935,9 @@ |
|
|
'BS07', '坍塌'), 'BS08', '高处坠落'), 'BS09', '中毒和窒息'), 'BS10', '锅炉爆炸'), 'BS11', '容器爆炸'), 'BS12', '淹溺'), 'BS13', '其它爆炸'), 'BS14', '其它伤害') AS fengxianbianshijiegu, |
|
|
'BS07', '坍塌'), 'BS08', '高处坠落'), 'BS09', '中毒和窒息'), 'BS10', '锅炉爆炸'), 'BS11', '容器爆炸'), 'BS12', '淹溺'), 'BS13', '其它爆炸'), 'BS14', '其它伤害') AS fengxianbianshijiegu, |
|
|
-- 关联其他作业票需改进 |
|
|
-- 关联其他作业票需改进 |
|
|
A.NAME08 AS guanliandeqitateshuz, |
|
|
A.NAME08 AS guanliandeqitateshuz, |
|
|
'是' as shifouweiqiyetuisong |
|
|
'是' as shifouweiqiyetuisong, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
@ -1047,7 +1054,9 @@ |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
d.personname9 AS jieshoujiaodiren, |
|
|
d.personname9 AS jieshoujiaodiren, |
|
|
'是' as shifouweiqiyetuisong, |
|
|
'是' as shifouweiqiyetuisong, |
|
|
d.firepersonname2 AS anquanjiaodiren |
|
|
d.firepersonname2 AS anquanjiaodiren, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
--添加安措 |
|
|
--添加安措 |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
@ -1161,7 +1170,9 @@ |
|
|
--a.otherhaziden, |
|
|
--a.otherhaziden, |
|
|
'是' as shifouweiqiyetuisong, |
|
|
'是' as shifouweiqiyetuisong, |
|
|
-- 关联其他作业票需改进 |
|
|
-- 关联其他作业票需改进 |
|
|
A.NAME08 AS guanlianqitateshuzuo |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
--添加安措 |
|
|
--添加安措 |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
@ -1270,7 +1281,9 @@ |
|
|
d.OPINION1 as yijian1, |
|
|
d.OPINION1 as yijian1, |
|
|
d.OPINION2 as yijian2, |
|
|
d.OPINION2 as yijian2, |
|
|
d.OPINION3 as yijian3, |
|
|
d.OPINION3 as yijian3, |
|
|
d.OPINION6 as yijian4 |
|
|
d.OPINION6 as yijian4, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
LEFT JOIN ISM_AREA B ON |
|
|
@ -1367,7 +1380,9 @@ |
|
|
'BS07', '坍塌'), 'BS08', '高处坠落'), 'BS09', '中毒和窒息'), 'BS10', '锅炉爆炸'), 'BS11', '容器爆炸'), 'BS12', '淹溺'), 'BS13', '其它爆炸'), 'BS14', '其它伤害') AS fengxianbianshijiegu, |
|
|
'BS07', '坍塌'), 'BS08', '高处坠落'), 'BS09', '中毒和窒息'), 'BS10', '锅炉爆炸'), 'BS11', '容器爆炸'), 'BS12', '淹溺'), 'BS13', '其它爆炸'), 'BS14', '其它伤害') AS fengxianbianshijiegu, |
|
|
-- 关联其他作业票需改进 |
|
|
-- 关联其他作业票需改进 |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
'是' as shifouweiqiyetuisong |
|
|
'是' as shifouweiqiyetuisong, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
--添加安措 |
|
|
--添加安措 |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
@ -1464,7 +1479,9 @@ |
|
|
'BS07', '坍塌'), 'BS08', '高处坠落'), 'BS09', '中毒和窒息'), 'BS10', '锅炉爆炸'), 'BS11', '容器爆炸'), 'BS12', '淹溺'), 'BS13', '其它爆炸'), 'BS14', '其它伤害') AS fengxianbianshijiegu, |
|
|
'BS07', '坍塌'), 'BS08', '高处坠落'), 'BS09', '中毒和窒息'), 'BS10', '锅炉爆炸'), 'BS11', '容器爆炸'), 'BS12', '淹溺'), 'BS13', '其它爆炸'), 'BS14', '其它伤害') AS fengxianbianshijiegu, |
|
|
-- 关联其他作业票需改进 |
|
|
-- 关联其他作业票需改进 |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
A.NAME08 AS guanlianqitateshuzuo, |
|
|
'是' as shifouweiqiyetuisong |
|
|
'是' as shifouweiqiyetuisong, |
|
|
|
|
|
FORMAT(d.CHECKDATE8, 'yyyy-MM-dd HH:mm:ss') as zuoyeyanshoushijian, |
|
|
|
|
|
FORMAT(d.CHECKDATE7, 'yyyy-MM-dd HH:mm:ss') as qianfashijian |
|
|
--添加安措 |
|
|
--添加安措 |
|
|
FROM |
|
|
FROM |
|
|
OTM_OPERATICK A |
|
|
OTM_OPERATICK A |
|
|
|