From bc738fcc151d84c2913d996d395660cc406cf180 Mon Sep 17 00:00:00 2001
From: chenfei <18955928961@163.com>
Date: Tue, 9 Aug 2022 09:56:25 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E8=AF=8A=E6=96=AD=E8=AE=B0?=
=?UTF-8?q?=E5=BD=95=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../system/domain/req/TRecordResultReq.java | 20 +++++++++----------
.../resources/mapper/system/TRecordMapper.xml | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
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}