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
4aa7ecb4
Commit
4aa7ecb4
authored
Sep 18, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉重复值
parent
c4c319d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
TabIndexDescMapper.xml
...-service/src/main/resources/mapper/TabIndexDescMapper.xml
+3
-1
TabIndexModuleRelMapper.xml
...ice/src/main/resources/mapper/TabIndexModuleRelMapper.xml
+1
-1
No files found.
gic-data-cloud-service/src/main/resources/mapper/TabIndexDescMapper.xml
View file @
4aa7ecb4
...
@@ -234,10 +234,11 @@
...
@@ -234,10 +234,11 @@
<select
id=
"getIndexDescByIndexCode"
resultMap=
"BaseResultMap"
>
<select
id=
"getIndexDescByIndexCode"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_index_desc where
status = 1 and
module_id = #{moduleId} and index_code = #{indexCode}
from tab_index_desc where module_id = #{moduleId} and index_code = #{indexCode}
<if
test=
"indexGroupName != null and indexGroupName != '' "
>
<if
test=
"indexGroupName != null and indexGroupName != '' "
>
and index_group_name = #{indexGroupName}
and index_group_name = #{indexGroupName}
</if>
</if>
order create_time
limit 1
limit 1
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
gic-data-cloud-service/src/main/resources/mapper/TabIndexModuleRelMapper.xml
View file @
4aa7ecb4
...
@@ -183,7 +183,7 @@
...
@@ -183,7 +183,7 @@
<select
id=
"listModuleIdByBusinessIds"
resultMap=
"BaseResultMap"
>
<select
id=
"listModuleIdByBusinessIds"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from tab_index_module_rel where
status = 1 and
type = #{type}
from tab_index_module_rel where type = #{type}
<if
test=
"null != ids and ids.size > 0"
>
<if
test=
"null != ids and ids.size > 0"
>
and business_id in
and business_id in
<foreach
collection=
"ids"
index=
"index"
item=
"item"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"ids"
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