Commit cea7d51139bddd608ef5968d92202266af49c796

Authored by 648540858
1 parent dc20ccfc

去除功能的重复实现

src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/device/DeviceQuery.java
@@ -207,7 +207,6 @@ public class DeviceQuery { @@ -207,7 +207,6 @@ public class DeviceQuery {
207 boolean isSuccess = storager.delete(deviceId); 207 boolean isSuccess = storager.delete(deviceId);
208 if (isSuccess) { 208 if (isSuccess) {
209 redisCatchStorage.clearCatchByDeviceId(deviceId); 209 redisCatchStorage.clearCatchByDeviceId(deviceId);
210 - redisCatchStorage.removeDevice(deviceId);  
211 JSONObject json = new JSONObject(); 210 JSONObject json = new JSONObject();
212 json.put("deviceId", deviceId); 211 json.put("deviceId", deviceId);
213 return new ResponseEntity<>(json.toString(),HttpStatus.OK); 212 return new ResponseEntity<>(json.toString(),HttpStatus.OK);