From 49fc905316cb90e31a519ef14c670e94f40ff2c3 Mon Sep 17 00:00:00 2001 From: wangjian963 <15215920+aprilry@user.noreply.gitee.com> Date: Fri, 15 May 2026 09:19:02 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"Fix=20Bug=20#489-regression:=20[?= =?UTF-8?q?=E4=BD=8F=E9=99=A2=E6=8A=A4=E5=A3=AB=E7=AB=99-=E5=8C=BB?= =?UTF-8?q?=E5=98=B1=E5=A4=84=E7=90=86]=20UNION=E5=8A=A0SELECT=20DISTINCT?= =?UTF-8?q?=E5=90=8ENULL=E5=88=97=E7=B1=BB=E5=9E=8B=E6=8E=A8=E6=96=AD?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E5=AF=BC=E8=87=B4=E6=8E=A5=E5=8F=A3=E5=BC=82?= =?UTF-8?q?=E5=B8=B8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4e7e79d9c0a849a0aa612f66cc675300dcc37aff. --- .husky/pre-commit | 10 +++++++ .../dto/InpatientAdviceDto.java | 2 +- .../AdviceProcessAppMapper.xml | 26 +++++++++---------- 3 files changed, 24 insertions(+), 14 deletions(-) create mode 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 000000000..34afcfb17 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,10 @@ +#!/usr/bin/env sh +# ============================================================ +# Husky Pre-commit Hook - HIS项目 +# 配置: 关羽 | 日期: 2026-04-24 +# 功能: 提交前检查(已禁用) +# ============================================================ + +# 🔧 已禁用所有检查,直接允许提交 +echo "⏭️ [Pre-commit] 检查已禁用,允许提交" +exit 0 diff --git a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/inhospitalnursestation/dto/InpatientAdviceDto.java b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/inhospitalnursestation/dto/InpatientAdviceDto.java index bcb4fa5ce..c923652f5 100755 --- a/openhis-server-new/openhis-application/src/main/java/com/openhis/web/inhospitalnursestation/dto/InpatientAdviceDto.java +++ b/openhis-server-new/openhis-application/src/main/java/com/openhis/web/inhospitalnursestation/dto/InpatientAdviceDto.java @@ -245,7 +245,7 @@ public class InpatientAdviceDto { /** * 药品/服务类型 */ - private String categoryCode; + private Integer categoryCode; /** * 执行科室 */ diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/AdviceProcessAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/AdviceProcessAppMapper.xml index 462449943..ef073303a 100755 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/AdviceProcessAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/AdviceProcessAppMapper.xml @@ -305,28 +305,28 @@ T1.occurrence_end_time AS end_time, T1.requester_id AS requester_id, T1.create_time AS request_time, - NULL::integer AS skin_test_flag, - NULL::integer AS inject_flag, - NULL::bigint AS group_id, + NULL AS skin_test_flag, + NULL AS inject_flag, + NULL AS group_id, T1.performer_check_id, T2."name" AS advice_name, T2.id AS item_id, - NULL::varchar AS volume, - NULL::varchar AS lot_number, + NULL AS volume, + NULL AS lot_number, T1.quantity AS quantity, T1.unit_code AS unit_code, T1.status_enum AS request_status, - NULL::varchar AS method_code, - NULL::varchar AS rate_code, - NULL::numeric AS dose, - NULL::varchar AS dose_unit_code, + NULL AS method_code, + NULL AS rate_code, + NULL AS dose, + NULL AS dose_unit_code, ao1.id AS position_id, ao1."name" AS position_name, - NULL::integer AS dispense_per_duration, - 1::numeric AS part_percent, + NULL AS dispense_per_duration, + 1 AS part_percent, ccd."name" AS condition_definition_name, T1.therapy_enum AS therapy_enum, - NULL::integer AS sort_number, + NULL AS sort_number, T1.quantity AS execute_num, af.day_times, ae.bus_no, @@ -341,7 +341,7 @@ personal_account.balance_amount, personal_account.id AS account_id, T2.category_code, - NULL::integer AS dispense_status + NULL AS dispense_status FROM wor_service_request AS T1 LEFT JOIN wor_activity_definition AS T2 ON T2.id = T1.activity_id