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
c0ced3c4
Commit
c0ced3c4
authored
Aug 01, 2023
by
caotao
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
9151192b
9241b970
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+1
-0
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
c0ced3c4
...
@@ -705,6 +705,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -705,6 +705,7 @@ public class MonitorFanIdxController extends BaseController {
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
false
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"箱变实时开关状态"
)
@ApiOperation
(
value
=
"箱变实时开关状态"
)
@GetMapping
(
"/equipSwitchStatus"
)
@GetMapping
(
"/equipSwitchStatus"
)
@Scheduled
(
cron
=
"0/10 * * * * ? "
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getEquipSwitchStatus
()
{
public
ResponseModel
<
Map
<
String
,
Object
>>
getEquipSwitchStatus
()
{
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
c0ced3c4
...
@@ -1436,7 +1436,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1436,7 +1436,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
public
HashMap
<
String
,
Object
>
getEquipInfoByEquipNum
(
String
gatewayId
,
String
equipmentNumber
){
public
HashMap
<
String
,
Object
>
getEquipInfoByEquipNum
(
String
gatewayId
,
String
equipmentNumber
){
HashMap
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
String
sql
=
"SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentNumber ='"
+
equipmentNumber
+
"'
and equipmentIndexName = '运行'
limit 1 "
;
String
sql
=
"SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentNumber ='"
+
equipmentNumber
+
"' limit 1 "
;
List
<
IndicatorsDto
>
list
=
influxDButils
.
getListData
(
sql
,
IndicatorsDto
.
class
);
List
<
IndicatorsDto
>
list
=
influxDButils
.
getListData
(
sql
,
IndicatorsDto
.
class
);
if
(!
ValidationUtil
.
isEmpty
(
list
)){
if
(!
ValidationUtil
.
isEmpty
(
list
)){
resultMap
.
put
(
"equipmentSpecificName"
,
list
.
get
(
0
).
getEquipmentSpecificName
());
resultMap
.
put
(
"equipmentSpecificName"
,
list
.
get
(
0
).
getEquipmentSpecificName
());
...
@@ -1511,7 +1511,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1511,7 +1511,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
}
else
{
}
else
{
picturl
=
pictureUrl
+
"dlg-h-green.png"
;
picturl
=
pictureUrl
+
"dlg-h-green.png"
;
}
}
if
(
e
.
getEquipmentIndexName
().
contains
(
"
合闸"
)){
if
(
e
.
getEquipmentIndexName
().
endsWith
(
"断路器
合闸"
)){
resultMap
.
put
(
e
.
getEquipmentIndexName
().
substring
(
0
,
3
),
picturl
);
resultMap
.
put
(
e
.
getEquipmentIndexName
().
substring
(
0
,
3
),
picturl
);
}
else
{
}
else
{
resultMap
.
put
(
"gy"
,
picturl
);
resultMap
.
put
(
"gy"
,
picturl
);
...
...
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