wjj 2 minggu lalu
induk
melakukan
2c177c4f26

+ 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">