refactor(core): 重构会议接口并统一代码换行符
- 调整前端会议接口类型,新增 MeetingParticipant 定义 - 统一全项目文件换行符为 LF,清理 CRLF 格式 - 完善 .gitignore 规则与 H5 端基础类型定义dev_na
parent
2660f65bd2
commit
41a21f4d8e
|
|
@ -0,0 +1,19 @@
|
|||
package com.imeeting.dto.biz;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Schema(description = "会议参会人信息")
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class MeetingParticipantVO {
|
||||
|
||||
@Schema(description = "用户 ID")
|
||||
private Long userId;
|
||||
|
||||
@Schema(description = "用户名称")
|
||||
private String displayName;
|
||||
}
|
||||
|
|
@ -1,13 +1,11 @@
|
|||
package com.imeeting.service.biz.impl;
|
||||
|
||||
import cn.hutool.core.date.StopWatch;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.imeeting.common.MeetingConstants;
|
||||
import com.imeeting.common.SysParamKeys;
|
||||
import com.imeeting.entity.biz.AiTask;
|
||||
import com.imeeting.entity.biz.HotWordGroup;
|
||||
import com.imeeting.entity.biz.Meeting;
|
||||
import com.imeeting.entity.biz.MeetingTranscript;
|
||||
import com.imeeting.entity.biz.PromptTemplate;
|
||||
import com.imeeting.dto.biz.MeetingParticipantVO;
|
||||
import com.imeeting.event.MeetingCreatedEvent;
|
||||
|
|
@ -46,7 +44,6 @@ import java.time.LocalDateTime;
|
|||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
|
@ -476,7 +473,7 @@ public class MeetingDomainSupport {
|
|||
.collect(Collectors.toList());
|
||||
vo.setParticipantUsers(participantUsers);
|
||||
String names = participantUsers.stream()
|
||||
.map(MeetingParticipantVO::getName)
|
||||
.map(MeetingParticipantVO::getDisplayName)
|
||||
.filter(Objects::nonNull)
|
||||
.collect(Collectors.joining(", "));
|
||||
vo.setParticipants(names);
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ export type SummaryDetailLevel = "DETAILED" | "STANDARD" | "BRIEF";
|
|||
export type MeetingSource = "WINDOWS" | "MACOS" | "KYLIN" | "UOS" | "HARMONYOS" | "WEB" | "CUSTOM_TERMINAL" | "ANDROID";
|
||||
|
||||
export interface MeetingParticipant {
|
||||
id: number;
|
||||
name: string | null;
|
||||
userId: number;
|
||||
displayName: string | null;
|
||||
}
|
||||
|
||||
export interface MeetingCreateConfig {
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ export interface TokenResponse {
|
|||
}
|
||||
|
||||
export interface MeetingParticipant {
|
||||
id: number;
|
||||
name: string | null;
|
||||
userId: number;
|
||||
displayName: string | null;
|
||||
}
|
||||
|
||||
export interface MeetingVO {
|
||||
|
|
|
|||
Loading…
Reference in New Issue