feat(surgery): 增加手术室确认信息和次要手术功能
- 添加手术室确认时间和确认人字段显示 - 实现次要手术的添加、编辑和删除功能 - 增加急诊标志和植入高值耗材开关选项 - 添加手术费用和麻醉费用计算功能 - 实现手术和麻醉项目的远程搜索功能 - 增加第一助手和第二助手选择功能 - 优化医生列表加载逻辑,支持多接口获取 - 添加按钮图标提升界面体验 - 修复encounterId为空时的接口调用问题
This commit is contained in:
25
检查surgery_indication字段.sql
Normal file
25
检查surgery_indication字段.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- 检查cli_surgery表中是否有surgery_indication字段
|
||||
SELECT
|
||||
column_name,
|
||||
data_type,
|
||||
is_nullable,
|
||||
column_default
|
||||
FROM information_schema.columns
|
||||
WHERE table_schema = 'public'
|
||||
AND table_name = 'cli_surgery'
|
||||
AND column_name = 'surgery_indication';
|
||||
|
||||
-- 查看cli_surgery表的所有字段
|
||||
SELECT
|
||||
column_name,
|
||||
data_type,
|
||||
is_nullable,
|
||||
column_default
|
||||
FROM information_schema.columns
|
||||
WHERE table_schema = 'public'
|
||||
AND table_name = 'cli_surgery'
|
||||
ORDER BY ordinal_position;
|
||||
|
||||
-- 如果字段不存在,添加该字段
|
||||
-- ALTER TABLE cli_surgery ADD COLUMN surgery_indication TEXT;
|
||||
-- COMMENT ON COLUMN cli_surgery.surgery_indication IS '手术指征';
|
||||
Reference in New Issue
Block a user