feat(dispatch): paginate candidates and expose received PLAN first-pick positions
This commit is contained in:
@@ -888,8 +888,8 @@ paths:
|
||||
'422': { description: 排车单没有可打印的 BOL 明细 }
|
||||
/api/platform/v1/last-leg/dispatches/candidates:
|
||||
get:
|
||||
summary: 读取真实候选及来源版本
|
||||
description: 权限 platform:overseas-warehouse:dispatch:list。
|
||||
summary: 分页读取真实候选及来源版本
|
||||
description: 权限 platform:overseas-warehouse:dispatch:list。数据库按客户、订单、托盘和来源身份稳定排序分页;总数与当前页来自同一只读快照。selectionGroup仍包含完整同托及整申请来源,可包含页外成员;选取时服务端再次权威解析,不以当前页充当完整组。
|
||||
security:
|
||||
- bearerAuth: []
|
||||
responses:
|
||||
@@ -947,6 +947,26 @@ paths:
|
||||
in: query
|
||||
schema:
|
||||
type: string
|
||||
- name: page
|
||||
in: query
|
||||
schema:
|
||||
type: integer
|
||||
minimum: 1
|
||||
default: 1
|
||||
- name: size
|
||||
in: query
|
||||
schema:
|
||||
type: integer
|
||||
minimum: 1
|
||||
maximum: 50
|
||||
default: 20
|
||||
- name: warehouseTab
|
||||
in: query
|
||||
description: 对起运仓名称和编码的服务端页签筛选,在统计和分页前生效。
|
||||
schema:
|
||||
type: string
|
||||
enum: [ALL, LAX, NYC]
|
||||
default: ALL
|
||||
/api/platform/v1/last-leg/dispatches/drafts/pre-arrange:
|
||||
post:
|
||||
summary: 将所有非空容器原子转换为整车
|
||||
@@ -6972,6 +6992,19 @@ components:
|
||||
nullable: true
|
||||
complete:
|
||||
type: boolean
|
||||
description: 仅当前响应包含筛选后的全部候选时为true;分页中的false不影响每个selectionGroup的完整性。
|
||||
total:
|
||||
type: string
|
||||
pattern: ^[0-9]+$
|
||||
description: 同一筛选下的来源总行数。
|
||||
page:
|
||||
type: integer
|
||||
size:
|
||||
type: integer
|
||||
pages:
|
||||
type: string
|
||||
pattern: ^[0-9]+$
|
||||
required: [candidates, snapshotAt, complete, total, page, size, pages]
|
||||
DispatchDraftContainer:
|
||||
type: object
|
||||
x-java-record: DispatchPlanningModels.DraftContainer
|
||||
|
||||
Reference in New Issue
Block a user