feat: 增强追溯码单码管理
This commit is contained in:
@@ -116,6 +116,25 @@ export class BatchStatusDto {
|
||||
abnormal?: boolean;
|
||||
}
|
||||
|
||||
export class UpdateTraceCodeDto {
|
||||
@ApiPropertyOptional({ description: '目标分组 ID,null 表示移出分组' })
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
groupId?: number | null;
|
||||
|
||||
@ApiPropertyOptional({ description: '目标批次 ID' })
|
||||
@IsOptional()
|
||||
@Type(() => Number)
|
||||
@IsInt()
|
||||
batchId?: number;
|
||||
|
||||
@ApiPropertyOptional({ description: 'true 停用,false 启用' })
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
disabled?: boolean;
|
||||
}
|
||||
|
||||
export class QueryBatchDto extends PaginationDto {
|
||||
@ApiPropertyOptional({ description: '作品/款式 ID' })
|
||||
@IsOptional()
|
||||
|
||||
Reference in New Issue
Block a user