35 changed files with 311 additions and 64 deletions
@ -0,0 +1,66 @@ |
|||
-- 堤防项目管理表新增 |
|||
-- 任务名称 |
|||
alter table bs_sgc_df_xmgl add column task_name varchar(50) not null default '' COMMENT '任务名称'; |
|||
-- 巡检负责单位 |
|||
alter table bs_sgc_df_xmgl add column responsible_unit varchar(50) not null default '' COMMENT '巡检负责单位'; |
|||
alter table bs_sgc_df_xmgl add column responsible_unit_id varchar(50) NOT NULL DEFAULT '' COMMENT '巡检负责单位id'; |
|||
-- 巡查周期 |
|||
alter table bs_sgc_df_xmgl add column cycle int NOT NULL DEFAULT '0' COMMENT '巡查周期 字典 patrol_maintenance_cycle'; |
|||
-- 任务时间 |
|||
alter table bs_sgc_df_xmgl add column `start_date` datetime DEFAULT NULL COMMENT '巡查开始时间'; |
|||
alter table bs_sgc_df_xmgl add column `end_date` datetime DEFAULT NULL COMMENT '巡查结束时间'; |
|||
-- 任务范围 |
|||
alter table bs_sgc_df_xmgl add column scope varchar(50) NOT NULL DEFAULT '' COMMENT '巡查范围'; |
|||
-- 项目创始人 |
|||
alter table bs_sgc_df_xmgl add column pro_founding_person varchar(50) NOT NULL DEFAULT '' COMMENT '项目创始人'; |
|||
alter table bs_sgc_df_xmgl add column pro_founding_person_id varchar(50) NOT NULL DEFAULT '' COMMENT '项目创始人id'; |
|||
|
|||
-- 水闸项目管理表新增 |
|||
-- 任务名称 |
|||
alter table bs_sgc_sz_xmgl add column task_name varchar(50) not null default '' COMMENT '任务名称'; |
|||
-- 巡检负责单位 |
|||
alter table bs_sgc_sz_xmgl add column responsible_unit varchar(50) not null default '' COMMENT '巡检负责单位'; |
|||
alter table bs_sgc_sz_xmgl add column responsible_unit_id int NOT NULL DEFAULT '0' COMMENT '巡检负责单位id'; |
|||
-- 巡查周期 |
|||
alter table bs_sgc_sz_xmgl add column cycle int NOT NULL DEFAULT '0' COMMENT '巡查周期 字典 patrol_maintenance_cycle'; |
|||
-- 任务时间 |
|||
alter table bs_sgc_sz_xmgl add column `start_date` datetime DEFAULT NULL COMMENT '巡查开始时间'; |
|||
alter table bs_sgc_sz_xmgl add column `end_date` datetime DEFAULT NULL COMMENT '巡查结束时间'; |
|||
-- 任务范围 |
|||
alter table bs_sgc_sz_xmgl add column scope varchar(50) NOT NULL DEFAULT '' COMMENT '巡查范围'; |
|||
-- 项目创始人 |
|||
alter table bs_sgc_sz_xmgl add column pro_founding_person varchar(50) NOT NULL DEFAULT '' COMMENT '项目创始人'; |
|||
alter table bs_sgc_sz_xmgl add column pro_founding_person_id varchar(50) NOT NULL DEFAULT '' COMMENT '项目创始人id'; |
|||
|
|||
-- 动物项目管理表新增 |
|||
-- 任务名称 |
|||
alter table bs_sgc_dw_xmgl add column task_name varchar(50) not null default '' COMMENT '任务名称'; |
|||
-- 巡检负责单位 |
|||
alter table bs_sgc_dw_xmgl add column responsible_unit varchar(50) not null default '' COMMENT '巡检负责单位'; |
|||
alter table bs_sgc_dw_xmgl add column responsible_unit_id int NOT NULL DEFAULT '0' COMMENT '巡检负责单位id'; |
|||
-- 巡查周期 |
|||
alter table bs_sgc_dw_xmgl add column cycle int NOT NULL DEFAULT '0' COMMENT '巡查周期 字典 patrol_maintenance_cycle'; |
|||
-- 任务时间 |
|||
alter table bs_sgc_dw_xmgl add column `start_date` datetime DEFAULT NULL COMMENT '巡查开始时间'; |
|||
alter table bs_sgc_dw_xmgl add column `end_date` datetime DEFAULT NULL COMMENT '巡查结束时间'; |
|||
-- 任务范围 |
|||
alter table bs_sgc_dw_xmgl add column scope varchar(50) NOT NULL DEFAULT '' COMMENT '巡查范围'; |
|||
-- 项目创始人 |
|||
alter table bs_sgc_dw_xmgl add column pro_founding_person varchar(50) NOT NULL DEFAULT '' COMMENT '项目创始人'; |
|||
alter table bs_sgc_dw_xmgl add column pro_founding_person_id varchar(50) NOT NULL DEFAULT '' COMMENT '项目创始人id'; |
|||
|
|||
|
|||
|
|||
-- 堤防缺陷列表 |
|||
alter table bs_sgc_df_xcqx add column damage_unit int NOT NULL DEFAULT '0' COMMENT '工程损坏单位 字典patrol_maintenance_damage_unit'; |
|||
alter table bs_sgc_df_xcqx add column damage_value int NOT NULL DEFAULT '0' COMMENT '工程损坏数值'; |
|||
-- 水闸缺陷列表 |
|||
alter table bs_sgc_sz_xcqx add column damage_unit int NOT NULL DEFAULT '0' COMMENT '工程损坏单位 字典patrol_maintenance_damage_unit'; |
|||
alter table bs_sgc_sz_xcqx add column damage_value int NOT NULL DEFAULT '0' COMMENT '工程损坏数值'; |
|||
-- 动物缺陷列表 |
|||
alter table bs_sgc_dw_xcqx add column damage_unit int NOT NULL DEFAULT '0' COMMENT '工程损坏单位 字典patrol_maintenance_damage_unit'; |
|||
alter table bs_sgc_dw_xcqx add column damage_value int NOT NULL DEFAULT '0' COMMENT '工程损坏数值'; |
|||
|
|||
select * from bs_sgc_df_manateam |
|||
|
|||
select * from bs_sgc_df_xsxcjl |
Loading…
Reference in new issue