Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
74f6021d
Commit
74f6021d
authored
Jun 11, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多个建联时间
parent
fe2ede79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
ContactLogServiceImpl.java
...e/service/service/contact/impl/ContactLogServiceImpl.java
+16
-10
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/contact/impl/ContactLogServiceImpl.java
View file @
74f6021d
...
@@ -424,17 +424,23 @@ public class ContactLogServiceImpl implements ContactLogService {
...
@@ -424,17 +424,23 @@ public class ContactLogServiceImpl implements ContactLogService {
}
else
{
}
else
{
ContactBizTypeEnum
bizTypeEnum
=
ContactBizTypeEnum
.
fromType
(
bizType
);
ContactBizTypeEnum
bizTypeEnum
=
ContactBizTypeEnum
.
fromType
(
bizType
);
Long
bizContactTime
=
bizTypeEnum
.
getEsClerkContactTime
(
contactTime
);
Long
bizContactTime
=
bizTypeEnum
.
getEsClerkContactTime
(
contactTime
);
clerkContactTimeList
=
clerkContactTimeList
.
stream
().
map
(
time
->
{
for
(
ContactBizTypeEnum
contactBizTypeEnum
:
ContactBizTypeEnum
.
values
())
{
if
(
String
.
valueOf
(
time
).
length
()
==
14
)
{
Long
t
=
clerkContactTimeList
.
stream
().
map
(
time
->
{
if
(
String
.
valueOf
(
time
).
length
()
==
14
)
{
return
null
;
}
if
(
Objects
.
equals
(
contactBizTypeEnum
.
getCodePre
(),
bizTypeEnum
.
getCodePre
()))
{
return
bizContactTime
;
}
else
if
(!
String
.
valueOf
(
time
).
startsWith
(
bizTypeEnum
.
getCodePre
())){
return
time
;
}
return
null
;
return
null
;
}
}).
filter
(
Objects:
:
nonNull
)
if
(
String
.
valueOf
(
time
).
startsWith
(
bizTypeEnum
.
getCodePre
()))
{
.
findFirst
().
orElse
(
null
);
return
bizContactTime
;
if
(
t
!=
null
)
{
}
else
{
clerkContactTimeList
.
add
(
t
);
return
time
;
}
}
}
}).
filter
(
Objects:
:
nonNull
)
.
collect
(
Collectors
.
toList
());
}
}
// 增加原始创建时间用于排序
// 增加原始创建时间用于排序
if
(
CollectionUtils
.
isNotEmpty
(
clerkContactTimeList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
clerkContactTimeList
))
{
...
...
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