Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-cloud
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-hook
gic-cloud
Commits
46d6b1ef
Commit
46d6b1ef
authored
Nov 09, 2021
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取数平台调整
parent
dee84d1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
FlatQueryTableDao.xml
...k-service/src/main/resources/mapper/FlatQueryTableDao.xml
+5
-4
No files found.
gic-cloud-data-hook-service/src/main/resources/mapper/FlatQueryTableDao.xml
View file @
46d6b1ef
...
@@ -54,15 +54,16 @@
...
@@ -54,15 +54,16 @@
FROM
FROM
<include
refid=
"queryTables"
/>
<include
refid=
"queryTables"
/>
<include
refid=
"queryJoins"
/>
<include
refid=
"queryJoins"
/>
where 1=1
<if
test=
"fuzzy != '' "
>
<if
test=
"fuzzy != '' "
>
<bind
name=
"pattern"
value=
"'%' + fuzzy + '%'"
/>
<bind
name=
"pattern"
value=
"'%' + fuzzy + '%'"
/>
WHERE
and
q.table_id LIKE #{pattern}
(
q.table_id LIKE #{pattern}
OR q.name LIKE #{pattern}
OR q.name LIKE #{pattern}
OR q.description LIKE #{pattern}
OR q.description LIKE #{pattern}
)
</if>
</if>
<if
test=
"authTables != null and authTables.size()>0"
>
<if
test=
"authTables != null and authTables.size()>0"
>
where
q.table_id in
and
q.table_id in
<foreach
close=
")"
collection=
"authTables"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
<foreach
close=
")"
collection=
"authTables"
index=
"index"
item=
"item"
open=
"("
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment