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
8a463648
Commit
8a463648
authored
Jan 19, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
1cdbadb2
093ce638
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+10
-2
application-dev.properties
...ystem-equip/src/main/resources/application-dev.properties
+1
-0
application-docker.properties
...em-equip/src/main/resources/application-docker.properties
+1
-0
application-jcs.properties
...ystem-equip/src/main/resources/application-jcs.properties
+1
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/MqttReceiveServiceImpl.java
View file @
8a463648
...
@@ -205,6 +205,9 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -205,6 +205,9 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
@Value
(
"${systemctl.amos.switch}"
)
@Value
(
"${systemctl.amos.switch}"
)
private
Boolean
amosSwitch
;
private
Boolean
amosSwitch
;
@Value
(
"${isSendApp}"
)
private
Boolean
isSendApp
;
private
static
final
String
A
=
"A"
;
private
static
final
String
A
=
"A"
;
private
final
static
Map
staticMap
=
new
HashMap
();
private
final
static
Map
staticMap
=
new
HashMap
();
...
@@ -754,9 +757,14 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -754,9 +757,14 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
DateUtils
.
date2LongStr
(
equipmentSpecificAlarmLog
.
getCreateDate
()));
DateUtils
.
date2LongStr
(
equipmentSpecificAlarmLog
.
getCreateDate
()));
model
.
setBody
(
body
);
model
.
setBody
(
body
);
model
.
setMsgType
(
"iotMonitor"
);
model
.
setMsgType
(
"iotMonitor"
);
model
.
setIsSendApp
(
true
);
if
(
isSendApp
){
model
.
setIsSendApp
(
true
);
model
.
setTerminal
(
"APP/WEB"
);
}
else
{
model
.
setIsSendApp
(
false
);
model
.
setTerminal
(
"WEB"
);
}
model
.
setIsSendWeb
(
true
);
model
.
setIsSendWeb
(
true
);
model
.
setTerminal
(
"APP/WEB"
);
model
.
setCategory
(
1
);
model
.
setCategory
(
1
);
model
.
setRelationId
(
String
.
valueOf
(
equipmentSpecificAlarmLog
.
getId
()));
model
.
setRelationId
(
String
.
valueOf
(
equipmentSpecificAlarmLog
.
getId
()));
Token
token
=
remoteSecurityService
.
getServerToken
();
Token
token
=
remoteSecurityService
.
getServerToken
();
...
...
amos-boot-system-equip/src/main/resources/application-dev.properties
View file @
8a463648
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
systemctl.jcs.switch
=
false
systemctl.jcs.switch
=
false
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
false
systemctl.amos.switch
=
false
isSendApp
=
false
#报表数据地址
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
amos-boot-system-equip/src/main/resources/application-docker.properties
View file @
8a463648
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
...
@@ -51,6 +51,7 @@ systemctl.sync.switch=false
systemctl.jcs.switch
=
false
systemctl.jcs.switch
=
false
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
false
systemctl.amos.switch
=
false
isSendApp
=
false
#报表数据地址
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
amos-boot-system-equip/src/main/resources/application-jcs.properties
View file @
8a463648
...
@@ -58,6 +58,7 @@ systemctl.sync.switch=false
...
@@ -58,6 +58,7 @@ systemctl.sync.switch=false
systemctl.jcs.switch
=
true
systemctl.jcs.switch
=
true
#平台数据开关
#平台数据开关
systemctl.amos.switch
=
true
systemctl.amos.switch
=
true
isSendApp
=
true
#报表数据地址
#报表数据地址
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
equip.report.url
=
/fire-fighting-system/ureport/preview?_u=file:
...
...
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