|
|
@@ -39,9 +39,9 @@ public class MonitorServiceImpl implements MonitorService {
|
|
39
|
39
|
for (MonitorCamera camera : list) {
|
|
40
|
40
|
if(camera.getCameraIndexCode()!=null){
|
|
41
|
41
|
MonitorCamera monitorCamera =new MonitorCamera();
|
|
42
|
|
- ResultResDTO<CameraResDTO> resDTO= hkService.getCamera(new CameraReqDTO(camera.getCameraIndexCode()));
|
|
43
|
|
- if(resDTO.getData().getStatus()!=null){
|
|
44
|
|
- status=Integer.parseInt(resDTO.getData().getStatus());
|
|
|
42
|
+ CameraResDTO resDTO= hkService.getCamera(new CameraReqDTO(camera.getCameraIndexCode()));
|
|
|
43
|
+ if(resDTO.getStatus()!=null){
|
|
|
44
|
+ status=Integer.parseInt(resDTO.getStatus());
|
|
45
|
45
|
}else{
|
|
46
|
46
|
status=0;
|
|
47
|
47
|
}
|