- 添加手术室确认时间和确认人字段显示 - 实现次要手术的添加、编辑和删除功能 - 增加急诊标志和植入高值耗材开关选项 - 添加手术费用和麻醉费用计算功能 - 实现手术和麻醉项目的远程搜索功能 - 增加第一助手和第二助手选择功能 - 优化医生列表加载逻辑,支持多接口获取 - 添加按钮图标提升界面体验 - 修复encounterId为空时的接口调用问题
26 lines
685 B
SQL
26 lines
685 B
SQL
-- 检查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 '手术指征';
|