wjj 2 周之前
父节点
当前提交
2c177c4f26
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs-service/src/main/resources/mapper/doctor/DoctorMsgMapper.xml

+ 1 - 0
fs-service/src/main/resources/mapper/doctor/DoctorMsgMapper.xml

@@ -28,6 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="isRead != null "> and is_read = #{isRead}</if>
             <if test="doctorId != null "> and doctor_id = #{doctorId}</if>
         </where>
+        order by id desc
     </select>
     
     <select id="selectDoctorMsgById" parameterType="Long" resultMap="DoctorMsgResult">