From 63a9e26abff3067d8d59b27f643a0293aac358b5 Mon Sep 17 00:00:00 2001 From: chenqi Date: Tue, 7 Apr 2026 14:01:00 +0800 Subject: [PATCH] =?UTF-8?q?style(mapper):=20=E7=BB=9F=E4=B8=80SQL=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E6=96=87=E4=BB=B6=E4=B8=AD=E7=9A=84=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=88=AB=E5=90=8D=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在OutpatientRegistrationAppMapper.xml中将register_time别名添加引号 - 在DoctorStationMainAppMapper.xml中将register_time别名添加引号 - 在TencentAppMapper.xml中为两个register_time别名添加引号 - 确保所有字段别名使用一致的引号格式以避免解析错误 --- .../mapper/chargemanage/OutpatientRegistrationAppMapper.xml | 2 +- .../mapper/doctorstation/DoctorStationMainAppMapper.xml | 2 +- .../src/main/resources/mapper/tencentJH/TencentAppMapper.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml index 26ce80db..21cf9472 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/chargemanage/OutpatientRegistrationAppMapper.xml @@ -84,7 +84,7 @@ T8.gender_enum AS gender_enum, T8.id_card AS id_card, T1.status_enum AS status_enum, - T1.create_time AS register_time, + T1.create_time AS "register_time", T10.total_price, T11."name" AS account_name, T12."name" AS enterer_name, diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationMainAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationMainAppMapper.xml index 34c04c8e..832f39f7 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationMainAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationMainAppMapper.xml @@ -49,7 +49,7 @@ T8.phone AS phone, T8.birth_date AS birth_date, T1.status_enum AS status_enum, - T1.create_time AS register_time, + T1.create_time AS "register_time", T1.reception_time AS reception_time, T1.organization_id AS org_id, T8.bus_no AS bus_no, diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/tencentJH/TencentAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/tencentJH/TencentAppMapper.xml index 2d163450..d180d84c 100644 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/tencentJH/TencentAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/tencentJH/TencentAppMapper.xml @@ -43,7 +43,7 @@ T8.gender_enum AS gender_enum, T8.id_card AS id_card, T1.status_enum AS status_enum, - T1.create_time AS register_time, + T1.create_time AS "register_time", T10.total_price, T11."name" AS account_name, T12."name" AS enterer_name, @@ -140,7 +140,7 @@ T8.phone AS phone, T8.birth_date AS birth_date, T1.status_enum AS status_enum, - T1.create_time AS register_time, + T1.create_time AS "register_time", T1.reception_time AS reception_time, T1.organization_id AS org_id, T8.bus_no AS bus_no,