INSERT INTO `sys_dict_data` (`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `deleted`, `create_id`, `update_id`) VALUES (5, '职业个人', '5', 'dict_team', NULL, 'default', 'N', '0', '超级管理员', '2025-05-09 08:55:46', '', NULL, NULL, 0, NULL, NULL);
INSERT INTO `sys_dict_data` (`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `deleted`, `create_id`, `update_id`) VALUES (6, '职业团队', '6', 'dict_team', NULL, 'default', 'N', '0', '超级管理员', '2025-05-09 08:55:58', '', NULL, NULL, 0, NULL, NULL);


ALTER TABLE tj_ask_medical_history ADD COLUMN medical_history_ids VARCHAR(255) NULL BEFORE medical_history;
ALTER TABLE tj_ask_medical_history ADD COLUMN medical_history_other TEXT NULL AFTER medical_history;
ALTER TABLE tj_ask_medical_history MODIFY COLUMN medical_history TEXT;
ALTER TABLE tj_ask_medical_history ADD COLUMN dwmc TEXT NULL;
ALTER TABLE tj_ask_medical_history ADD COLUMN ygdw TEXT NULL;
ALTER TABLE tj_ask_historys ADD COLUMN data_type TINYINT(1) NOT NULL COMMENT '数据类型 1病史信息 2症状信息';

INSERT INTO `sys_config` (`config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`, `deleted`, `create_id`, `update_id`)
VALUES ('职业体检类型', 'zhiye_tj_type', '5,6', 'Y', '10001', '2025-05-12 16:14:56', '', NULL, '英文逗号分隔', 0, NULL, NULL);

ALTER TABLE tj_order ADD COLUMN zhiye_jhgln VARCHAR(255) NULL COMMENT '接害工龄年';
ALTER TABLE tj_order ADD COLUMN zhiye_jhgly VARCHAR(255) NULL COMMENT '接害工龄月';
ALTER TABLE tj_order ADD COLUMN zhiye_ksjhrq DATETIME NULL COMMENT '开始接害日期';
ALTER TABLE tj_order ADD COLUMN zhiye_gh VARCHAR(255) NULL COMMENT '工号';
ALTER TABLE tj_order ADD COLUMN zhiye_cj VARCHAR(255) NULL COMMENT '车间';
ALTER TABLE tj_order ADD COLUMN zhiye_jl VARCHAR(255) NULL COMMENT '职业结论';
ALTER TABLE tj_order ADD COLUMN zhiye_jg VARCHAR(255) NULL COMMENT '职业结果';


