Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
81559bf6
Commit
81559bf6
authored
Jun 21, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(重要提醒):业务新增提醒开发联调
1.使用登记、车用气瓶作废
parent
9a04427c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
CancelAndGradeEventListener.java
...le/jg/biz/event/listener/CancelAndGradeEventListener.java
+1
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/event/listener/CancelAndGradeEventListener.java
View file @
81559bf6
...
...
@@ -4,7 +4,6 @@ import com.alibaba.fastjson.JSONObject;
import
com.yeejoin.amos.boot.module.jg.biz.event.CancellationAndGradeEvent
;
import
com.yeejoin.amos.boot.module.jg.biz.event.dto.CancelEquipItem
;
import
com.yeejoin.amos.boot.module.jg.biz.event.listener.service.ManageStatusDataUpdateService
;
import
com.yeejoin.amos.boot.module.jg.biz.event.publisher.EventPublisher
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Value
;
...
...
@@ -44,7 +43,6 @@ public class CancelAndGradeEventListener {
}
@PostConstruct
public
void
init
()
{
ExecutorService
executorService
=
Executors
.
newFixedThreadPool
(
threadNumber
,
r
->
{
...
...
@@ -56,7 +54,7 @@ public class CancelAndGradeEventListener {
executorService
.
execute
(()
->
{
while
(
true
)
{
try
{
CancelEquipItem
cancelEquipItem
=
queue
.
take
();
CancelEquipItem
cancelEquipItem
=
queue
.
take
();
log
.
info
(
"线程 {} 开始处理 cancelEquipItem: {}"
,
Thread
.
currentThread
().
getName
(),
cancelEquipItem
);
updateService
.
dealData
(
cancelEquipItem
);
}
catch
(
Exception
e
)
{
...
...
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