feat(security): 安保工单扩展表新增 cameraName 字段
VO/DTO/DO 全链路新增摄像头名称字段,告警系统创建工单时传入, 用于企微卡片通知展示。 SQL: ALTER TABLE ops_order_security_ext ADD COLUMN camera_name VARCHAR(128) DEFAULT NULL COMMENT '摄像头名称' AFTER camera_id; Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -47,6 +47,10 @@ public class OpsOrderSecurityExtDO extends BaseDO {
|
||||
* 摄像头ID
|
||||
*/
|
||||
private String cameraId;
|
||||
/**
|
||||
* 摄像头名称
|
||||
*/
|
||||
private String cameraName;
|
||||
/**
|
||||
* ROI区域ID
|
||||
*/
|
||||
|
||||
@@ -36,6 +36,9 @@ public class SecurityOrderCreateReqDTO {
|
||||
|
||||
private String cameraId;
|
||||
|
||||
/** 摄像头名称 */
|
||||
private String cameraName;
|
||||
|
||||
private String roiId;
|
||||
|
||||
private String imageUrl;
|
||||
|
||||
@@ -108,6 +108,7 @@ public class SecurityOrderServiceImpl implements SecurityOrderService {
|
||||
.alarmId(createReq.getAlarmId())
|
||||
.alarmType(createReq.getAlarmType())
|
||||
.cameraId(createReq.getCameraId())
|
||||
.cameraName(createReq.getCameraName())
|
||||
.roiId(createReq.getRoiId())
|
||||
.imageUrl(createReq.getImageUrl())
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user