1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-06 07:21:24 +08:00

add the function of fuzzy query in the page of NoticeView had been completed

This commit is contained in:
cccccyb
2023-06-04 18:32:25 +08:00
parent 385127a314
commit 7031dd593b
15 changed files with 284 additions and 49 deletions

View File

@@ -30,6 +30,18 @@
<if test="null!=readStatus and readStatus>=0">
and notice_receive.already_read=#{readStatus}
</if>
<if test="null!=title and title!=''">
and instr(n.title,#{title})&gt;0
</if>
<if test="null!=type and type!=''">
and instr(type.name,#{type})&gt;0
</if>
<if test="null!=startTime">
and n.send_time &gt;= #{startTime}
</if>
<if test="null != endTime">
and n.end_time &lt; #{endTime}
</if>
and notice_receive.user_id=#{userId}
and notice_receive.deleted=0
</where>