diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml index 63fb2c0c0..ec68fc28e 100755 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/inhospitalnursestation/ATDManageAppMapper.xml @@ -231,7 +231,7 @@ ae.priority_enum, ae.organization_id, ae.start_time AS in_hos_time, - bed.start_time, + COALESCE(bed.start_time, ae.start_time) AS start_time, bed.location_id AS bed_id, bed.location_name AS bed_name, house.location_id AS house_id,