You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
66 lines
2.8 KiB
66 lines
2.8 KiB
数据迁移:
|
|
- [ ] 梳理RoadInfoMgrYNJT表结构
|
|
|
|
工作日志:
|
|
一、事权
|
|
1. 新增环水保多项目及单项目汇总、详情统计接口共4个
|
|
2. 质量安全->风险分级管控->危大工程分级管控情况、各项目危大工程管控情况增加已评审专项、未评审专项统计字段
|
|
3. 清理质量安全数据
|
|
```sql
|
|
-- 物理表
|
|
-- 红线问题隐患排查治理情况(过程问题隐患排查)
|
|
create table ODS_SAFETY_PROBLEM_RED_DETAIL_bak_20230412 as select * from ODS_SAFETY_PROBLEM_RED_DETAIL;
|
|
truncate table ODS_SAFETY_PROBLEM_RED_DETAIL;
|
|
|
|
-- ODS_SAFETY_TRAIN_DETIAL 安全教育培训(明细表)
|
|
create table ODS_SAFETY_TRAIN_DETIAL_bak_20230412 as select * from ODS_SAFETY_TRAIN_DETIAL;
|
|
truncate table ODS_SAFETY_TRAIN_DETIAL;
|
|
|
|
-- ODS_SAFETY_DRILL_DETAIL 应急预案与演练
|
|
create table ODS_SAFETY_DRILL_DETAIL_bak_20230412 as select * from ODS_SAFETY_DRILL_DETAIL;
|
|
truncate table ODS_SAFETY_DRILL_DETAIL;
|
|
|
|
|
|
-- ODS_SAFETY_PROBLEM_DETAIL 非红线问题隐患排查治理情况(过程问题隐患排查)
|
|
create table ODS_SAFETY_PROBLEM_DETAIL_bak_20230412 as select * from ODS_SAFETY_PROBLEM_DETAIL;
|
|
truncate table ODS_SAFETY_PROBLEM_DETAIL;
|
|
|
|
|
|
-- ODS_SAFETY_RISK_LEVEL_DETAIL 安全风险分级管控情况(风险分级管控)
|
|
create table ODS_SAFETY_RISK_LEVEL_DETAIL_bak_20230412 as select * from ODS_SAFETY_RISK_LEVEL_DETAIL;
|
|
truncate table ODS_SAFETY_RISK_LEVEL_DETAIL;
|
|
|
|
|
|
-- ODS_SAFETY_RISK_LARG_DETAIL 危险性较大工程风险管控情况
|
|
create table ODS_SAFETY_RISK_LARG_DETAIL_bak_20230412 as select * from ODS_SAFETY_RISK_LARG_DETAIL;
|
|
truncate table ODS_SAFETY_RISK_LARG_DETAIL;
|
|
|
|
-- ODS_SAFETY_CONTR_DETAIL 平安工地考核
|
|
create table ODS_SAFETY_CONTR_DETAIL_bak_20230412 as select * from ODS_SAFETY_CONTR_DETAIL;
|
|
truncate table ODS_SAFETY_CONTR_DETAIL;
|
|
|
|
-- ODS_SAFETY_FEE_COST_DETAIL 安全生产费投入情况(安全生产费用)
|
|
create table ODS_SAFETY_FEE_COST_DETAIL_bak_20230412 as select * from ODS_SAFETY_FEE_COST_DETAIL;
|
|
truncate table ODS_SAFETY_FEE_COST_DETAIL;
|
|
|
|
-- 交工检测
|
|
create table ODS_HANDOVER_INSPECTION_bak_20230412 as select * from ODS_HANDOVER_INSPECTION;
|
|
truncate table ODS_HANDOVER_INSPECTION;
|
|
|
|
create table ODS_HANDOVER_INSPECTION_DETAIL_bak_20230412 as select * from ODS_HANDOVER_INSPECTION_DETAIL;
|
|
truncate table ODS_HANDOVER_INSPECTION_DETAIL;
|
|
|
|
-- 质量问题排查
|
|
create table ODS_QUALITY_PROBLEM_RED_DETAIL_bak_20230412 as select * from ODS_QUALITY_PROBLEM_RED_DETAIL;
|
|
truncate table ODS_QUALITY_PROBLEM_RED_DETAIL;
|
|
|
|
create table ODS_QUALITY_PROBLEM_NO_RED_DETAIL_bak_20230412 as select * from ODS_QUALITY_PROBLEM_NO_RED_DETAIL;
|
|
truncate table ODS_QUALITY_PROBLEM_NO_RED_DETAIL;
|
|
|
|
-- 中间表
|
|
truncate table HZ_AQ_ZTXX;
|
|
truncate table HZ_AQ_PAGDZT;
|
|
truncate table HZ_AQ_PAGDZT;
|
|
truncate table HZ_AQ_SCF;
|
|
truncate table HZ_ZL_ZTQK;
|
|
``` |