This commit is contained in:
jack ning
2025-11-20 17:50:47 +08:00
parent d4eb3eaa23
commit b359b9beea
3 changed files with 4 additions and 6 deletions

View File

@@ -263,14 +263,14 @@ public class QueueMemberRestService extends BaseRestServiceWithExport<QueueMembe
if (response.getQueue() != null) {
excel.setQueueNickname(response.getQueue().getNickname());
}
// 访客信息
if (response.getThread() != null) {
excel.setVisitorNickname(response.getThread().getUser().getNickname());
excel.setAgentNickname(response.getThread().getAgentProtobuf().getNickname());
excel.setRobotNickname(response.getThread().getRobotProtobuf().getNickname());
// excel.setWorkgroupName(response.getThread().getWorkgroup().getNickname());
excel.setStatus(ThreadProcessStatusEnum.fromValue(response.getThread().getStatus()).toChineseDisplay());
if (response.getThread().getStatus() != null) {
excel.setStatus(ThreadProcessStatusEnum.fromValue(response.getThread().getStatus()).toChineseDisplay());
}
excel.setChannel(ChannelEnum.fromValue(response.getThread().getChannel()).toChineseDisplay());
}

View File

@@ -1,3 +0,0 @@
package com.bytedesk.service.queue_member;
// Deprecated placeholder: queue member status now tracks ThreadProcessStatusEnum directly.

View File

@@ -245,6 +245,7 @@ public class ServiceConvertUtils {
//
QueueMemberResponse response = getModelMapper().map(entity, QueueMemberResponse.class);
response.setThread(ConvertUtils.convertToThreadResponse(entity.getThread()));
response.setStatus(entity.getStatus());
// 设置首次响应时长
response.setAgentFirstResponseLength(entity.getAgentFirstResponseLength());