Commit 9fb3bbec authored by lizhichao's avatar lizhichao

用户设备“正常”改为“在线”

parent fe9a2b1e
...@@ -56,7 +56,7 @@ public class TDetectorInfoServiceImpl implements ITDetectorInfoService ...@@ -56,7 +56,7 @@ public class TDetectorInfoServiceImpl implements ITDetectorInfoService
List<TDetectorInfo> list = tDetectorInfoMapper.selectTDetectorInfoList(tDetectorInfo); List<TDetectorInfo> list = tDetectorInfoMapper.selectTDetectorInfoList(tDetectorInfo);
for(TDetectorInfo detector : list){ for(TDetectorInfo detector : list){
if("0".equals(detector.getDetectorStatus())){ if("0".equals(detector.getDetectorStatus())){
detector.setDetectorStatus("正常"); detector.setDetectorStatus("在线");
} else if("1".equals(detector.getDetectorStatus())) { } else if("1".equals(detector.getDetectorStatus())) {
detector.setDetectorStatus("离线"); detector.setDetectorStatus("离线");
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment