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
303beff8
Commit
303beff8
authored
Nov 17, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加系统运行日志
parent
bdb1cc1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
FireSystemAction.java
.../com/yeejoin/equipmanage/controller/FireSystemAction.java
+2
-0
MqttReceiveServiceImpl.java
...join/equipmanage/service/impl/MqttReceiveServiceImpl.java
+1
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/FireSystemAction.java
View file @
303beff8
...
@@ -72,6 +72,7 @@ public class FireSystemAction {
...
@@ -72,6 +72,7 @@ public class FireSystemAction {
@MethodParam
(
paramLabel
=
"系统运行状态"
)
String
runStateCode
,
@MethodParam
(
paramLabel
=
"系统运行状态"
)
String
runStateCode
,
@MethodParam
(
paramLabel
=
"多指标复合判断"
)
String
boolValue
,
@MethodParam
(
paramLabel
=
"多指标复合判断"
)
String
boolValue
,
@MethodParam
(
paramLabel
=
"测点指标数据"
)
Object
paramObj
)
throws
Exception
{
@MethodParam
(
paramLabel
=
"测点指标数据"
)
Object
paramObj
)
throws
Exception
{
log
.
info
(
"规则调用装备改变系统运行状态>>>>>>>>>>>>>>>>>"
+
JSON
.
toJSONString
(
paramObj
));
boolean
bool
=
Boolean
.
FALSE
;
boolean
bool
=
Boolean
.
FALSE
;
LambdaQueryWrapper
<
FireFightingSystemEntity
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
FireFightingSystemEntity
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
FireFightingSystemEntity:
:
getCode
,
code
).
eq
(
FireFightingSystemEntity:
:
getSystemTypeCode
,
systemTypeCode
);
queryWrapper
.
eq
(
FireFightingSystemEntity:
:
getCode
,
code
).
eq
(
FireFightingSystemEntity:
:
getSystemTypeCode
,
systemTypeCode
);
...
@@ -112,6 +113,7 @@ public class FireSystemAction {
...
@@ -112,6 +113,7 @@ public class FireSystemAction {
}
}
}
else
{
}
else
{
entity
.
setSystemRunState
(
runStateCode
);
entity
.
setSystemRunState
(
runStateCode
);
log
.
info
(
"装备更新系统表信息>>>> >>>>>>>>>>>>>>"
+
JSON
.
toJSONString
(
entity
));
bool
=
systemService
.
saveOrUpdate
(
entity
);
bool
=
systemService
.
saveOrUpdate
(
entity
);
}
}
if
(
bool
)
{
if
(
bool
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/MqttReceiveServiceImpl.java
View file @
303beff8
...
@@ -1266,6 +1266,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
...
@@ -1266,6 +1266,7 @@ public class MqttReceiveServiceImpl implements MqttReceiveService {
// RequestContext.setAppKey(amosAuth.getAppKey());
// RequestContext.setAppKey(amosAuth.getAppKey());
// RequestContext.setProduct(amosAuth.getProduct());
// RequestContext.setProduct(amosAuth.getProduct());
// RequestContext.setToken(amosAuth.getToken());
// RequestContext.setToken(amosAuth.getToken());
log
.
info
(
"装备指标触发规则>>>>>>>>>>>>>>>>>>>>>"
+
JSON
.
toJSONString
(
indexDto
)
+
" >>>>>>>>>>>>>>"
+
JSON
.
toJSONString
(
autoExecPath
));
ruleTrigger
.
publish
(
indexDto
,
autoExecPath
,
new
String
[]
{});
ruleTrigger
.
publish
(
indexDto
,
autoExecPath
,
new
String
[]
{});
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
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