就诊列表按时间排序修改

master
chenfei 2 years ago
parent 358f5b80af
commit 0492d4c627

@ -210,8 +210,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="startTime == null and endTime != '' and endTime != null "> and tr.create_time &lt;= #{endTime}</if>
<if test="startTime != null and endTime != null "> and tr.create_time between #{startTime} and #{endTime}</if>
</where>
<if test="doctorOder !=null" >order by tr.create_time ${doctorOder}</if>
<if test="firstVisitOder!=null" >order by tp.create_time ${firstVisitOder}</if>
<if test="doctorOder !=null and doctorOder !=''" >order by tr.create_time ${doctorOder}</if>
<if test="firstVisitOder!=null and firstVisitOder !=''" >order by tp.create_time ${firstVisitOder}</if>
</select>
<select id="selectTRecordById" parameterType="Long" resultMap="TRecordResult">

Loading…
Cancel
Save