360 住院护士站-》三测单:体征录入保存失败

This commit is contained in:
Ranyunqiao
2026-04-20 11:44:37 +08:00
parent ed75b148a8
commit 5ab4650c4e
9 changed files with 318 additions and 71 deletions

View File

@@ -25,6 +25,7 @@
T2.organization_id AS org_id, --科室ID从就诊表取
T2.id AS encounter_id, --就诊ID
T2.start_time AS admissionDate, --入院日期
T3.ward_admission_date AS wardAdmissionDate, --入科日期
T3.location_id AS ward_location_id, --病区
T4.location_id AS bed_location_id --床号
FROM adm_patient AS T1

View File

@@ -81,6 +81,9 @@
-- 记录日期
T1.recording_date >= #{startTime}::date
AND T1.recording_date <= #{endTime}::date
<if test="patientId != null and patientId != ''">
AND T1.patient_id = #{patientId}::bigint
</if>
AND T1.delete_flag = '0'
</where>