From f5a1ad7f3f92a10e8c065f7b2cb4cb4865f6ed98 Mon Sep 17 00:00:00 2001 From: chenqi Date: Wed, 1 Apr 2026 11:36:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=8B=E6=9C=AF=E5=8C=BB=E5=98=B1advi?= =?UTF-8?q?ce=5Fname=E4=BB=8Econtent=5Fjson=E8=A7=A3=E6=9E=90surgeryName?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/regdoctorstation/AdviceManageAppMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/regdoctorstation/AdviceManageAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/regdoctorstation/AdviceManageAppMapper.xml index 6201b68d..79009b5a 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/regdoctorstation/AdviceManageAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/regdoctorstation/AdviceManageAppMapper.xml @@ -291,7 +291,7 @@ null AS skin_test_flag, null AS inject_flag, null AS group_id, - T2.NAME AS advice_name, + COALESCE(T2.NAME, T1.content_json::jsonb->>'surgeryName') AS advice_name, '' AS volume, '' AS lot_number, T1.quantity AS quantity,