修改 统计界面按照时间返回查询患者详情方法 时间条件

This commit is contained in:
lxd 2025-05-26 10:50:11 +08:00
parent dbdee7840d
commit 486befd17a

View File

@ -206,7 +206,7 @@ public class InspectPatientServiceImpl implements InspectPatientService {
// 构建查询条件
if (startDate != null && endDate != null) {
queryWrapper.between(InspectPatientDO::getMedicalDateTime, startDate, endDate);
queryWrapper.between(InspectPatientDO::getPrinttime, startDate.atStartOfDay(), endDate.plusDays(1).atStartOfDay());
}
if (addname != null && !addname.isEmpty()) {