feat:feature-REQ/2129 修改历史发送记录的状态返回

This commit is contained in:
lilong 2024-03-29 18:29:07 +08:00
parent b5176494d1
commit 46c67fa663

View File

@ -33,6 +33,7 @@ public class MessageHistoryController implements MessageHistoryApi {
return ApiPageResult.ok(page.convert(record -> {
MessageHistoryDTO messageHistoryDTO = MessageHistoryDTO.builder().build();
BeanUtils.copyProperties(record, messageHistoryDTO);
messageHistoryDTO.setStatus(record.getStatus().name());
return messageHistoryDTO;
}));
}