diff --git a/postdischarge-manage/src/main/resources/mapper/manage/phonedialrecord/PhoneDialRecordMapper.xml b/postdischarge-manage/src/main/resources/mapper/manage/phonedialrecord/PhoneDialRecordMapper.xml index 09709da9..19b7591a 100644 --- a/postdischarge-manage/src/main/resources/mapper/manage/phonedialrecord/PhoneDialRecordMapper.xml +++ b/postdischarge-manage/src/main/resources/mapper/manage/phonedialrecord/PhoneDialRecordMapper.xml @@ -238,8 +238,8 @@ patient.hospital_agency_id, patient.campus_agency_id, patient.department_id, - patient.ward_id, - count(record.id) as count + patient.ward_id + -- count(record.id) as count from phone_dial_record record left join patient_info patient on patient.id = record.patient_id