feat(project): 添加可视化大屏固定摄像头视频功能
parent
24389693c8
commit
a2f2a595bb
|
|
@ -306,6 +306,8 @@ public class KeyProjectQueryExe {
|
|||
item.setDeviceGbNumber(data.getDeviceGbNumber());
|
||||
item.setDeviceModel(data.getDeviceModel());
|
||||
item.setIsOnline(data.getIsOnline());
|
||||
item.setLongitude(data.getLongitude());
|
||||
item.setLatitude(data.getLatitude());
|
||||
return item;
|
||||
}).collect(Collectors.toList());
|
||||
return PageResponse.of(result, pageResponse.getTotalCount(), pageResponse.getPageSize(), pageResponse.getPageIndex());
|
||||
|
|
|
|||
|
|
@ -45,4 +45,10 @@ public class KeyProjectLargeScreenVideoCO implements Serializable {
|
|||
|
||||
@ApiModelProperty("在线状态,0:离线,1:在线")
|
||||
private Integer isOnline;
|
||||
|
||||
@ApiModelProperty("经度")
|
||||
private String longitude;
|
||||
|
||||
@ApiModelProperty("纬度")
|
||||
private String latitude;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,4 +32,8 @@ public class KeyProjectLargeScreenVideoDO implements Serializable {
|
|||
private String deviceModel;
|
||||
|
||||
private Integer isOnline;
|
||||
|
||||
private String longitude;
|
||||
|
||||
private String latitude;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -599,7 +599,9 @@
|
|||
fc.camera_number AS cameraNumber,
|
||||
fc.device_gb_number AS deviceGbNumber,
|
||||
fc.device_model AS deviceModel,
|
||||
fc.is_online AS isOnline
|
||||
fc.is_online AS isOnline,
|
||||
fc.longitude AS longitude,
|
||||
fc.latitude AS latitude
|
||||
FROM key_project kp
|
||||
INNER JOIN key_project_camera kpc ON kp.key_project_id = kpc.key_project_id
|
||||
AND kpc.delete_enum = 'FALSE'
|
||||
|
|
|
|||
Loading…
Reference in New Issue