refactor(mes): 将 enableFlag/enabled/areaEnabled 重构为 status/areaStatus(CommonStatus)
QC Template: enableFlag(Boolean) -> status(Integer),使用 CommonStatusEnum Warehouse Area: enabled(Boolean) -> status(Integer),使用 CommonStatusEnum Warehouse Location: areaEnabled(Boolean) -> areaStatus(Integer),使用 CommonStatusEnum 涉及前端 API 定义、列表页、表单页的字段名和字典类型切换(INFRA_BOOLEAN_STRING -> COMMON_STATUS), 以及后端 DO、RespVO、SaveReqVO、PageReqVO、Mapper 的同步修改。 注意:语义反转,原 true(启用) 对应新 status=0(开启),原 false(禁用) 对应新 status=1(关闭)。pull/871/MERGE
parent
545887ed38
commit
0da99069c5
|
|
@ -6,7 +6,7 @@ export interface QcTemplateVO {
|
||||||
code: string // 方案编号
|
code: string // 方案编号
|
||||||
name: string // 方案名称
|
name: string // 方案名称
|
||||||
types: number[] // 检测种类
|
types: number[] // 检测种类
|
||||||
enableFlag: boolean // 是否启用
|
status: number // 状态
|
||||||
remark: string // 备注
|
remark: string // 备注
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ export interface WmWarehouseAreaVO {
|
||||||
positionX: number
|
positionX: number
|
||||||
positionY: number
|
positionY: number
|
||||||
positionZ: number
|
positionZ: number
|
||||||
enabled: boolean
|
status: number
|
||||||
frozen: boolean
|
frozen: boolean
|
||||||
allowItemMixing: boolean
|
allowItemMixing: boolean
|
||||||
allowBatchMixing: boolean
|
allowBatchMixing: boolean
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue