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
95028728
Commit
95028728
authored
Aug 27, 2025
by
hcing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(jyjc): 修改检验结果保存后的消息发送逻辑
parent
253795a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+3
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
View file @
95028728
...
@@ -803,7 +803,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -803,7 +803,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
// 4.更新es下次检验日期
// 4.更新es下次检验日期
commonService
.
updateEquipNextInspectDate
(
jyjcInspectionResult
,
inspectionDetectionInfo
.
getRecord
());
commonService
.
updateEquipNextInspectDate
(
jyjcInspectionResult
,
inspectionDetectionInfo
.
getRecord
());
sendDataRefreshMsg
(
records
);
sendDataRefreshMsg
(
records
);
bizEmqPublisher
.
sendInspectionMsgAfterSave
(
inspectionDetectionInfo
,
"insert"
);
// 发送 type = update的数据,为了兼容检验机构对接时会先产生一条检验结果信息,此时还没有设备的检验信息,后续会更新该条检验信息,
// 所以 sendInspectionMsgAfterSave 方法在处理时只处理了update 操作。
bizEmqPublisher
.
sendInspectionMsgAfterSave
(
inspectionDetectionInfo
,
"update"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
warn
(
e
.
getMessage
());
log
.
warn
(
e
.
getMessage
());
throw
new
BadRequest
(
"数据异常,请联系管理员!"
);
throw
new
BadRequest
(
"数据异常,请联系管理员!"
);
...
...
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