he2802 3 gadi atpakaļ
vecāks
revīzija
2c0f5dee8f

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserNoteMapper.xml

@@ -98,6 +98,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="userId != null and userId !='' ">
             AND un.user_id =#{userId}
         </if>
+        <if test="noteDate != null and noteDate !='' ">
+            AND un.note_date =#{noteDate}
+        </if>
         order by un.note_date desc
     </select>
 </mapper>