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
da861501
Commit
da861501
authored
Sep 22, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改状态名称
parent
304a47ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
JpCollectorMapper.xml
...api/src/main/resources/mapper/mysql/JpCollectorMapper.xml
+1
-1
JpStationController.java
.../boot/module/hygf/biz/controller/JpStationController.java
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/JpCollectorMapper.xml
View file @
da861501
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
and hygf_jp_station.third_station_id =#{dto.thirdStationId}
and hygf_jp_station.third_station_id =#{dto.thirdStationId}
</if>
</if>
and hygf_jp_collector.`state` is not null and hygf_jp_collector.`state` in ("在线","
告
警","离线")
and hygf_jp_collector.`state` is not null and hygf_jp_collector.`state` in ("在线","
报
警","离线")
</where>
</where>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/JpStationController.java
View file @
da861501
...
@@ -203,7 +203,7 @@ public class JpStationController extends BaseController {
...
@@ -203,7 +203,7 @@ public class JpStationController extends BaseController {
collector
.
put
(
"zx"
,
map
.
get
(
"num"
));
collector
.
put
(
"zx"
,
map
.
get
(
"num"
));
}
else
if
(
"离线"
.
equals
(
map
.
get
(
"state"
).
toString
())){
}
else
if
(
"离线"
.
equals
(
map
.
get
(
"state"
).
toString
())){
collector
.
put
(
"lx"
,
map
.
get
(
"num"
));
collector
.
put
(
"lx"
,
map
.
get
(
"num"
));
}
else
if
(
"
告
警"
.
equals
(
map
.
get
(
"state"
).
toString
())){
}
else
if
(
"
报
警"
.
equals
(
map
.
get
(
"state"
).
toString
())){
collector
.
put
(
"gj"
,
map
.
get
(
"num"
));
collector
.
put
(
"gj"
,
map
.
get
(
"num"
));
}
}
}
}
...
@@ -214,7 +214,7 @@ public class JpStationController extends BaseController {
...
@@ -214,7 +214,7 @@ public class JpStationController extends BaseController {
inverter
.
put
(
"zx"
,
map
.
get
(
"num"
));
inverter
.
put
(
"zx"
,
map
.
get
(
"num"
));
}
else
if
(
"离线"
.
equals
(
map
.
get
(
"state"
).
toString
())){
}
else
if
(
"离线"
.
equals
(
map
.
get
(
"state"
).
toString
())){
inverter
.
put
(
"lx"
,
map
.
get
(
"num"
));
inverter
.
put
(
"lx"
,
map
.
get
(
"num"
));
}
else
if
(
"
告
警"
.
equals
(
map
.
get
(
"state"
).
toString
())){
}
else
if
(
"
报
警"
.
equals
(
map
.
get
(
"state"
).
toString
())){
inverter
.
put
(
"gj"
,
map
.
get
(
"num"
));
inverter
.
put
(
"gj"
,
map
.
get
(
"num"
));
}
}
}
}
...
...
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