手动获取视频地区信息后保存地区信息前先清空表格t_camera_organization
This commit is contained in:
parent
4f03039109
commit
68cf80df1f
|
@ -1138,6 +1138,9 @@ public class MonitorService {
|
||||||
getOrgenizationByParent(list,a.getString("id"));
|
getOrgenizationByParent(list,a.getString("id"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
if(list != null && list.size() > 0){
|
||||||
|
cameraOrgenMapper.truncate("t_camera_organization");
|
||||||
|
}
|
||||||
return list;
|
return list;
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.info(e.getMessage());
|
log.info(e.getMessage());
|
||||||
|
|
Loading…
Reference in New Issue