优化
This commit is contained in:
@@ -179,7 +179,7 @@ public class LoadingListRepository {
|
|||||||
decimal(row.getDimensionalWeightKg()), value(row.getProductQuantity()),
|
decimal(row.getDimensionalWeightKg()), value(row.getProductQuantity()),
|
||||||
integer(row.getUnitsPerCarton()), row.getFbaTrackingNo(), row.getShipmentNo(), row.getShippingMark(),
|
integer(row.getUnitsPerCarton()), row.getFbaTrackingNo(), row.getShipmentNo(), row.getShippingMark(),
|
||||||
row.getInternalRemark(), row.getCustomerRemark(), row.getWarehouseRemark(),
|
row.getInternalRemark(), row.getCustomerRemark(), row.getWarehouseRemark(),
|
||||||
integer(row.getLoadSequence()), row.getFrozenAt())).toList();
|
integer(row.getLoadSequence()), row.getFrozenAt(), row.getItemVersion())).toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
private List<History> histories(long planId) {
|
private List<History> histories(long planId) {
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ components:
|
|||||||
version: {type: integer, format: int32, minimum: 0, description: 乐观锁版本}
|
version: {type: integer, format: int32, minimum: 0, description: 乐观锁版本}
|
||||||
LoadingItem:
|
LoadingItem:
|
||||||
type: object
|
type: object
|
||||||
required: [itemId, accountId, orderId, orderNo, inboundId, inboundDetailId, packageCount, palletCount, grossWeightKg, netWeightKg, volumeCbm, dimensionalWeightKg, productQuantity, unitsPerPackage, loadSequence]
|
required: [itemId, accountId, orderId, orderNo, inboundId, inboundDetailId, packageCount, palletCount, grossWeightKg, netWeightKg, volumeCbm, dimensionalWeightKg, productQuantity, unitsPerPackage, loadSequence, itemVersion]
|
||||||
properties:
|
properties:
|
||||||
itemId: {$ref: '#/components/schemas/LongId'}
|
itemId: {$ref: '#/components/schemas/LongId'}
|
||||||
accountId: {$ref: '#/components/schemas/LongId'}
|
accountId: {$ref: '#/components/schemas/LongId'}
|
||||||
@@ -401,6 +401,7 @@ components:
|
|||||||
warehouseRemark: {type: string, nullable: true, description: 仓库备注}
|
warehouseRemark: {type: string, nullable: true, description: 仓库备注}
|
||||||
loadSequence: {type: integer, format: int32, minimum: 0, description: 装柜顺序}
|
loadSequence: {type: integer, format: int32, minimum: 0, description: 装柜顺序}
|
||||||
frozenAt: {type: string, format: date-time, nullable: true, description: 明细冻结时间}
|
frozenAt: {type: string, format: date-time, nullable: true, description: 明细冻结时间}
|
||||||
|
itemVersion: {type: integer, format: int32, minimum: 0, description: 明细乐观锁版本;更新仓库备注时作为 expectedItemVersion}
|
||||||
OperationHistory:
|
OperationHistory:
|
||||||
type: object
|
type: object
|
||||||
required: [historyId, actionType, operatorId, occurredAt]
|
required: [historyId, actionType, operatorId, occurredAt]
|
||||||
|
|||||||
Reference in New Issue
Block a user