fix(FEAT-MO-001): 修复TDX数据完整性与状态展示

This commit is contained in:
2026-08-18 19:30:34 +08:00
parent ff8ada8316
commit 49f6be9c43
20 changed files with 557 additions and 113 deletions
@@ -72,7 +72,7 @@ export class BreadthDataDto {
@ApiProperty({ type: Number })
declining!: number;
@ApiPropertyOptional({ type: Number, nullable: true })
@ApiProperty({ type: Number, nullable: true })
unchanged!: number | null;
}
@@ -83,8 +83,8 @@ export class SectorQuoteDto {
@ApiProperty({ type: String })
name!: string;
@ApiPropertyOptional({ type: Number, nullable: true })
changePercent!: number | null;
@ApiProperty({ type: Number })
changePercent!: number;
@ApiProperty({ enum: ['up', 'down', 'flat'] })
direction!: QuoteDirection;
@@ -110,6 +110,15 @@ export class FundDataDto {
@ApiProperty({ type: String, example: '亿元' })
unit!: '亿元';
@ApiProperty({ type: Number, minimum: 1, maximum: 3 })
marketCount!: number;
@ApiProperty({ type: String, example: '20260818' })
tradeDate!: string;
@ApiProperty({ type: String, example: '20260817' })
previousTradeDate!: string;
}
export class SummaryResponseDto extends MarketOverviewMetaDto {