refactor: 合并档案与实物码管理入口
This commit is contained in:
@@ -66,7 +66,7 @@ export class QueryTraceCodeDto extends PaginationDto {
|
||||
@IsInt()
|
||||
groupId?: number;
|
||||
|
||||
@ApiPropertyOptional({ description: '关键词(短码/追溯码/SKU/档案号)' })
|
||||
@ApiPropertyOptional({ description: '关键词(短码/追溯码/档案号/作品名称)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
keyword?: string;
|
||||
@@ -117,6 +117,12 @@ export class BatchStatusDto {
|
||||
}
|
||||
|
||||
export class QueryBatchDto extends PaginationDto {
|
||||
@ApiPropertyOptional({ description: '作品/款式 ID' })
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
artworkId?: number;
|
||||
|
||||
@ApiPropertyOptional({ description: '关键词(批次编号)' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
|
||||
Reference in New Issue
Block a user