1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Added regex search in GroupManagement

This commit is contained in:
2023-06-04 03:55:25 +08:00
parent 20fe3a6fa2
commit d8161667f9
7 changed files with 64 additions and 13 deletions

View File

@@ -16,7 +16,12 @@
#{item}
</foreach>
<if test="searchName != null and searchName != ''">
and instr(t_group.name, #{searchName}) > 0
<if test="searchRegex == 1">
and t_group.name regexp #{searchName}
</if>
<if test="searchRegex != 1">
and instr(t_group.name, #{searchName}) > 0
</if>
</if>
<if test="searchEnable != null and searchEnable != -1">
and t_group.enable = #{searchEnable}