mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Added regex search in UserManagement
This commit is contained in:
@@ -22,7 +22,12 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
<if test="searchName != null and searchName != ''">
|
||||
and instr(t_user.username, #{searchName}) > 0
|
||||
<if test="searchRegex == 1">
|
||||
and t_user.username regexp #{searchName}
|
||||
</if>
|
||||
<if test="searchRegex != 1">
|
||||
and instr(t_user.username, #{searchName}) > 0
|
||||
</if>
|
||||
</if>
|
||||
<if test="searchEnable != null and searchEnable != -1">
|
||||
and t_user.enable = #{searchEnable}
|
||||
|
||||
Reference in New Issue
Block a user