diff --git a/src/api/qms/qcInspectionItemCategory/types.ts b/src/api/qms/qcInspectionItemCategory/types.ts index ff2a114..501fd68 100644 --- a/src/api/qms/qcInspectionItemCategory/types.ts +++ b/src/api/qms/qcInspectionItemCategory/types.ts @@ -4,6 +4,16 @@ export interface QcInspectionItemCategoryVO { */ categoryId: string | number; + /** + * 父级ID + */ + parentId: string | number; + + /** + * 祖级列表 + */ + ancestors: string; + /** * 检测项类别编码 */ @@ -27,13 +37,17 @@ export interface QcInspectionItemCategoryVO { /** * 检测类型名称 */ - qcInspectionType: string; + qcInspectionType?: string; /** * 检测类型(字典:首检 专检 自检 互检 原材料检 抽检 成品检) */ - typeName: string | number; + typeName?: string | number; + /** + * 子对象 + */ + children: QcInspectionItemCategoryVO[]; } export interface QcInspectionItemCategoryForm extends BaseEntity { @@ -42,6 +56,16 @@ export interface QcInspectionItemCategoryForm extends BaseEntity { */ categoryId?: string | number; + /** + * 父级ID + */ + parentId?: string | number; + + /** + * 祖级列表 + */ + ancestors?: string; + /** * 检测项类别编码 */ @@ -74,13 +98,23 @@ export interface QcInspectionItemCategoryForm extends BaseEntity { } -export interface QcInspectionItemCategoryQuery extends PageQuery { +export interface QcInspectionItemCategoryQuery { /** * 检测项类别主键 */ categoryId?: string | number; + /** + * 父级ID + */ + parentId?: string | number; + + /** + * 祖级列表 + */ + ancestors?: string; + /** * 检测项类别编码 */