feat: 完善后台导入日志权限与备份恢复
This commit is contained in:
@@ -166,6 +166,14 @@ export class BatchMoveDto {
|
||||
batchNo?: string;
|
||||
}
|
||||
|
||||
export class BatchDeleteDto {
|
||||
@ApiProperty({ description: '追溯码 ID 列表', type: [String] })
|
||||
@IsArray()
|
||||
@ArrayNotEmpty()
|
||||
@IsString({ each: true })
|
||||
ids!: string[];
|
||||
}
|
||||
|
||||
export class QueryBatchDto extends PaginationDto {
|
||||
@ApiPropertyOptional({ description: '作品/款式 ID' })
|
||||
@IsOptional()
|
||||
@@ -180,11 +188,6 @@ export class QueryBatchDto extends PaginationDto {
|
||||
}
|
||||
|
||||
export class ExportTraceCodeDto {
|
||||
@ApiPropertyOptional({ description: '导出格式', enum: ['xlsx', 'csv'] })
|
||||
@IsOptional()
|
||||
@IsIn(['xlsx', 'csv'])
|
||||
format?: 'xlsx' | 'csv';
|
||||
|
||||
@ApiPropertyOptional({ description: '作品(款)ID' })
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
|
||||
Reference in New Issue
Block a user