qc_init.sql 770 B

123456789101112
  1. use `qc`;
  2. ALTER TABLE `med_behospital_info` ADD COLUMN `is_placefile` varchar(2) NOT NULL DEFAULT '0' COMMENT '是否归档(0:未归档,1:已归档)' AFTER `director_doctor_name`;
  3. ALTER TABLE `med_qcresult_detail` ADD COLUMN `grade_type` tinyint(4) DEFAULT '1' COMMENT '初始类型(1:机器,2:人工)' AFTER `is_reject`;
  4. ALTER TABLE `med_qcresult_detail` ADD COLUMN `opt_type` tinyint(4) DEFAULT '1' COMMENT '操作类型(1:新增,2:删除,3:修改)' AFTER `grade_type`;
  5. UPDATE `sys_permission` SET `is_deleted` = 'Y' WHERE `id` = '10';
  6. update `sys_dictionary_info` set is_deleted = 'N' where group_type = 12 and `name` = '病案首页';
  7. update `qc_mode` set order_no = 200 where id = 53;
  8. update `qc_mode` set order_no = 210 where id = 54;