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
0e18e892
Commit
0e18e892
authored
Jan 17, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.压力管道按照装置报检,对接报检信息暂不发送
parent
db3f61e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
InspectionApplicationPushEvent.java
...module/jyjc/biz/event/InspectionApplicationPushEvent.java
+1
-1
InspectionApplicationPushEventListener.java
...vent/listener/InspectionApplicationPushEventListener.java
+6
-1
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+1
-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/event/InspectionApplicationPushEvent.java
View file @
0e18e892
...
...
@@ -10,7 +10,7 @@ import org.springframework.context.ApplicationEvent;
@Getter
public
class
InspectionApplicationPushEvent
extends
ApplicationEvent
{
private
JyjcInspectionApplicationModel
jyjcInspectionApplicationModel
;
private
final
JyjcInspectionApplicationModel
jyjcInspectionApplicationModel
;
/**
* Create a new {@code ApplicationEvent}.
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/event/listener/InspectionApplicationPushEventListener.java
View file @
0e18e892
...
...
@@ -24,6 +24,7 @@ import com.yeejoin.amos.boot.module.jyjc.biz.service.impl.JyjcInspectionApplicat
import
com.yeejoin.amos.boot.module.jyjc.biz.util.JsonUtils
;
import
com.yeejoin.amos.boot.module.jyjc.biz.util.JyjcConstant
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.*
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquipmentClassifityEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.*
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -142,8 +143,8 @@ public class InspectionApplicationPushEventListener implements ApplicationListen
@PostConstruct
public
void
init
()
{
companyCodeRegNameMap
=
JsonUtils
.
getResourceJson
(
regNameJson
);
ExecutorService
executorService
=
Executors
.
newFixedThreadPool
(
threadNum
);
companyCodeRegNameMap
=
JsonUtils
.
getResourceJson
(
regNameJson
);
// 可处理的检验检测类型,目前只处理检验的,不处理检测业务
List
<
String
>
canDealInspectionTypes
=
getCanDealInspectionType
();
for
(
int
i
=
0
;
i
<
threadNum
;
i
++)
{
...
...
@@ -154,6 +155,10 @@ public class InspectionApplicationPushEventListener implements ApplicationListen
if
(!
canDealInspectionTypes
.
contains
(
applicationModel
.
getInspectionType
()))
{
return
;
}
if
(
applicationModel
.
getEquipClassify
().
equals
(
EquipmentClassifityEnum
.
YLGD
.
getCode
())){
log
.
info
(
"压力管道暂不处理"
);
return
;
}
//构建数据
JyjcInspectionApplicationPushLog
pushLog
=
this
.
createPushData
(
applicationModel
);
// 发送数据
...
...
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/JyjcInspectionApplicationServiceImpl.java
View file @
0e18e892
...
...
@@ -820,7 +820,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
inspectionResultService
.
saveOrUpdateBatch
(
resultModels
);
// 报检信息推送 TODO
//
this.pushInspectionApplication(model);
this
.
pushInspectionApplication
(
model
);
this
.
saveBatchResume
(
jgResumeInfoDtoList
);
this
.
createHisAfterReceive
(
model
);
// 更新流程中的流程数据
...
...
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