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
4926846e
Commit
4926846e
authored
May 22, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-content202505' into 'master'
销售线索间隔修复 See merge request
!2881
parents
69243cd3
e3408b45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
QywxGroupMsgTaskApiServiceImpl.java
...out/impl/content/task/QywxGroupMsgTaskApiServiceImpl.java
+6
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/content/task/QywxGroupMsgTaskApiServiceImpl.java
View file @
4926846e
...
@@ -302,6 +302,7 @@ public class QywxGroupMsgTaskApiServiceImpl implements QywxGroupMsgTaskApiServic
...
@@ -302,6 +302,7 @@ public class QywxGroupMsgTaskApiServiceImpl implements QywxGroupMsgTaskApiServic
}
}
for
(
String
enterpriseId
:
enterpriseIds
)
{
for
(
String
enterpriseId
:
enterpriseIds
)
{
Integer
potentialNotifyInterval
=
30
;
Integer
potentialNotifyInterval
=
30
;
Date
notifyStartTime
=
null
;
ServiceResponse
<
ContentSettingDTO
>
response
=
contentSettingApiService
.
queryContentSettingInfo
(
enterpriseId
);
ServiceResponse
<
ContentSettingDTO
>
response
=
contentSettingApiService
.
queryContentSettingInfo
(
enterpriseId
);
if
(
response
.
isSuccess
()
&&
response
.
getResult
()
!=
null
)
{
if
(
response
.
isSuccess
()
&&
response
.
getResult
()
!=
null
)
{
potentialNotifyInterval
=
response
.
getResult
().
getPotentialNotifyInterval
();
potentialNotifyInterval
=
response
.
getResult
().
getPotentialNotifyInterval
();
...
@@ -309,13 +310,15 @@ public class QywxGroupMsgTaskApiServiceImpl implements QywxGroupMsgTaskApiServic
...
@@ -309,13 +310,15 @@ public class QywxGroupMsgTaskApiServiceImpl implements QywxGroupMsgTaskApiServic
if
(
potentialNotifyInterval
<=
0
||
cn
.
hutool
.
core
.
date
.
DateUtil
.
minute
(
now
)
%
potentialNotifyInterval
!=
0
)
{
if
(
potentialNotifyInterval
<=
0
||
cn
.
hutool
.
core
.
date
.
DateUtil
.
minute
(
now
)
%
potentialNotifyInterval
!=
0
)
{
continue
;
continue
;
}
}
if
(
startTime
==
null
)
{
if
(
startTime
!=
null
)
{
startTime
=
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetMinute
(
now
,
-
potentialNotifyInterval
).
toJdkDate
();
notifyStartTime
=
startTime
;
}
else
{
notifyStartTime
=
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetMinute
(
now
,
-
potentialNotifyInterval
).
toJdkDate
();
}
}
log
.
info
(
"销售线索执行eid:{},potentialNotifyInterval:{}"
,
enterpriseId
,
potentialNotifyInterval
);
log
.
info
(
"销售线索执行eid:{},potentialNotifyInterval:{}"
,
enterpriseId
,
potentialNotifyInterval
);
PotentialCustomerNotifyContext
context
=
PotentialCustomerNotifyContext
.
builder
()
PotentialCustomerNotifyContext
context
=
PotentialCustomerNotifyContext
.
builder
()
.
enterpriseId
(
enterpriseId
)
.
enterpriseId
(
enterpriseId
)
.
startTime
(
s
tartTime
)
.
startTime
(
notifyS
tartTime
)
.
endTime
(
now
)
.
endTime
(
now
)
.
build
();
.
build
();
potentialCustomerService
.
sendPotentialCustomerNotice
(
context
);
potentialCustomerService
.
sendPotentialCustomerNotice
(
context
);
...
...
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