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
1e6147ee
Commit
1e6147ee
authored
Jun 11, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多个建联时间修改es字段
parent
68ef9ea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ContactLogServiceImpl.java
...e/service/service/contact/impl/ContactLogServiceImpl.java
+3
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/contact/impl/ContactLogServiceImpl.java
View file @
1e6147ee
...
@@ -403,11 +403,11 @@ public class ContactLogServiceImpl implements ContactLogService {
...
@@ -403,11 +403,11 @@ public class ContactLogServiceImpl implements ContactLogService {
}
}
private
void
refreshContactTime
(
String
enterpriseId
,
String
memberId
,
Integer
bizType
,
Long
contactTime
)
{
private
void
refreshContactTime
(
String
enterpriseId
,
String
memberId
,
Integer
bizType
,
Long
contactTime
)
{
JSONObject
memberJO
=
esMemberInfoService
.
queryDataSingle
(
enterpriseId
,
memberId
,
"clerkContactTime"
);
JSONObject
memberJO
=
esMemberInfoService
.
queryDataSingle
(
enterpriseId
,
memberId
,
"clerkC
hannelC
ontactTime"
);
if
(
memberJO
==
null
)
{
if
(
memberJO
==
null
)
{
return
;
return
;
}
}
List
<
Long
>
clerkContactTimeList
=
memberJO
.
getObject
(
"clerkContactTime"
,
new
TypeReference
<
List
<
Long
>>(){});
List
<
Long
>
clerkContactTimeList
=
memberJO
.
getObject
(
"clerkC
hannelC
ontactTime"
,
new
TypeReference
<
List
<
Long
>>(){});
if
(
bizType
==
null
)
{
if
(
bizType
==
null
)
{
clerkContactTimeList
=
Arrays
.
stream
(
ContactBizTypeEnum
.
values
())
clerkContactTimeList
=
Arrays
.
stream
(
ContactBizTypeEnum
.
values
())
.
map
(
bizTypeEnum
->
bizTypeEnum
.
getEsClerkContactTime
(
contactTime
))
.
map
(
bizTypeEnum
->
bizTypeEnum
.
getEsClerkContactTime
(
contactTime
))
...
@@ -440,7 +440,7 @@ public class ContactLogServiceImpl implements ContactLogService {
...
@@ -440,7 +440,7 @@ public class ContactLogServiceImpl implements ContactLogService {
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"id"
,
memberId
);
jsonObject
.
put
(
"id"
,
memberId
);
jsonObject
.
put
(
"memberId"
,
memberId
);
jsonObject
.
put
(
"memberId"
,
memberId
);
jsonObject
.
put
(
"clerkContactTime"
,
clerkContactTimeList
);
jsonObject
.
put
(
"clerkC
hannelC
ontactTime"
,
clerkContactTimeList
);
dynamicDocDTO
.
setDocJson
(
jsonObject
);
dynamicDocDTO
.
setDocJson
(
jsonObject
);
dynamicDocDTO
.
setRefresh
(
Constant
.
FLAG_TRUE
);
dynamicDocDTO
.
setRefresh
(
Constant
.
FLAG_TRUE
);
ESResponse
res
=
esDataDynamicOperationApiService
.
updateDataSingle
(
dynamicDocDTO
,
false
);
ESResponse
res
=
esDataDynamicOperationApiService
.
updateDataSingle
(
dynamicDocDTO
,
false
);
...
...
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