mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 10:52:26 +00:00
update
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
package com.bytedesk.service.queue_member;
|
||||
|
||||
// Deprecated placeholder: queue member status now tracks ThreadProcessStatusEnum directly.
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user