diff --git a/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml b/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml index 81197792..34d669b6 100644 --- a/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml +++ b/postdischarge-manage/src/main/resources/mapper/manage/patientinfo/PatientInfoMapper.xml @@ -765,10 +765,10 @@ where del_flag = 0 - and create_time >= #{firstDay} + and DATE(create_time) >= #{firstDay} - and create_time <= #{now} + and DATE(create_time) <= #{now} @@ -779,10 +779,10 @@ where del_flag = 0 - and sign_time >= #{firstDay} + and DATE(sign_time) >= #{firstDay} - and sign_time <= #{now} + and DATE(sign_time) <= #{now} @@ -799,4 +799,4 @@ where del_flag = 0 and service_status = 'SERVICE_CENTER' - \ No newline at end of file +