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
fcd5eae7
Commit
fcd5eae7
authored
Jun 29, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://39.98.45.134:8090/moa/amos-boot-biz
into developer
parents
75e0700c
bd88f69b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
AlertSubmittedServiceImpl.java
...odule/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
+10
-1
pom.xml
amos-boot-system-equip/pom.xml
+0
-4
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/AlertSubmittedServiceImpl.java
View file @
fcd5eae7
...
@@ -36,6 +36,7 @@ import com.yeejoin.amos.boot.module.common.api.service.ISourceFileService;
...
@@ -36,6 +36,7 @@ import com.yeejoin.amos.boot.module.common.api.service.ISourceFileService;
import
com.yeejoin.amos.boot.module.jcs.api.entity.*
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.*
;
import
com.yeejoin.amos.boot.module.jcs.api.mapper.JcSituationDetailMapper
;
import
com.yeejoin.amos.boot.module.jcs.api.mapper.JcSituationDetailMapper
;
import
com.yeejoin.amos.boot.module.jcs.api.mapper.UserCarMapper
;
import
com.yeejoin.amos.boot.module.jcs.api.mapper.UserCarMapper
;
import
com.yeejoin.amos.feign.systemctl.model.MessageModel
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.commons.lang3.ObjectUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.poi.xwpf.usermodel.XWPFTable
;
import
org.apache.poi.xwpf.usermodel.XWPFTable
;
...
@@ -356,8 +357,16 @@ public class AlertSubmittedServiceImpl extends BaseService<AlertSubmittedDto, Al
...
@@ -356,8 +357,16 @@ public class AlertSubmittedServiceImpl extends BaseService<AlertSubmittedDto, Al
List
<
String
>
list
=
powerTransferMapper
.
selectFlightNumber
(
AlertStageEnums
.
HKJY
.
getCode
());
List
<
String
>
list
=
powerTransferMapper
.
selectFlightNumber
(
AlertStageEnums
.
HKJY
.
getCode
());
emqKeeper
.
getMqttClient
().
publish
(
noticeAviation
,
JSONObject
.
toJSONString
(
list
).
getBytes
(),
RuleConfig
.
DEFAULT_QOS
,
false
);
emqKeeper
.
getMqttClient
().
publish
(
noticeAviation
,
JSONObject
.
toJSONString
(
list
).
getBytes
(),
RuleConfig
.
DEFAULT_QOS
,
false
);
}
}
// 警情结案时,修改该警情关联待办任务状态
if
(
AlertBusinessTypeEnum
.
警情结案
.
getCode
().
equals
(
alertSubmittedDto
.
getBusinessTypeCode
()))
{
MessageModel
model
=
new
MessageModel
();
model
.
setRelationId
(
String
.
valueOf
(
alertCalled
.
getSequenceNbr
()));
model
.
setIsRead
(
true
);
model
.
setMsgType
(
"jcs119"
);
Systemctl
.
messageClient
.
update
(
model
);
}
}
catch
(
MqttException
e
)
{
}
catch
(
MqttException
e
)
{
throw
new
RuntimeException
();
throw
new
RuntimeException
();
}
}
return
true
;
return
true
;
...
...
amos-boot-system-equip/pom.xml
View file @
fcd5eae7
...
@@ -15,10 +15,6 @@
...
@@ -15,10 +15,6 @@
<artifactId>
amos-boot-module-equip-biz
</artifactId>
<artifactId>
amos-boot-module-equip-biz
</artifactId>
<version>
${amos-biz-boot.version}
</version>
<version>
${amos-biz-boot.version}
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-security
</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
...
...
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