diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/req/TRecordResultReq.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/req/TRecordResultReq.java
index b0becb8..9d17b72 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/req/TRecordResultReq.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/req/TRecordResultReq.java
@@ -17,9 +17,9 @@ public class TRecordResultReq
@JsonFormat(pattern = "yyyy-MM-dd")
private Date createTime;
//预约时间排序
- private String doctorTime;
+ private String doctorOder;
//首诊时间排序
- private String firstVisitTime;
+ private String firstVisitOder;
private String status;
public String getName()
@@ -83,24 +83,24 @@ public class TRecordResultReq
this.status = status;
}
- public String getDoctorTime()
+ public String getDoctorOder()
{
- return doctorTime;
+ return doctorOder;
}
- public void setDoctorTime(String doctorTime)
+ public void setDoctorOder(String doctorOder)
{
- this.doctorTime = doctorTime;
+ this.doctorOder = doctorOder;
}
- public String getFirstVisitTime()
+ public String getFirstVisitOder()
{
- return firstVisitTime;
+ return firstVisitOder;
}
- public void setFirstVisitTime(String firstVisitTime)
+ public void setFirstVisitOder(String firstVisitOder)
{
- this.firstVisitTime = firstVisitTime;
+ this.firstVisitOder = firstVisitOder;
}
public Date getCreateTime()
diff --git a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml
index 7a3780d..b899156 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TRecordMapper.xml
@@ -100,7 +100,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and tp.age = #{age}
and tp.sex = #{sex}
and DATE_FORMAT(tp.create_time,'%Y-%m-%d') = #{createTime}
- order by tr.create_time ${doctorTime}, tp.create_time ${firstVisitTime}
+ order by tr.create_time ${doctorOder}, tp.create_time ${firstVisitOder}