mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
add the function of fuzzy query item
This commit is contained in:
@@ -42,16 +42,19 @@
|
||||
left join t_user u on n.sender_id = u.id
|
||||
<where>
|
||||
<if test="null!=title and title!=''">
|
||||
and instr(title,#{title})>0
|
||||
and instr(n.title,#{title})>0
|
||||
</if>
|
||||
<if test="null!=type and type!=''">
|
||||
and instr(type.name,#{type})>0
|
||||
</if>
|
||||
<if test="null!=startTime">
|
||||
and send_time >= #{startTime}
|
||||
and n.send_time >= #{startTime}
|
||||
</if>
|
||||
<if test="null !=endTime">
|
||||
and end_time < #{endTime}
|
||||
and n.end_time < #{endTime}
|
||||
</if>
|
||||
<if test="null!=userName and userName!=''">
|
||||
and u.username = #{userName}
|
||||
</if>
|
||||
and n.deleted = 0
|
||||
and n.old = 0
|
||||
|
||||
Reference in New Issue
Block a user