-- 更新icss_template_info的doctor_id
update `sys-icss`.icss_template_info set doctor_id = CONCAT('-',doctor_id)
where doctor_id in
	(SELECT id FROM `sys-tran`.`tran_doctor_info` where hospital_code = 'LT');

-- 更新icss_template_info的hospital_id
update `sys-icss`.icss_template_info set hospital_id = CONCAT('-',hospital_id)
where hospital_id in
	(SELECT id FROM `sys-tran`.`tran_hospital_info` where code = 'LT');

-- 更新icss_template_info的hospital_dept_id
update `sys-icss`.icss_template_info set hospital_dept_id = CONCAT('-',hospital_dept_id)
where hospital_dept_id in
	(SELECT id FROM `sys-tran`.`tran_hospital_dept` where hospital_code = 'LT');


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';