bihuisong 3 달 전
부모
커밋
7089d0dddb
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      src/main/java/com/sooka/sponest/monitor/dahua/controller/EquipmentStatusTaskController.java

+ 4 - 4
src/main/java/com/sooka/sponest/monitor/dahua/controller/EquipmentStatusTaskController.java

@@ -141,10 +141,10 @@ public class EquipmentStatusTaskController {
                 }
             } else {
                 //向执法中心推送设备状态
-//                R result = remoteLawenforcementBaseService.deviceOpenOrClose(arr);
-//                if (result.getCode() != 200) {
-//                    log.info("向执法中心推送设备状态失败:{}", result.getMsg());
-//                }
+                R result = remoteLawenforcementBaseService.deviceOpenOrClose(arr);
+                if (result.getCode() != 200) {
+                    log.info("向执法中心推送设备状态失败:{}", result.getMsg());
+                }
                 //更新执法仪在离线状态
                 centermonitorTCameraMapper.updateBatchLawEnforcementInstrumentState(arr);
             }