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
ec6f3c40
Commit
ec6f3c40
authored
Sep 18, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
Developer See merge request
!74
parents
db15d0b3
1d7cc64d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
IndexDescApiServiceImpl.java
...gic/cloud/service/outer/impl/IndexDescApiServiceImpl.java
+1
-1
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/java/com/gic/cloud/service/outer/impl/IndexDescApiServiceImpl.java
View file @
ec6f3c40
...
...
@@ -113,7 +113,7 @@ public class IndexDescApiServiceImpl implements IndexDescApiService {
public
ServiceResponse
<
List
<
IndexDescDTO
>>
listAllUnRel
(
String
moduleIds
)
{
List
<
String
>
relModuleIdList
=
indexModuleRelService
.
listRelModuleId
(
LogAndUpdateTipsTypeEnum
.
INDEX
.
getCode
());
List
<
Integer
>
notInIndexDescIdList
=
Optional
.
of
(
relModuleIdList
).
orElse
(
Collections
.
emptyList
())
.
stream
().
map
(
Integer:
:
valueOf
).
collect
(
Collectors
.
toList
());
.
stream
().
filter
(
StringUtils:
:
isNotBlank
).
map
(
Integer:
:
valueOf
).
collect
(
Collectors
.
toList
());
List
<
TabIndexDesc
>
indexDescList
=
this
.
indexDescService
.
listAllUnRel
(
notInIndexDescIdList
);
...
...
gic-data-cloud-service/src/main/resources/mapper/TabIndexDescMapper.xml
View file @
ec6f3c40
...
...
@@ -234,10 +234,11 @@
<select
id=
"getIndexDescByIndexCode"
resultMap=
"BaseResultMap"
>
select
<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 != '' "
>
and index_group_name = #{indexGroupName}
</if>
order create_time
limit 1
</select>
</mapper>
\ No newline at end of file
gic-data-cloud-service/src/main/resources/mapper/TabIndexModuleRelMapper.xml
View file @
ec6f3c40
...
...
@@ -183,7 +183,7 @@
<select
id=
"listModuleIdByBusinessIds"
resultMap=
"BaseResultMap"
>
select
<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"
>
and business_id in
<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