Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
vion-label
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1d08e991
authored
Mar 15, 2023
by
朱海
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg]兼容前端特征
1 parent
7b8555fa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
label-platform/src/main/java/com/viontech/label/platform/service/main/ReidService.java
label-platform/src/main/java/com/viontech/label/platform/utils/StorageUtils.java
label-platform/src/main/java/com/viontech/label/platform/service/main/ReidService.java
View file @
1d08e99
...
@@ -807,7 +807,8 @@ public class ReidService {
...
@@ -807,7 +807,8 @@ public class ReidService {
if
(
datas
==
null
||
datas
.
size
()
==
0
)
{
if
(
datas
==
null
||
datas
.
size
()
==
0
)
{
return
null
;
return
null
;
}
}
Data
data
=
datas
.
stream
().
filter
(
item
->
"server"
.
equals
(
item
.
getType
())).
findFirst
().
orElse
(
null
);
//Data data = datas.stream().filter(item -> "server".equals(item.getType())).findFirst().orElse(null);
Data
data
=
datas
.
get
(
0
);
if
(
data
==
null
)
{
if
(
data
==
null
)
{
return
null
;
return
null
;
}
}
...
...
label-platform/src/main/java/com/viontech/label/platform/utils/StorageUtils.java
View file @
1d08e99
...
@@ -148,7 +148,8 @@ public class StorageUtils {
...
@@ -148,7 +148,8 @@ public class StorageUtils {
if
(
datas
==
null
||
datas
.
size
()
==
0
)
{
if
(
datas
==
null
||
datas
.
size
()
==
0
)
{
return
null
;
return
null
;
}
}
Data
data
=
datas
.
stream
().
filter
(
item
->
"server"
.
equals
(
item
.
getType
())).
findFirst
().
orElse
(
null
);
//Data data = datas.stream().filter(item -> "server".equals(item.getType())).findFirst().orElse(null);
Data
data
=
datas
.
get
(
0
);
if
(
data
==
null
)
{
if
(
data
==
null
)
{
return
null
;
return
null
;
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment