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.

42 lines
2.8 KiB

1 year ago
  1. -- cps_question_info 问题管理
  2. CREATE TABLE `cps_question_info`
  3. (
  4. `id` BIGINT(20) NOT NULL,
  5. `defect_type` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  6. `question_location` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  7. `question_area` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  8. `question_time` DATETIME NULL DEFAULT NULL,
  9. `question_level` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  10. `importance_level` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  11. `times_one_day` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  12. `question_information` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  13. `responsible_person` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  14. `containment_measures` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  15. `root_cause_identification` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  16. `corrective_actions` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  17. `effect_verification` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  18. `control_standards` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  19. `completion_time` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  20. `control_area` DATETIME NULL DEFAULT NULL,
  21. `knowledge_accumulation` VARCHAR(520) NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
  22. `status` INT(2) NULL DEFAULT '0' COMMENT '状态',
  23. `status1` INT(2) NULL DEFAULT '0' COMMENT '状态1',
  24. `status2` INT(2) NULL DEFAULT '0' COMMENT '状态2',
  25. `status3` INT(2) NULL DEFAULT '0' COMMENT '状态3',
  26. `status4` INT(2) NULL DEFAULT '0' COMMENT '状态4',
  27. `status5` INT(2) NULL DEFAULT '0' COMMENT '状态5',
  28. `status6` INT(2) NULL DEFAULT '0' COMMENT '状态6',
  29. `timestamp` VARCHAR(20) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  30. `tenantsid` BIGINT(20) NULL DEFAULT NULL,
  31. `tenant_id` VARCHAR(20) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  32. `create_by` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  33. `create_date` DATETIME NULL DEFAULT NULL,
  34. `modified_by` VARCHAR(50) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
  35. `modified_date` DATETIME NULL DEFAULT NULL,
  36. `version` INT(11) NULL DEFAULT NULL,
  37. `deleted` TINYINT(255) NULL DEFAULT NULL,
  38. PRIMARY KEY (`id`) USING BTREE
  39. ) COMMENT='cps_问题追踪'
  40. COLLATE='utf8mb4_general_ci'
  41. ENGINE=InnoDB
  42. ;