This commit is contained in:
牛子源 2025-05-26 09:34:39 +08:00
parent bcdfa82ece
commit 8bcf6bc05c
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ public class PatientRegistrationService extends BaseService {
if (query.getEndTime() != null) {
PatientQueryWrapper.le("update_datetime", query.getEndTime());
}
PatientQueryWrapper.orderByDesc("update_datetime");
return PatientQueryWrapper;
}