Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pingshan-ranqi
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
yaqizhang
pingshan-ranqi
Commits
ba7a5975
Commit
ba7a5975
authored
Nov 18, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
探测器分页列表处理设备状态
parent
3d72ab05
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
TDetectorInfoServiceImpl.java
.../zehong/system/service/impl/TDetectorInfoServiceImpl.java
+9
-1
No files found.
gassafety-system/src/main/java/com/zehong/system/service/impl/TDetectorInfoServiceImpl.java
View file @
ba7a5975
...
...
@@ -72,7 +72,15 @@ public class TDetectorInfoServiceImpl implements ITDetectorInfoService
@Override
public
PageInfo
<
TDetectorInfo
>
selectTDetectorInfoPage
(
TDetectorInfo
tDetectorInfo
)
{
return
new
PageInfo
(
tDetectorInfoMapper
.
selectTDetectorInfoList
(
tDetectorInfo
));
List
<
TDetectorInfo
>
list
=
tDetectorInfoMapper
.
selectTDetectorInfoList
(
tDetectorInfo
);
for
(
TDetectorInfo
detector
:
list
){
if
(
"0"
.
equals
(
detector
.
getDetectorStatus
())){
detector
.
setDetectorStatus
(
"正常"
);
}
else
{
detector
.
setDetectorStatus
(
"离线"
);
}
}
return
new
PageInfo
(
list
);
}
/**
...
...
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