|
|
@@ -128,8 +128,12 @@
|
|
|
<if test="parentId != null and parentId != ''">
|
|
|
AND parent.parent_id = #{parentId}::uuid
|
|
|
</if>
|
|
|
+ <if test="filterFlag != null and filterFlag != ''">
|
|
|
+ AND level_code NOT LIKE concat(#{levelCode}, '%')
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="searchText !=null">
|
|
|
- AND parent.org_name LIKE concat('%', #{searchText}, '%')
|
|
|
+ AND parent.org_name LIKE concat('%',my_ex.likequery(#{searchText}), '%')
|
|
|
</if>
|
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|
|
|
limit #{end} offset #{start}
|