Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
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 5518571d
authored
Sep 21, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改空判断
1 parent
47c08e8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
src/main/java/cn/com/glsx/admin/modules/service/FakeOfflineService.java
src/main/java/cn/com/glsx/admin/modules/service/FakeOfflineService.java
View file @
5518571
...
@@ -242,16 +242,15 @@ public class FakeOfflineService extends AbstractCommonService {
...
@@ -242,16 +242,15 @@ public class FakeOfflineService extends AbstractCommonService {
//十日内状态反复变化 假性离线
//十日内状态反复变化 假性离线
List
<
String
>
changeFrequentlyList
=
fakeOfflineChangeFrequentlyMapper
.
listAllVin
();
List
<
String
>
changeFrequentlyList
=
fakeOfflineChangeFrequentlyMapper
.
listAllVin
();
if
(
CollectionUtil
.
isEmpty
(
changeFrequentlyList
))
{
if
(
CollectionUtil
.
isNotEmpty
(
changeFrequentlyList
))
{
return
vinList
;
List
<
String
>
fakeOfflineChangeFrequentlyList
=
offlineVehicleNumMapList
.
stream
()
.
map
(
FakeOfficeMapDto:
:
getVin
)
.
filter
(
changeFrequentlyList:
:
contains
)
.
collect
(
Collectors
.
toList
());
fakeOfflineChangeFrequentlyList
.
forEach
(
vin
->
reasonMap
.
put
(
vin
,
FakeOfficeReasonEnum
.
CHANGE_FREQUENTLY
.
getCode
()));
log
.
info
(
"假性离线十日内状态反复变化车架号 size:"
+
fakeOfflineChangeFrequentlyList
.
size
());
vinList
.
addAll
(
fakeOfflineChangeFrequentlyList
);
}
}
List
<
String
>
fakeOfflineChangeFrequentlyList
=
offlineVehicleNumMapList
.
stream
()
.
map
(
FakeOfficeMapDto:
:
getVin
)
.
filter
(
changeFrequentlyList:
:
contains
)
.
collect
(
Collectors
.
toList
());
fakeOfflineChangeFrequentlyList
.
forEach
(
vin
->
reasonMap
.
put
(
vin
,
FakeOfficeReasonEnum
.
CHANGE_FREQUENTLY
.
getCode
()));
log
.
info
(
"假性离线十日内状态反复变化车架号 size:"
+
fakeOfflineChangeFrequentlyList
.
size
());
vinList
.
addAll
(
fakeOfflineChangeFrequentlyList
);
// 三 获取本部门以及下级部门
// 三 获取本部门以及下级部门
Set
<
Long
>
deptIds
=
organizationApiService
.
getAllSubOrgIds
();
Set
<
Long
>
deptIds
=
organizationApiService
.
getAllSubOrgIds
();
...
...
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