Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-data-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
base_platform_enterprise
gic-data-cloud
Commits
87b720f3
Commit
87b720f3
authored
Jul 17, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询添加参数
parent
d48e7d5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
IndexQO.java
...ata-cloud-api/src/main/java/com/gic/cloud/qo/IndexQO.java
+9
-0
TabIndexMapper.xml
...loud-service/src/main/resources/mapper/TabIndexMapper.xml
+3
-0
No files found.
gic-data-cloud-api/src/main/java/com/gic/cloud/qo/IndexQO.java
View file @
87b720f3
...
...
@@ -15,6 +15,7 @@ public class IndexQO extends PageQO implements Serializable {
private
String
moduleId
;
private
Integer
isAppIndex
;
private
String
search
;
private
Integer
indexGroupId
;
private
List
<
Integer
>
indexIdList
;
public
Integer
getClassifyType
()
{
...
...
@@ -56,4 +57,12 @@ public class IndexQO extends PageQO implements Serializable {
public
List
<
Integer
>
getIndexIdList
()
{
return
indexIdList
;
}
public
Integer
getIndexGroupId
()
{
return
indexGroupId
;
}
public
void
setIndexGroupId
(
Integer
indexGroupId
)
{
this
.
indexGroupId
=
indexGroupId
;
}
}
gic-data-cloud-service/src/main/resources/mapper/TabIndexMapper.xml
View file @
87b720f3
...
...
@@ -375,6 +375,9 @@
<if
test=
"search != null and search != '' "
>
and name like concat('%', #{search}, '%')
</if>
<if
test=
"indexGroupId != null "
>
and (index_group_id = #{indexGroupId} or index_group_id is null)
</if>
<if
test=
"null != indexIdList and indexIdList.size > 0"
>
and index_id in
<foreach
collection=
"indexIdList"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
...
...
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