手动获取视频地区信息后保存地区信息前先清空表格t_camera_organization

This commit is contained in:
yitonglei 2022-07-26 17:55:37 +08:00
parent 4f03039109
commit 68cf80df1f
1 changed files with 3 additions and 0 deletions

View File

@ -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());