diff --git a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml
index 603fe5b..e012707 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml
@@ -210,7 +210,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and tr.create_time <= #{endTime} and tr.create_time between #{startTime} and #{endTime}
- order by tr.create_time ${doctorOder}, tp.create_time ${firstVisitOder}
+ order by tr.create_time ${doctorOder}
+ order by tp.create_time ${firstVisitOder}