360 住院护士站-》三测单:体征录入保存失败
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user