Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
refined-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
refined-platform
Commits
0d451ada
Commit
0d451ada
authored
Apr 07, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加消息发送
parent
54cb547d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
...ortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
+5
-7
No files found.
refined-manager/src/main/java/com/mortals/xhx/daemon/task/SyncAppointWaitAndFinTaskImpl.java
View file @
0d451ada
...
...
@@ -98,14 +98,12 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
@Override
public
void
excuteTask
(
ITask
task
)
throws
AppException
{
log
.
debug
(
"同步今天等待用户任务"
);
log
.
info
(
"同步今天等待用户任务"
);
syncWaitAndFinQueue
();
log
.
debug
(
"同步今天等待用户完成任务"
);
log
.
info
(
"关怀用户任务"
);
updateWaitQueueTime
();
//
updateWaitQueueTime();
log
.
info
(
"关怀服务完成任务"
);
log
.
debug
(
"清理超期等待业务"
);
clearWaitQueueTime
();
// clearWaitQueueTime();
//todo 办理完成同步
log
.
info
(
"同步办理完成业务"
);
...
...
@@ -276,9 +274,9 @@ public class SyncAppointWaitAndFinTaskImpl implements ITaskExcuteService {
List
<
CpPersonInfo
>
cpPersonInfos
=
new
ArrayList
<>();
while
(
true
)
{
String
value
=
redisTemplate
.
opsForList
().
leftPop
(
RedisKey
.
KEY_CP_LIST_CACHE
,
10
,
TimeUnit
.
SECONDS
);
log
.
info
(
"cp:{}"
,
value
);
CpPersonInfo
cpPersonInfo
=
JSON
.
parseObject
(
value
,
CpPersonInfo
.
class
);
// FinPersonInfo finPersonInfo = cacheService.blpop(RedisKey.KEY_FIN_LIST_CACHE,10, FinPersonInfo.class);
if
(
ObjectUtils
.
isEmpty
(
cpPersonInfo
))
{
if
(
ObjectUtils
.
isEmpty
(
cpPersonInfo
))
{
break
;
}
else
{
cpPersonInfos
.
add
(
cpPersonInfo
);
...
...
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