瀏覽代碼

修改病人信息和配置信息

zhoutg 5 年之前
父節點
當前提交
2360fc6bfe
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/029.20200109模板新需求/init.sql

+ 3 - 1
docs/029.20200109模板新需求/init.sql

@@ -75,4 +75,6 @@ insert into icss_folder_mapping(`template_id`,`creator`,`modifier`,`folder_id`)
 
 update `sys-tran`.`tran_doctor_info` set id=CONCAT('-',id)  where hospital_code = 'LT';
 update `sys-tran`.`tran_hospital_info` set id=CONCAT('-',id)  where code = 'LT';
-update `sys-tran`.`tran_hospital_dept` set id=CONCAT('-',id)  where hospital_code = 'LT';
+update `sys-tran`.`tran_hospital_dept` set id=CONCAT('-',id)  where hospital_code = 'LT';
+update `sys-tran`.`tran_patient_info` set id=CONCAT('-',id)  where hospital_code = 'LT';
+update `sys-tran`.`tran_sys_set` set id=-1  where `code` = 'template_admin';