From 68cf80df1ffc9124e9b3221b27e96369c546aa87 Mon Sep 17 00:00:00 2001 From: yitonglei Date: Tue, 26 Jul 2022 17:55:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E5=8A=A8=E8=8E=B7=E5=8F=96=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E5=9C=B0=E5=8C=BA=E4=BF=A1=E6=81=AF=E5=90=8E=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=9C=B0=E5=8C=BA=E4=BF=A1=E6=81=AF=E5=89=8D=E5=85=88?= =?UTF-8?q?=E6=B8=85=E7=A9=BA=E8=A1=A8=E6=A0=BCt=5Fcamera=5Forganization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/renren/modules/monitor/service/MonitorService.java | 3 +++ 1 file changed, 3 insertions(+) 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());