设备调拨SQL.sql 793 B

1234567891011121314
  1. ALTER TABLE `qykh_sb_cqdw`.`t_fill_project_quantity`
  2. ADD COLUMN `parent_id` varchar(64) NULL COMMENT '父类ID' AFTER `id`,
  3. ADD COLUMN `code` varchar(255) NULL COMMENT '标识' AFTER `parent_id`;
  4. ALTER TABLE `qykh_sb_cqdw`.`t_fill_project_quantity`
  5. ADD COLUMN `site_unit` smallint(2) NULL DEFAULT NULL COMMENT '位置单位' AFTER `update_time`,
  6. ADD COLUMN `price` decimal(20, 2) NULL DEFAULT NULL COMMENT '单价' AFTER `site_unit`,
  7. ADD COLUMN `total_price` decimal(20, 2) NULL DEFAULT NULL COMMENT '总价' AFTER `price`;
  8. ALTER TABLE `qykh_sb_cqdw`.`t_sb_run_fill`
  9. ADD COLUMN `fill_date` date NULL COMMENT '填报时间' AFTER `dept_id`;
  10. ALTER TABLE `qykh_sb_cqdw`.`t_sb_inspection_fill`
  11. ADD COLUMN `fill_date` date NULL COMMENT '填报时间' AFTER `dept_id`;