feat: 增强追溯码单码管理

This commit is contained in:
Nixevol
2026-07-04 05:38:58 +08:00
parent 79bd6270c0
commit a1120848e9
10 changed files with 222 additions and 9 deletions
@@ -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()