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