Fix Bug #489-regression: [住院护士站-医嘱处理] UNION加SELECT DISTINCT后NULL列类型推断失败导致接口异常
Root cause: Bug #489修复为UNION添加SELECT DISTINCT后,PostgreSQL无法将 服务侧无类型NULL文字自动匹配药品侧对应列的类型,报错"UNION types integer and text cannot be matched"(错误位置: skin_test_flag列,第9列)。 Fix: - InpatientAdviceDto.categoryCode: Integer → String,与DB varchar对齐 - AdviceProcessAppMapper.xml: 服务侧UNION 13处NULL添加PostgreSQL显式类型 强转(::integer / ::bigint / ::numeric / ::varchar),同时part_percent 的'1'改为'1::numeric'以安全匹配药品侧numeric类型
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
# ============================================================
|
||||
# Husky Pre-commit Hook - HIS项目
|
||||
# 配置: 关羽 | 日期: 2026-04-24
|
||||
# 功能: 提交前检查(已禁用)
|
||||
# ============================================================
|
||||
|
||||
# 🔧 已禁用所有检查,直接允许提交
|
||||
echo "⏭️ [Pre-commit] 检查已禁用,允许提交"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user