feat(ops): 工单引擎增加 assigneeName 冗余字段
在工单核心引擎各层级增加 assigneeName 冗余字段,存储执行人的可读名称(优先使用 nickname,降级为 deviceCode), 避免查询时关联 IoT 设备表,提升查询性能。 变更范围: - OpsOrderDO: 新增 assigneeName 字段 - OrderTransitionRequest: 新增 assigneeName 参数 - OrderDispatchContext: 新增 recommendedAssigneeName 字段 - DispatchEngineImpl: 派单/入队/打断时透传 assigneeName - OrderLifecycleManagerImpl: 分配/派发/入队时写入 assigneeName - OpsOrderAssignReqDTO: 新增 assigneeName 参数 - OrderSummaryVO: 新增 sourceType、assigneeName 字段 - BadgeDeviceStatusDTO: 新增 nickname 字段 影响模块:Ops Biz、Ops API Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -31,6 +31,11 @@ public class BadgeDeviceStatusDTO {
|
||||
*/
|
||||
private String deviceCode;
|
||||
|
||||
/**
|
||||
* 设备昵称(用户可读的显示名称,如"张三的工牌")
|
||||
*/
|
||||
private String nickname;
|
||||
|
||||
/**
|
||||
* 设备状态
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user