diff --git a/lastleg-service/src/main/resources/openapi/fleet-trips-v1.yaml b/lastleg-service/src/main/resources/openapi/fleet-trips-v1.yaml index fcfcd23db..63bd72cdf 100644 --- a/lastleg-service/src/main/resources/openapi/fleet-trips-v1.yaml +++ b/lastleg-service/src/main/resources/openapi/fleet-trips-v1.yaml @@ -602,8 +602,8 @@ components: properties: warehousePalletId: {type: string} palletSpaces: {type: integer, minimum: 1} - weightKg: {type: number, minimum: 0.001, multipleOf: 0.001, maximum: 999999999.999} - volumeCbm: {type: number, minimum: 0.001, multipleOf: 0.001, maximum: 999999999.999} + weightKg: {type: number, nullable: true, description: 已确认装车的未知实测保持空值;计划容量输入仍须填写正数, minimum: 0.001, multipleOf: 0.001, maximum: 999999999.999} + volumeCbm: {type: number, nullable: true, description: 已确认装车的未知实测保持空值;计划容量输入仍须填写正数, minimum: 0.001, multipleOf: 0.001, maximum: 999999999.999} deliveryIndex: {type: integer, minimum: 1, description: 卸货站索引,起运仓固定为0} PlanningEnvelope: allOf: @@ -641,8 +641,8 @@ components: type: object properties: palletSpaces: {type: integer} - weightKg: {type: number} - volumeCbm: {type: number} + weightKg: {type: number, nullable: true, description: 实测不完整时未知,不表示零重量或可售余量} + volumeCbm: {type: number, nullable: true, description: 实测不完整时未知,不表示零体积或可售余量} ConfirmLoad: type: object required: [recordVersion, manifestHash, pallets, reason]