From 4201fb37d6a713bc11e216a0ea872bab952c8640 Mon Sep 17 00:00:00 2001 From: zch Date: Wed, 12 Mar 2025 16:57:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor(mes):=20=E9=87=8D=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=B8=AD=E7=9A=84=E7=8F=AD=E6=AC=A1=E5=92=8C=E7=8F=AD?= =?UTF-8?q?=E7=BB=84=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 classesId 重命名为 shiftId,用于表示班次 ID - 将 teamId 重命名为 classTeamId,用于表示班组 ID - 这些更改提高了代码的可读性和一致性 --- src/api/mes/productPlanDetail/types.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/mes/productPlanDetail/types.ts b/src/api/mes/productPlanDetail/types.ts index e89848e..f959660 100644 --- a/src/api/mes/productPlanDetail/types.ts +++ b/src/api/mes/productPlanDetail/types.ts @@ -32,12 +32,12 @@ export interface ProductPlanDetailVO { /** * 班次ID */ - classesId: string | number; + shiftId: string | number; /** * 班组ID */ - teamId: string | number; + classTeamId: string | number; /** * 完成数量 @@ -175,12 +175,12 @@ export interface ProductPlanDetailForm extends BaseEntity { /** * 班次ID */ - classesId?: string | number; + shiftId?: string | number; /** * 班组ID */ - teamId?: string | number; + classTeamId?: string | number; /** * 完成数量 @@ -321,12 +321,12 @@ export interface ProductPlanDetailQuery extends PageQuery { /** * 班次ID */ - classesId?: string | number; + shiftId?: string | number; /** * 班组ID */ - teamId?: string | number; + classTeamId?: string | number; /** * 完成数量