diff --git a/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java b/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java index 14931321..6efd0b85 100644 --- a/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java +++ b/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java @@ -1138,6 +1138,9 @@ public class MonitorService { getOrgenizationByParent(list,a.getString("id")); } }); + if(list != null && list.size() > 0){ + cameraOrgenMapper.truncate("t_camera_organization"); + } return list; }catch (Exception e){ log.info(e.getMessage());