Commit 8a0a5b00 authored by 高建强's avatar 高建强

item:视频监控导入导出所属机构属性扩展

parent 9f03ff0f
...@@ -25,19 +25,25 @@ public class VideoDownloadVO implements Serializable { ...@@ -25,19 +25,25 @@ public class VideoDownloadVO implements Serializable {
@ExcelProperty(value = "token", index = 3) @ExcelProperty(value = "token", index = 3)
private String token; private String token;
@ExcelProperty(value = "所属建筑编码", index = 4) @ExcelProperty(value = "机构编码", index = 4)
private String bizOrgCode;
@ExcelProperty(value = "机构/部门名称", index = 5)
private String bizOrgName;
@ExcelProperty(value = "所属建筑编码", index = 6)
private String buildingCodes; private String buildingCodes;
@ExcelProperty(value = "关联消防设备编码(多个分号分隔)", index = 5) @ExcelProperty(value = "关联消防设备编码(多个分号分隔)", index = 7)
private String equipmentSpecificCodes; private String equipmentSpecificCodes;
@ExcelProperty(value = "详细地址", index = 6) @ExcelProperty(value = "详细地址", index = 8)
private String address; private String address;
@ExcelProperty(value = "备注", index = 7) @ExcelProperty(value = "备注", index = 9)
private String remark; private String remark;
@ExcelProperty(value = "关联电力设备编码(多个分号分隔)", index = 8) @ExcelProperty(value = "关联电力设备编码(多个分号分隔)", index = 10)
private String importantEquipmentCodes; private String importantEquipmentCodes;
} }
...@@ -382,6 +382,8 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements ...@@ -382,6 +382,8 @@ public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements
video.setCode(x.getCode()); video.setCode(x.getCode());
video.setRemark(x.getRemark()); video.setRemark(x.getRemark());
video.setAddress(x.getAddress()); video.setAddress(x.getAddress());
video.setBizOrgCode(x.getBizOrgCode());
video.setBizOrgName(x.getBizOrgName());
videos.add(video); videos.add(video);
this.baseMapper.insert(video); this.baseMapper.insert(video);
// 处理监控和建筑关系 // 处理监控和建筑关系
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment