Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-bi
Project
Project
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
林锐标
slm-bi
Commits
bbff882f
Commit
bbff882f
authored
May 28, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
72774b80
4ecf468b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
BusinessConfigServiceImpl.java
...syc/slm/slmbi/service/impl/BusinessConfigServiceImpl.java
+6
-2
No files found.
src/main/java/com/syc/slm/slmbi/service/impl/BusinessConfigServiceImpl.java
View file @
bbff882f
...
...
@@ -114,7 +114,9 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper,
}
x
.
forEach
((
k
,
v
)->{
if
(
v
.
stream
().
anyMatch
(
y
->
StringUtils
.
isBlank
(
y
.
getKey
()))
||
v
.
stream
().
filter
(
y
->
!
Condition
.
NO_LIMIT
.
getValue
().
equals
(
y
.
getQueryType
())).
anyMatch
(
y
->
ObjectUtils
.
isEmpty
(
y
.
getValue
()))
||
v
.
stream
().
filter
(
y
->
!(
Condition
.
NO_LIMIT
.
getValue
().
equals
(
y
.
getQueryType
())
||
Condition
.
NO_NULL
.
getValue
().
equals
(
y
.
getQueryType
())
||
Condition
.
IS_NULL
.
getValue
().
equals
(
y
.
getQueryType
()))).
anyMatch
(
y
->
ObjectUtils
.
isEmpty
(
y
.
getValue
()))
||
v
.
stream
().
anyMatch
(
y
->
StringUtils
.
isBlank
(
y
.
getQueryType
())))
{
throw
new
SysException
(
"暂无数据,请检查图表数据或关联查询组件是否已配置"
);
}
...
...
@@ -152,7 +154,9 @@ public class BusinessConfigServiceImpl extends ServiceImpl<BusinessConfigMapper,
}
x
.
forEach
((
k
,
v
)->{
if
(
v
.
stream
().
anyMatch
(
y
->
StringUtils
.
isBlank
(
y
.
getKey
()))
||
v
.
stream
().
filter
(
y
->
!
Condition
.
NO_LIMIT
.
getValue
().
equals
(
y
.
getQueryType
())).
anyMatch
(
y
->
ObjectUtils
.
isEmpty
(
y
.
getValue
()))
||
v
.
stream
().
filter
(
y
->
!(
Condition
.
NO_LIMIT
.
getValue
().
equals
(
y
.
getQueryType
())
||
Condition
.
NO_NULL
.
getValue
().
equals
(
y
.
getQueryType
())
||
Condition
.
IS_NULL
.
getValue
().
equals
(
y
.
getQueryType
()))).
anyMatch
(
y
->
ObjectUtils
.
isEmpty
(
y
.
getValue
()))
||
v
.
stream
().
anyMatch
(
y
->
StringUtils
.
isBlank
(
y
.
getQueryType
())))
{
throw
new
SysException
(
"暂无数据,请检查图表数据或关联查询组件是否已配置"
);
}
...
...
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