返回 API 文档索引

lwc-cloud-mes-ppd API 接口文档

lwc-cloud-mes-ppd 版本 3.0.0 132 个接口 18 个分组 225 个模型 来源: https://api.leadwaycloud.com/lwc-cloud-mes-ppd/v3/api-docs

服务地址

地址说明
http://localhost:8080开发环境
https://api.leadwaycloud.com测试环境

接口详情

PUT

/api/workCenter/update/{id}

加工中心管理 编辑加工中心 OperationId: update

调用方法

PUT /api/workCenter/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: WorkCenterDTO$UpdateDTO com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$UpdateDTO

名称类型必填说明示例
codestring编号
namestring名称
outsourceboolean是否为外协虚拟加工中心
departmentIdinteger(int64)所属车间/部门ID
leaderUserIdinteger(int64)负责人ID
descriptionstring描述
notestring备注
workCenterResourceListWorkCenterDTO$ResourceDTO[]资源列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/work/update/{id}

工单管理 编辑工单 OperationId: update_1

调用方法

PUT /api/work/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: WorkOrderUpdateDTO com.leadwaycloud.ppd.model.dto.workorder.WorkOrderUpdateDTO

名称类型必填说明示例
namestring名称
codestring编号
qtynumber(double)数量
orderProcessIdinteger(int64)工序ID
notestring备注
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划结束日期
resourceListWorkResourceDTO[]
delResourceIdListinteger(int64)[]
batchListWorkOrderBatchDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/work/terminate/{id}

工单管理 终止工单 OperationId: terminate

调用方法

PUT /api/work/terminate/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: WorkOrderReasonDTO com.leadwaycloud.ppd.model.dto.workorder.WorkOrderReasonDTO

名称类型必填说明示例
notestring操作原因

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/work/pause/{id}

工单管理 暂停工单 OperationId: pause

调用方法

PUT /api/work/pause/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: WorkOrderReasonDTO com.leadwaycloud.ppd.model.dto.workorder.WorkOrderReasonDTO

名称类型必填说明示例
notestring操作原因

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/work/confirm/{id}

工单管理 确认工单 OperationId: confirm

调用方法

PUT /api/work/confirm/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/work/complete/{id}

工单管理 完成工单 OperationId: complete

调用方法

PUT /api/work/complete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/transfer-order/update/{id}

转序单管理 编辑转序单 OperationId: update_2

调用方法

PUT /api/transfer-order/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: TransferOrderUpdateDTO com.leadwaycloud.ppd.model.dto.transfer.TransferOrderUpdateDTO

名称类型必填说明示例
itemsTransferOrderItemDTO[]转序明细列表(仅改批次/数量)
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/shift-handover-record/update/{id}

交接班管理 编辑交接班 OperationId: update_3

调用方法

PUT /api/shift-handover-record/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)交接班记录ID

请求体

Content-Type: application/json 必填:类型: ShiftHandoverRecordUpdateDTO com.leadwaycloud.ppd.model.dto.shifthandover.ShiftHandoverRecordUpdateDTO

名称类型必填说明示例
notestring交班备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Boolean com.leadwaycloud.core.model.RJava.lang.Boolean

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
databoolean返回数据
PUT

/api/shift-handover-record/confirm/{id}

交接班管理 确认交接 OperationId: confirm_1

调用方法

PUT /api/shift-handover-record/confirm/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)交接班记录ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Boolean com.leadwaycloud.core.model.RJava.lang.Boolean

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
databoolean返回数据
PUT

/api/routeTemplate/update/{id}

工艺路线模板管理 编辑工艺路线模板 OperationId: update_4

调用方法

PUT /api/routeTemplate/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteTemplateDTO$UpdateDTO com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$UpdateDTO

名称类型必填说明示例
codestring模板编码
namestring模板名称
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/routeTemplate/process/update/{routeProcessId}

工艺路线模板管理 更新工序 OperationId: updateProcess

调用方法

PUT /api/routeTemplate/process/update/{routeProcessId}

参数

名称位置必填类型说明示例
routeProcessIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$UpdateProcessDTO com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$UpdateProcessDTO

名称类型必填说明示例
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
requirementstring工序要求
notestring备注
resourceListRouteProcessDTO$ResourceDTO[]资源列表
bomLineListRouteProcessDTO$BomDTO[]BOM列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/production-order/update/{id}

生产订单管理 更新生产订单-手动创建 OperationId: update_5

调用方法

PUT /api/production-order/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProductionOrderUpdateDTO com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderUpdateDTO

名称类型必填说明示例
namestring名称
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
goodsProcessRouteIdinteger(int64)产品工艺路线ID
planQtynumber计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/production-order-batch-log/update/{id}

生产订单批次日志管理 编辑批次日志 OperationId: update_6

调用方法

PUT /api/production-order-batch-log/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProductionOrderBatchLogUpdateDTO com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderBatchLogUpdateDTO

名称类型必填说明示例
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdinteger(int64)批次ID
serialIdinteger(int64)节号ID
qtyinteger(int64)数量
statusstring状态

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/process/update/{id}

工序库管理 编辑工序 OperationId: update_7

调用方法

PUT /api/process/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProcessDTO$UpdateDTO com.leadwaycloud.ppd.model.dto.process.ProcessDTO$UpdateDTO

名称类型必填说明示例
codestring工序编码
namestring工序名称
requirementstring工序要求
typestring工序类别
processTypestring加工类别
qualityPointboolean质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
resourceListProcessDTO$ResourceDTO[]资源列表
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/process-schedule/update/{id}

工序计划管理 编辑工序计划 OperationId: update_8

调用方法

PUT /api/process-schedule/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$UpdateDTO com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$UpdateDTO

名称类型必填说明示例
namestring名称
planQtynumber计划数量
workCenterIdinteger(int64)加工中心ID
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleDTO$ScheduleNodeDTO[]班次节点列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/order-completion/update/{id}

完工单管理 编辑完工单 OperationId: update_9

调用方法

PUT /api/order-completion/update/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: OrderCompletionUpdateDTO com.leadwaycloud.ppd.model.dto.ordercompletion.OrderCompletionUpdateDTO

名称类型必填说明示例
notestring备注
qtynumber(double)备注
batchListWorkOrderBatchDTO[]批次/节号明细列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/order-completion/confirm/{id}

完工单管理 确认完工 OperationId: confirm_2

调用方法

PUT /api/order-completion/confirm/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/goods-process-route/update/{goodsProcessRouteId}

产品工艺路线管理 路线-编辑产品工艺路线 OperationId: update_10

调用方法

PUT /api/goods-process-route/update/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: GoodsProcessRouteDTO$UpdateDTO com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$UpdateDTO

名称类型必填说明示例
codestring编号
namestring名称
notestring备注
goodsBomIdinteger(int64)产品BOM ID

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
PUT

/api/goods-process-route/process/update/{routeProcessId}

产品工艺路线管理 工序-更新工序 OperationId: updateProcess_1

调用方法

PUT /api/goods-process-route/process/update/{routeProcessId}

参数

名称位置必填类型说明示例
routeProcessIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$UpdateProcessDTO com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$UpdateProcessDTO

名称类型必填说明示例
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
requirementstring工序要求
notestring备注
resourceListRouteProcessDTO$ResourceDTO[]资源列表
bomLineListRouteProcessDTO$BomDTO[]BOM列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/workCenter/statusChange/{id}

加工中心管理 加工中心状态变更 OperationId: statusChange

调用方法

POST /api/workCenter/statusChange/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: WorkCenterDTO$StatusChangeDTO com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$StatusChangeDTO

名称类型必填说明示例
statusstring状态

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/workCenter/export

加工中心管理 导出加工中心 OperationId: exportWorkCenter

调用方法

POST /api/workCenter/export

参数

请求体

Content-Type: application/json 必填:类型: WorkCenterDTO$QueryDTO com.leadwaycloud.ppd.plug.poi.model.dto.ExportDTOCom.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$QueryDTO

名称类型必填说明示例
reportColumnListReportColumnDTO[]需导出参数集合
queryDTOWorkCenterDTO$QueryDTO
fileNamestring导出文件名

响应

状态码: 200 说明: OK

POST

/api/workCenter/calendar/timePeriod/batchSave

加工中心日历管理 添加/编辑加工中心日历-按时间段 OperationId: timePeriodBatchSave

调用方法

POST /api/workCenter/calendar/timePeriod/batchSave

参数

请求体

Content-Type: application/json 必填:类型: WorkCenterCalendarDTO$TimePeriodBatchDTO com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterCalendarDTO$TimePeriodBatchDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
workCenterIdinteger(int64)加工中心ID
startDatestring(date)开始日期
endDatestring(date)结束日期
shiftItemIdListinteger(int64)[]班次ID列表
dayOfWeekListstring[]周一到周日
exceptionboolean是否为例外日期
extensionInfostring扩展数据
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/workCenter/calendar/batchSave

加工中心日历管理 添加/编辑加工中心日历-全量 OperationId: batchSave

调用方法

POST /api/workCenter/calendar/batchSave

参数

请求体

Content-Type: application/json 必填:类型: WorkCenterCalendarDTO$BatchDTO com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterCalendarDTO$BatchDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
workCenterIdinteger(int64)加工中心ID
calendarItemsWorkCenterCalendarDTO$CalendarItemDTO[]日历列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/workCenter/add

加工中心管理 添加加工中心 OperationId: add

调用方法

POST /api/workCenter/add

参数

请求体

Content-Type: application/json 必填:类型: WorkCenterDTO$AddDTO com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$AddDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring编号
namestring名称
outsourceboolean是否为外协虚拟加工中心
departmentIdinteger(int64)所属车间/部门ID
leaderUserIdinteger(int64)负责人ID
descriptionstring描述
notestring备注
workCenterResourceListWorkCenterDTO$ResourceDTO[]资源列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/work/confirm/batch

工单管理 批量确认工单 OperationId: batchConfirm

调用方法

POST /api/work/confirm/batch

参数

请求体

Content-Type: application/json 必填:类型: integer(int64)[]

名称类型必填说明示例
(array)integer(int64)[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/work/add

工单管理 新增工单 OperationId: add_1

调用方法

POST /api/work/add

参数

请求体

Content-Type: application/json 必填:类型: WorkOrderAddDTO com.leadwaycloud.ppd.model.dto.workorder.WorkOrderAddDTO

名称类型必填说明示例
namestring名称
codestring编号
originIdinteger(int64)源订单ID
pickingTypestring工单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 】 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 】
originTypestring源订单类型 【 PROCESS_SCHEDULE : 工序计划 】
orderProcessIdinteger(int64)工序ID
qtynumber计划数量
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
notestring备注
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划结束日期
resourceListWorkResourceDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/work/addList

工单管理 批量新增工单 OperationId: addList

调用方法

POST /api/work/addList

参数

请求体

Content-Type: application/json 必填:类型: WorkOrderAddDTO[] com.leadwaycloud.ppd.model.dto.workorder.WorkOrderAddDTO

名称类型必填说明示例
(array)WorkOrderAddDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/work-order/start/add

开工单管理 添加开工 OperationId: add_2

调用方法

POST /api/work-order/start/add

参数

请求体

Content-Type: application/json 必填:类型: WorkOrderStartAddDTO com.leadwaycloud.ppd.model.dto.workorder.WorkOrderStartAddDTO

名称类型必填说明示例
workOrderIdinteger(int64)关联工单ID
codestring开工单编号
namestring名称
orderProcessIdinteger(int64)工序ID
qtynumber本次开工数量
statusstring开工状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
batchListWorkOrderBatchDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/work-order/report/add

报工单管理 完工申报(报工) OperationId: add_3

调用方法

POST /api/work-order/report/add

参数

请求体

Content-Type: application/json 必填:类型: WorkOrderReportAddDTO com.leadwaycloud.ppd.model.dto.workorder.WorkOrderReportAddDTO

名称类型必填说明示例
workOrderIdinteger(int64)关联工单ID
codestring报工单编号
namestring名称
orderProcessIdinteger(int64)工序ID
qtynumber(double)本次报工数量
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
doneTimestring(date-time)实际完工时间
batchListWorkOrderBatchDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/wip/query

在制品内核 查询在制品(全量) OperationId: queryWip

调用方法

POST /api/wip/query

参数

请求体

Content-Type: application/json 必填:类型: WipQueryDTO com.leadwaycloud.ppd.api.model.dto.wip.WipQueryDTO

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单id
productionOrderProcessIdinteger(int64)工序id
processNamestring工序名称(模糊查询 ppd_order_process.name)
orderCodestring生产订单编号(模糊)
orderNamestring生产订单名称(模糊)
goodsCodestring货号(模糊查询 stock_goods.code)
goodsNamestring货品名称(模糊查询 stock_goods.name)
goodsBarcodestring物料编号(模糊查询 stock_goods_barcode.barcode)
batchCodestring批次号(模糊)
statusInstring[]状态列表(桶级过滤)
productionTypestringPRODUCTION(生产工序),QUALITY(质检工序)
lastProcessboolean是否最后工序(true-仅查末工序;false-仅查非末工序;null-不过滤)
firstInTimeStartstring(date-time)首次转入时间-开始
firstInTimeEndstring(date-time)首次转入时间-结束
updateTimeStartstring(date-time)更新时间-开始
updateTimeEndstring(date-time)更新时间-结束
onlyPositiveQtyboolean仅查询正数量桶(默认 true)
pageinteger(int32)页码(从0开始,queryWipPage时必填)
sizeinteger(int32)每页条数(queryWipPage时必填,默认10)

响应

状态码: 200 说明: OK Content-Type: */* 类型: WipGroupVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.api.model.vo.wip.WipGroupVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipGroupVO[]返回数据
POST

/api/wip/page

在制品内核 查询在制品(分页) OperationId: queryWipPage

调用方法

POST /api/wip/page

参数

请求体

Content-Type: application/json 必填:类型: WipQueryDTO com.leadwaycloud.ppd.api.model.dto.wip.WipQueryDTO

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单id
productionOrderProcessIdinteger(int64)工序id
processNamestring工序名称(模糊查询 ppd_order_process.name)
orderCodestring生产订单编号(模糊)
orderNamestring生产订单名称(模糊)
goodsCodestring货号(模糊查询 stock_goods.code)
goodsNamestring货品名称(模糊查询 stock_goods.name)
goodsBarcodestring物料编号(模糊查询 stock_goods_barcode.barcode)
batchCodestring批次号(模糊)
statusInstring[]状态列表(桶级过滤)
productionTypestringPRODUCTION(生产工序),QUALITY(质检工序)
lastProcessboolean是否最后工序(true-仅查末工序;false-仅查非末工序;null-不过滤)
firstInTimeStartstring(date-time)首次转入时间-开始
firstInTimeEndstring(date-time)首次转入时间-结束
updateTimeStartstring(date-time)更新时间-开始
updateTimeEndstring(date-time)更新时间-结束
onlyPositiveQtyboolean仅查询正数量桶(默认 true)
pageinteger(int32)页码(从0开始,queryWipPage时必填)
sizeinteger(int32)每页条数(queryWipPage时必填,默认10)

响应

状态码: 200 说明: OK Content-Type: */* 类型: WipGroupVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.api.model.vo.wip.WipGroupVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipGroupVO
POST

/api/wip/applyWipEvents

在制品内核 应用 WIP 事件列表 OperationId: applyWipEvents

调用方法

POST /api/wip/applyWipEvents

参数

请求体

Content-Type: application/json 必填:类型: WipEventDTO[] com.leadwaycloud.ppd.api.model.dto.wip.WipEventDTO

名称类型必填说明示例
(array)WipEventDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/transfer-order/save

转序单管理 保存为草稿 OperationId: save

调用方法

POST /api/transfer-order/save

参数

请求体

Content-Type: application/json 必填:类型: TransferOrderSaveDTO com.leadwaycloud.ppd.model.dto.transfer.TransferOrderSaveDTO

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
fromOrderProcessIdinteger(int64)源工序ID
itemsTransferOrderItemDTO[]转序明细列表(目标工序+批次绑定)
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/transfer-order/save-and-confirm

转序单管理 保存并确认 OperationId: saveAndConfirm

调用方法

POST /api/transfer-order/save-and-confirm

参数

请求体

Content-Type: application/json 必填:类型: TransferOrderSaveDTO com.leadwaycloud.ppd.model.dto.transfer.TransferOrderSaveDTO

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
fromOrderProcessIdinteger(int64)源工序ID
itemsTransferOrderItemDTO[]转序明细列表(目标工序+批次绑定)
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/transfer-order/confirm/{id}

转序单管理 确认转序 OperationId: confirm_3

调用方法

POST /api/transfer-order/confirm/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/shift-handover-record/add

交接班管理 新增交接班 OperationId: add_4

调用方法

POST /api/shift-handover-record/add

参数

请求体

Content-Type: application/json 必填:类型: ShiftHandoverRecordAddDTO com.leadwaycloud.ppd.model.dto.shifthandover.ShiftHandoverRecordAddDTO

名称类型必填说明示例
workOrderIdinteger(int64)工单ID
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
notestring交班备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/routeTemplate/statusChange/{id}

工艺路线模板管理 工艺路线模板状态变更 OperationId: statusChange_1

调用方法

POST /api/routeTemplate/statusChange/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteTemplateDTO$StatusChangeDTO com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$StatusChangeDTO

名称类型必填说明示例
statusstring状态

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/routeTemplate/process/move/{routeTemplateId}

工艺路线模板管理 移动工序 OperationId: moveProcess

调用方法

POST /api/routeTemplate/process/move/{routeTemplateId}

参数

名称位置必填类型说明示例
routeTemplateIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$MoveProcessDTO com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$MoveProcessDTO

名称类型必填说明示例
processIdinteger(int64)要移动的工序ID
relationProcessIdinteger(int64)关联工序ID
relationTypestring关系类型(ROOT_FIRST-根节点-起/ROOT_LAST-根节点-尾/SERIAL-串行/PARALLEL-并行)

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/routeTemplate/process/add/{routeTemplateId}

工艺路线模板管理 添加工序 OperationId: addProcess

调用方法

POST /api/routeTemplate/process/add/{routeTemplateId}

参数

名称位置必填类型说明示例
routeTemplateIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$AddProcessDTO com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$AddProcessDTO

名称类型必填说明示例
relationProcessIdinteger(int64)关联工序ID
relationTypestring关系类型(ROOT_FIRST-根节点-起/ROOT_LAST-根节点-尾/SERIAL-串行/PARALLEL-并行)
processIdinteger(int64)关联的标准工序库ID
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
requirementstring工序要求
notestring备注
resourceListRouteProcessDTO$ResourceDTO[]资源列表
bomLineListRouteProcessDTO$BomDTO[]BOM列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/routeTemplate/copy/{routeTemplateId}

工艺路线模板管理 复制工艺路线模板 OperationId: copy

调用方法

POST /api/routeTemplate/copy/{routeTemplateId}

参数

名称位置必填类型说明示例
routeTemplateIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteTemplateDTO$CopyDTO com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$CopyDTO

名称类型必填说明示例
codestring新模板编码
namestring新模板名称

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/routeTemplate/add

工艺路线模板管理 添加工艺路线模板 OperationId: add_5

调用方法

POST /api/routeTemplate/add

参数

请求体

Content-Type: application/json 必填:类型: RouteTemplateDTO$AddDTO com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$AddDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring模板编码
namestring模板名称
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/production-order/terminated

生产订单管理 批量终止生产订单 OperationId: terminated

调用方法

POST /api/production-order/terminated

参数

请求体

Content-Type: application/json 必填:类型: ProductionOrderChangeDTO$TerminatedDTO com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderChangeDTO$TerminatedDTO

名称类型必填说明示例
idListinteger(int64)[]
reasonstring变更原因

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/production-order/status-change/{id}

生产订单管理 生产订单状态变更 OperationId: statusChange_2

调用方法

POST /api/production-order/status-change/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProductionOrderChangeDTO$StatusDTO com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderChangeDTO$StatusDTO

名称类型必填说明示例
statusstring目标状态
reasonstring变更原因

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/production-order/release

生产订单管理 批量发布生产订单 OperationId: release

调用方法

POST /api/production-order/release

参数

请求体

Content-Type: application/json 必填:类型: ProductionOrderReleaseDTO$OrderReleaseDTO[] com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderReleaseDTO$OrderReleaseDTO

名称类型必填说明示例
(array)ProductionOrderReleaseDTO$OrderReleaseDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/production-order/delete

生产订单管理 删除生产订单 OperationId: delete

调用方法

POST /api/production-order/delete

参数

请求体

Content-Type: application/json 必填:类型: integer(int64)[]

名称类型必填说明示例
(array)integer(int64)[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/production-order/add

生产订单管理 新增生产订单-手动创建 OperationId: add_6

调用方法

POST /api/production-order/add

参数

请求体

Content-Type: application/json 必填:类型: ProductionOrderAddDTO com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderAddDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring编号
namestring名称
typestring订单类型
originTypestring来源类型
originIdinteger(int64)来源ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
goodsProcessRouteIdinteger(int64)产品工艺路线ID
planQtyinteger(int32)计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/production-order-batch-log/addList

生产订单批次日志管理 批量新增批次日志 OperationId: addList_1

调用方法

POST /api/production-order-batch-log/addList

参数

请求体

Content-Type: application/json 必填:类型: ProductionOrderBatchLogAddDTO[] com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderBatchLogAddDTO

名称类型必填说明示例
(array)ProductionOrderBatchLogAddDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/process/statusChange/{id}

工序库管理 工序状态变更 OperationId: statusChange_3

调用方法

POST /api/process/statusChange/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProcessDTO$StatusChangeDTO com.leadwaycloud.ppd.model.dto.process.ProcessDTO$StatusChangeDTO

名称类型必填说明示例
statusstring状态

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/process/export

工序库管理 导出工序 OperationId: exportProcess

调用方法

POST /api/process/export

参数

请求体

Content-Type: application/json 必填:类型: ProcessDTO$QueryDTO com.leadwaycloud.ppd.plug.poi.model.dto.ExportDTOCom.leadwaycloud.ppd.model.dto.process.ProcessDTO$QueryDTO

名称类型必填说明示例
reportColumnListReportColumnDTO[]需导出参数集合
queryDTOProcessDTO$QueryDTO
fileNamestring导出文件名

响应

状态码: 200 说明: OK

POST

/api/process/add

工序库管理 添加工序 OperationId: add_7

调用方法

POST /api/process/add

参数

请求体

Content-Type: application/json 必填:类型: ProcessDTO$AddDTO com.leadwaycloud.ppd.model.dto.process.ProcessDTO$AddDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring工序编码
namestring工序名称
requirementstring工序要求
typestring工序类别
processTypestring加工类别
qualityPointboolean质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
resourceListProcessDTO$ResourceDTO[]资源列表
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/process-schedule/split/{id}

工序计划管理 拆分工序计划 OperationId: split

调用方法

POST /api/process-schedule/split/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$SplitDTO[] com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$SplitDTO

名称类型必填说明示例
(array)ProcessScheduleDTO$SplitDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/process-schedule/drag/{id}

工序计划管理 拖拽工序计划 OperationId: drag

调用方法

POST /api/process-schedule/drag/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$DragDTO com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$DragDTO

名称类型必填说明示例
workCenterIdinteger(int64)加工中心ID
planStartDatestring(date)计划开始日期
shiftItemIdinteger(int64)班次ID

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/process-schedule/batch-un-publish

工序计划管理 批量取消发布工序计划 OperationId: batchUnpublish

调用方法

POST /api/process-schedule/batch-un-publish

参数

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$BatchOperationDTO com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$BatchOperationDTO

名称类型必填说明示例
idListinteger(int64)[]工序计划ID列表
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/process-schedule/batch-publish

工序计划管理 批量发布工序计划 OperationId: batchPublish

调用方法

POST /api/process-schedule/batch-publish

参数

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$BatchOperationDTO com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$BatchOperationDTO

名称类型必填说明示例
idListinteger(int64)[]工序计划ID列表
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/process-schedule/batch-delete

工序计划管理 批量删除工序计划 OperationId: batchDelete

调用方法

POST /api/process-schedule/batch-delete

参数

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$BatchOperationDTO com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$BatchOperationDTO

名称类型必填说明示例
idListinteger(int64)[]工序计划ID列表
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/process-schedule/add

工序计划管理 创建工序计划 OperationId: add_8

调用方法

POST /api/process-schedule/add

参数

请求体

Content-Type: application/json 必填:类型: ProcessScheduleDTO$AddDTO com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$AddDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
orderIdinteger(int64)订单ID
orderProcessIdinteger(int64)订单工序ID
workCenterIdinteger(int64)目标加工中心ID
codestring编号
namestring名称
planQtynumber排程数量
planStartDatestring(date)开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleDTO$ScheduleNodeDTO[]班次节点列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/order-completion/add

完工单管理 新增完工单 OperationId: add_9

调用方法

POST /api/order-completion/add

参数

请求体

Content-Type: application/json 必填:类型: OrderCompletionAddDTO com.leadwaycloud.ppd.model.dto.ordercompletion.OrderCompletionAddDTO

名称类型必填说明示例
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)末道工序ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)商品条码ID
qtynumber(double)数量
statusstring状态 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】
notestring备注
batchListWorkOrderBatchDTO[]关联批次列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/goods-process-route/status-change/{goodsProcessRouteId}

产品工艺路线管理 路线-产品工艺路线状态变更 OperationId: statusChange_4

调用方法

POST /api/goods-process-route/status-change/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: GoodsProcessRouteDTO$StatusChangeDTO com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$StatusChangeDTO

名称类型必填说明示例
statusstring状态

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/goods-process-route/quote

产品工艺路线管理 路线-引用工艺路线模板 OperationId: quote

调用方法

POST /api/goods-process-route/quote

参数

请求体

Content-Type: application/json 必填:类型: GoodsProcessRouteDTO$QuoteDTO com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$QuoteDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
sourceRouteTemplateIdinteger(int64)源工艺路线模板ID
codestring编码
namestring名称
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/goods-process-route/process/move/{goodsProcessRouteId}

产品工艺路线管理 工序-移动工序 OperationId: moveProcess_1

调用方法

POST /api/goods-process-route/process/move/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$MoveProcessDTO com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$MoveProcessDTO

名称类型必填说明示例
processIdinteger(int64)要移动的工序ID
relationProcessIdinteger(int64)关联工序ID
relationTypestring关系类型(ROOT_FIRST-根节点-起/ROOT_LAST-根节点-尾/SERIAL-串行/PARALLEL-并行)

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/goods-process-route/process/band/bom/{goodsProcessRouteId}

产品工艺路线管理 工序-绑定BOM信息 OperationId: processBandBom

调用方法

POST /api/goods-process-route/process/band/bom/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$BatchBomDTO[] com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$BatchBomDTO

名称类型必填说明示例
(array)RouteProcessDTO$BatchBomDTO[]

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/goods-process-route/process/add/{goodsProcessRouteId}

产品工艺路线管理 工序-添加工序 OperationId: addProcess_1

调用方法

POST /api/goods-process-route/process/add/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

Content-Type: application/json 必填:类型: RouteProcessDTO$AddProcessDTO com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$AddProcessDTO

名称类型必填说明示例
relationProcessIdinteger(int64)关联工序ID
relationTypestring关系类型(ROOT_FIRST-根节点-起/ROOT_LAST-根节点-尾/SERIAL-串行/PARALLEL-并行)
processIdinteger(int64)关联的标准工序库ID
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
requirementstring工序要求
notestring备注
resourceListRouteProcessDTO$ResourceDTO[]资源列表
bomLineListRouteProcessDTO$BomDTO[]BOM列表

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/goods-process-route/enabled/{goodsProcessRouteId}

产品工艺路线管理 路线-产品工艺路线激活 OperationId: enabled

调用方法

POST /api/goods-process-route/enabled/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
POST

/api/goods-process-route/copy

产品工艺路线管理 路线-复制当前版本工艺路线 OperationId: copy_1

调用方法

POST /api/goods-process-route/copy

参数

请求体

Content-Type: application/json 必填:类型: GoodsProcessRouteDTO$CopyDTO com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$CopyDTO

名称类型必填说明示例
sourceGoodsProcessRouteIdinteger(int64)源产品工艺路线ID
codestring编码
namestring名称
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/goods-process-route/copy-to-goods

产品工艺路线管理 路线-复制其它现有产品工艺路线 OperationId: copyToGoods

调用方法

POST /api/goods-process-route/copy-to-goods

参数

请求体

Content-Type: application/json 必填:类型: GoodsProcessRouteDTO$CopyToGoodsDTO com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$CopyToGoodsDTO

名称类型必填说明示例
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
sourceGoodsProcessRouteIdinteger(int64)源产品工艺路线ID
codestring编码
namestring名称
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
POST

/api/goods-process-route/add

产品工艺路线管理 路线-新增产品工艺路线 OperationId: add_10

调用方法

POST /api/goods-process-route/add

参数

请求体

Content-Type: application/json 必填:类型: GoodsProcessRouteDTO$AddDTO com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$AddDTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
codestring编号
namestring名称
notestring备注

响应

状态码: 200 说明: OK Content-Type: */* 类型: Long com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据
GET

/api/workCenter/page

加工中心管理 加工中心分页 OperationId: page

调用方法

GET /api/workCenter/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
codequerystring编号
namequerystring名称
statusqueryWorkCenterEnum状态 【 DRAFT : ACTIVE : DEACTIVATE : DELETE : 】
departmentIdqueryinteger(int64)所属车间/部门ID
leaderUserIdqueryinteger(int64)负责人ID
workCenterIdListqueryinteger(int64)[]

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkCenterVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterVO$ListVO
GET

/api/workCenter/list

加工中心管理 加工中心列表 OperationId: list

调用方法

GET /api/workCenter/list

参数

名称位置必填类型说明示例
codequerystring编号
namequerystring名称
statusqueryWorkCenterEnum状态 【 DRAFT : ACTIVE : DEACTIVATE : DELETE : 】
departmentIdqueryinteger(int64)所属车间/部门ID
leaderUserIdqueryinteger(int64)负责人ID
workCenterIdListqueryinteger(int64)[]

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkCenterVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterVO$ListVO[]返回数据
GET

/api/workCenter/get/{id}

加工中心管理 加工中心详情 OperationId: get

调用方法

GET /api/workCenter/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)加工中心ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkCenterVO$DetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterVO$DetailVO
GET

/api/workCenter/calendar/list

加工中心日历管理 查询加工中心日历 OperationId: list_1

调用方法

GET /api/workCenter/calendar/list

参数

名称位置必填类型说明示例
workCenterIdqueryinteger(int64)加工中心ID
startDatequerystring(date)开始日期
endDatequerystring(date)结束日期
workCenterIdListqueryinteger(int64)[]

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkCenterCalendarVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterCalendarVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterCalendarVO[]返回数据
GET

/api/work/page

工单管理 工单分页列表 OperationId: page_1

调用方法

GET /api/work/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
namequerystring名称
codequerystring编号
pickingTypequerystring工单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 】
orderProcessCodequerystring工序编号
orderProcessIdqueryinteger(int64)工序ID
processScheduleCodequerystring工序计划编号
orderCodequerystring生产订单编号
goodsNamequerystring商品名称
goodsCodequerystring商品编号
goodsBarcodequerystring商品条码编号
userIdqueryinteger(int64)用户ID
originIdqueryinteger(int64)源订单ID
originTypequerystring源订单类型 【 PROCESS_SCHEDULE : 工序计划 】
departmentIdqueryinteger(int64)班组/部门ID
assetDeviceIdqueryinteger(int64)设备ID
supplierIdqueryinteger(int64)外协供应商ID
statusquerystring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createByqueryinteger(int64)创建人ID
planStartDatequerystring(date)计划开始日期
planEndDatequerystring(date)计划结束日期

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderListVO
GET

/api/work/get/{id}

工单管理 工单详情 OperationId: get_1

调用方法

GET /api/work/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)工单ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderDetailVO
GET

/api/work-order/start/page

开工单管理 开工单分页列表 OperationId: page_2

调用方法

GET /api/work-order/start/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
workOrderIdqueryinteger(int64)关联工单ID
workOrderIdListqueryinteger(int64)[]
statusquerystring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderStartListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderStartListVO
GET

/api/work-order/start/list

开工单管理 开工单列表 OperationId: list_2

调用方法

GET /api/work-order/start/list

参数

名称位置必填类型说明示例
workOrderIdqueryinteger(int64)关联工单ID
workOrderIdListqueryinteger(int64)[]
statusquerystring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderStartListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderStartListVO[]返回数据
GET

/api/work-order/start/get/{id}

开工单管理 开工单详情 OperationId: get_2

调用方法

GET /api/work-order/start/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)开工单ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderStartDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderStartDetailVO
GET

/api/work-order/report/page

报工单管理 报工单分页列表 OperationId: page_3

调用方法

GET /api/work-order/report/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
namequerystring名称
codequerystring编号
workOrderIdqueryinteger(int64)关联工单ID
workOrderIdListqueryinteger(int64)[]
statusquerystring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderReportListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderReportListVO
GET

/api/work-order/report/list

报工单管理 报工单列表 OperationId: list_3

调用方法

GET /api/work-order/report/list

参数

名称位置必填类型说明示例
namequerystring名称
codequerystring编号
workOrderIdqueryinteger(int64)关联工单ID
workOrderIdListqueryinteger(int64)[]
statusquerystring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderReportListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderReportListVO[]返回数据
GET

/api/work-order/report/get/{id}

报工单管理 报工单详情 OperationId: get_3

调用方法

GET /api/work-order/report/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)报工单ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WorkOrderReportDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderReportDetailVO
GET

/api/wip/ledger/page

在制品台账 在制品台账分页列表 OperationId: page_4

调用方法

GET /api/wip/ledger/page

参数

名称位置必填类型说明示例
productionOrderIdqueryinteger(int64)生产订单id
productionOrderProcessIdqueryinteger(int64)工序id
processNamequerystring工序名称(模糊查询 ppd_order_process.name)
orderCodequerystring生产订单编号(模糊)
orderNamequerystring生产订单名称(模糊)
goodsCodequerystring货号(模糊查询 stock_goods.code)
goodsNamequerystring货品名称(模糊查询 stock_goods.name)
goodsBarcodequerystring物料编号(模糊查询 stock_goods_barcode.barcode)
batchCodequerystring批次号(模糊)
statusInquerystring[]状态列表(桶级过滤)
productionTypequerystringPRODUCTION(生产工序),QUALITY(质检工序)
lastProcessqueryboolean是否最后工序(true-仅查末工序;false-仅查非末工序;null-不过滤)
firstInTimeStartquerystring(date-time)首次转入时间-开始
firstInTimeEndquerystring(date-time)首次转入时间-结束
updateTimeStartquerystring(date-time)更新时间-开始
updateTimeEndquerystring(date-time)更新时间-结束
onlyPositiveQtyqueryboolean仅查询正数量桶(默认 true)
pagequeryinteger(int32)页码(从0开始,queryWipPage时必填)
sizequeryinteger(int32)每页条数(queryWipPage时必填,默认10)
sortquerystring[]Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WipLedgerGroupVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerGroupVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipLedgerGroupVO
GET

/api/wip/ledger/detail

在制品台账 在制品台账详情 OperationId: detail

调用方法

GET /api/wip/ledger/detail

参数

名称位置必填类型说明示例
productionOrderIdqueryinteger(int64)生产订单ID
productionOrderProcessIdqueryinteger(int64)工序ID
statusquerystring在制品状态 【 NONE : PENDING : IN_PROCESS : PENDING_INSPECTION : INSPECTING : QUALIFIED_COMPLETED : UNQUALIFIED_COMPLETED : NCR_PROCESSING : SCRAPPED : CONCESSION_RELEASE : REWORK : REPAIR : TRANSFERRED_OUT : FINAL_TRANSFERRED_OUT : 】
batchCodequerystring批次号(模糊,仅过滤 details)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: WipLedgerDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipLedgerDetailVO
GET

/api/transfer-order/page

转序单管理 转序单分页列表 OperationId: page_5

调用方法

GET /api/transfer-order/page

参数

名称位置必填类型说明示例
codequerystring转序单号
productionOrderCodequerystring生产订单编号
productionOrderIdqueryinteger(int64)生产订单ID
transferTypequerystring转序类型 【 NORMAL : PARALLEL_SPLIT : MERGE : 】
statusquerystring状态 【 DRAFT : CONFIRMED : 】
fromProcessNamequerystring源工序名称
toProcessNamequerystring目标工序名称
batchCodequerystring批次号
goodsBarcodequerystring产品编号
goodsNamequerystring产品名称
createTimeStartquerystring(date-time)创建时间开始
createTimeEndquerystring(date-time)创建时间结束
pagequeryintegerZero-based page index (0..N)
sizequeryintegerThe size of the page to be returned
sortquerystring[]Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: TransferOrderListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataTransferOrderListVO
GET

/api/transfer-order/next-process

转序单管理 预览下工序 OperationId: previewNextProcess

不落库,仅返回下工序路由预览

调用方法

GET /api/transfer-order/next-process

参数

名称位置必填类型说明示例
productionOrderIdqueryinteger(int64)生产订单ID
fromOrderProcessIdqueryinteger(int64)源工序ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: NextProcessPreviewVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.transfer.NextProcessPreviewVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataNextProcessPreviewVO
GET

/api/transfer-order/get/{id}

转序单管理 转序单详情 OperationId: get_4

调用方法

GET /api/transfer-order/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: TransferOrderDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataTransferOrderDetailVO
GET

/api/transfer-order/batches

转序单管理 查询草稿转序单批次占用情况 OperationId: queryDraftOccupancy

查询指定订单工序的草稿转序单已占用的批次/序列号明细,用于创建转序单时前端比对可用量

调用方法

GET /api/transfer-order/batches

参数

名称位置必填类型说明示例
productionOrderIdqueryinteger(int64)生产订单ID
orderProcessIdqueryinteger(int64)工序ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: TransferDraftOccupancyVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferDraftOccupancyVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataTransferDraftOccupancyVO[]返回数据
GET

/api/shift-handover-record/page

交接班管理 交接班分页列表 OperationId: page_6

调用方法

GET /api/shift-handover-record/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
workOrderIdqueryinteger(int64)工单ID
workOrderCodequerystring工单编号
orderIdqueryinteger(int64)生产订单ID
orderCodequerystring生产订单编号
orderProcessIdqueryinteger(int64)工序ID
orderProcessCodequerystring工序编号
orderProcessNamequerystring工序名称
statusquerystring交接状态:PENDING/COMPLETED
handoverUserIdqueryinteger(int64)交班人ID
takeoverUserIdqueryinteger(int64)接班人ID
goodsNamequerystring商品名称
goodsCodequerystring商品编号
goodsBarcodequerystring商品条码编号
handoverStartTimequerystring交班开始时间(yyyy-MM-dd HH:mm:ss)
handoverEndTimequerystring交班结束时间(yyyy-MM-dd HH:mm:ss)
takeoverStartTimequerystring接班开始时间(yyyy-MM-dd HH:mm:ss)
takeoverEndTimequerystring接班结束时间(yyyy-MM-dd HH:mm:ss)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ShiftHandoverRecordListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataShiftHandoverRecordListVO
GET

/api/shift-handover-record/list

交接班管理 交接班列表 OperationId: list_4

调用方法

GET /api/shift-handover-record/list

参数

名称位置必填类型说明示例
workOrderIdqueryinteger(int64)工单ID
workOrderCodequerystring工单编号
orderIdqueryinteger(int64)生产订单ID
orderCodequerystring生产订单编号
orderProcessIdqueryinteger(int64)工序ID
orderProcessCodequerystring工序编号
orderProcessNamequerystring工序名称
statusquerystring交接状态:PENDING/COMPLETED
handoverUserIdqueryinteger(int64)交班人ID
takeoverUserIdqueryinteger(int64)接班人ID
goodsNamequerystring商品名称
goodsCodequerystring商品编号
goodsBarcodequerystring商品条码编号
handoverStartTimequerystring交班开始时间(yyyy-MM-dd HH:mm:ss)
handoverEndTimequerystring交班结束时间(yyyy-MM-dd HH:mm:ss)
takeoverStartTimequerystring接班开始时间(yyyy-MM-dd HH:mm:ss)
takeoverEndTimequerystring接班结束时间(yyyy-MM-dd HH:mm:ss)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ShiftHandoverRecordListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataShiftHandoverRecordListVO[]返回数据
GET

/api/shift-handover-record/get/{id}

交接班管理 交接班详情 OperationId: get_5

调用方法

GET /api/shift-handover-record/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)交接班记录ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ShiftHandoverRecordDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataShiftHandoverRecordDetailVO
GET

/api/routeTemplate/process/list/{id}

工艺路线模板管理 获取工序树 OperationId: getProcessList

调用方法

GET /api/routeTemplate/process/list/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)工艺路线模板ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: RouteTemplateVO$ProcessVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ProcessVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ProcessVO[]返回数据
GET

/api/routeTemplate/page

工艺路线模板管理 工艺路线模板分页 OperationId: page_7

调用方法

GET /api/routeTemplate/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
codequerystring模板编码
namequerystring模板名称
statusquerystring状态 【 DRAFT : ACTIVE : DEACTIVATE : DELETE : 】
notequerystring备注

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: RouteTemplateVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ListVO
GET

/api/routeTemplate/list

工艺路线模板管理 工艺路线模板列表 OperationId: list_5

调用方法

GET /api/routeTemplate/list

参数

名称位置必填类型说明示例
codequerystring模板编码
namequerystring模板名称
statusquerystring状态 【 DRAFT : ACTIVE : DEACTIVATE : DELETE : 】
notequerystring备注

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: RouteTemplateVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ListVO[]返回数据
GET

/api/routeTemplate/get/{id}

工艺路线模板管理 工艺路线模板详情 OperationId: get_6

调用方法

GET /api/routeTemplate/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)工艺路线模板ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: RouteTemplateVO$DetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$DetailVO
GET

/api/production-order/page

生产订单管理 分页查询生产订单 OperationId: page_8

调用方法

GET /api/production-order/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)
sizequeryinteger(int32)
codequerystring编号
namequerystring名称
statusquerystring状态 【 DRAFT : ASSIGNED : IN_PROCESS : ON_HOLD : COMPLETED : TERMINATED : DELETE : 】
typequerystring订单类型 【 GOODS : OTHER : 】
originTypequerystring来源类型 【 MANUAL : MRP : 】
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
batchCodequerystring批次号(精确匹配)
goodsBarcodequerystring商品条码编号
startPlanDatequerystring(date)计划日期-起(判断订单时间段与查询范围有交集)
endPlanDatequerystring(date)计划日期-止(判断订单时间段与查询范围有交集)
startCreateTimequerystring(date-time)创建时间-起
endCreateTimequerystring(date-time)创建时间-止
productionOrderIdListqueryinteger(int64)[]

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$ListVO
GET

/api/production-order/list

生产订单管理 列表查询生产订单 OperationId: list_6

调用方法

GET /api/production-order/list

参数

名称位置必填类型说明示例
codequerystring编号
namequerystring名称
statusquerystring状态 【 DRAFT : ASSIGNED : IN_PROCESS : ON_HOLD : COMPLETED : TERMINATED : DELETE : 】
typequerystring订单类型 【 GOODS : OTHER : 】
originTypequerystring来源类型 【 MANUAL : MRP : 】
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
batchCodequerystring批次号(精确匹配)
goodsBarcodequerystring商品条码编号
startPlanDatequerystring(date)计划日期-起(判断订单时间段与查询范围有交集)
endPlanDatequerystring(date)计划日期-止(判断订单时间段与查询范围有交集)
startCreateTimequerystring(date-time)创建时间-起
endCreateTimequerystring(date-time)创建时间-止
productionOrderIdListqueryinteger(int64)[]

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$ListVO[]返回数据
GET

/api/production-order/get/{id}

生产订单管理 获取生产订单详情 OperationId: get_7

调用方法

GET /api/production-order/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderVO$DetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$DetailVO
GET

/api/production-order/attribute/process/next-execution/{productionOrderId}

生产订单管理 属性-获取后继工序 OperationId: getNextExecutionProcess

调用方法

GET /api/production-order/attribute/process/next-execution/{productionOrderId}

参数

名称位置必填类型说明示例
productionOrderIdpathinteger(int64)
orderProcessIdqueryinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderAttributeVO$ProcessListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$ProcessListVO[]返回数据
GET

/api/production-order/attribute/process/list/{id}

生产订单管理 属性-获取订单工序列表 OperationId: getProcessList_1

调用方法

GET /api/production-order/attribute/process/list/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderAttributeVO$ProcessListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$ProcessListVO[]返回数据
GET

/api/production-order/attribute/process/get/{id}

生产订单管理 属性-获取工序 OperationId: getOrderProcess

调用方法

GET /api/production-order/attribute/process/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderAttributeVO$ProcessBriefVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessBriefVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$ProcessBriefVO
GET

/api/production-order/attribute/bom-tree/{id}

生产订单管理 属性-获取订单BOM OperationId: getBomTree

调用方法

GET /api/production-order/attribute/bom-tree/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderAttributeVO$OrderBomVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$OrderBomVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$OrderBomVO
GET

/api/production-order/attribute/batch/list/{id}

生产订单管理 属性-获取订单批次列表 OperationId: getBatchList

调用方法

GET /api/production-order/attribute/batch/list/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderVO$BatchVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$BatchVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$BatchVO[]返回数据
GET

/api/production-order-batch-log/page

生产订单批次日志管理 批次日志分页列表 OperationId: page_9

调用方法

GET /api/production-order-batch-log/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
orderIdqueryinteger(int64)生产订单ID
orderProcessIdqueryinteger(int64)工序ID
originIdqueryinteger(int64)源订单ID
originIdListqueryinteger(int64)源订单ID
originTypequerystring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdqueryinteger(int64)批次ID
serialIdqueryinteger(int64)节号ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderBatchLogListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderBatchLogListVO
GET

/api/production-order-batch-log/list

生产订单批次日志管理 批次日志列表 OperationId: list_7

调用方法

GET /api/production-order-batch-log/list

参数

名称位置必填类型说明示例
orderIdqueryinteger(int64)生产订单ID
orderProcessIdqueryinteger(int64)工序ID
originIdqueryinteger(int64)源订单ID
originIdListqueryinteger(int64)源订单ID
originTypequerystring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdqueryinteger(int64)批次ID
serialIdqueryinteger(int64)节号ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderBatchLogListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderBatchLogListVO[]返回数据
GET

/api/production-order-batch-log/get

生产订单批次日志管理 查询批次日志详情信息 OperationId: get_8

调用方法

GET /api/production-order-batch-log/get

参数

名称位置必填类型说明示例
idqueryinteger(int64)ID0

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProductionOrderBatchLogDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderBatchLogDetailVO
GET

/api/process/page

工序库管理 工序分页 OperationId: page_10

调用方法

GET /api/process/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
codequerystring工序编码
namequerystring工序名称
keywordquerystring工序编码or工序名称
statusquerystring状态 【 DRAFT : ACTIVE : DEACTIVATE : DELETE : 】
typequerystring工序类别 【 PRODUCTION : QUALITY : 】
processTypequerystring加工类别 【 HOMEMADE : OUTSOURCE : HOMEMADE_OUTSOURCE : 】
responsibleDepartmentIdqueryinteger(int64)责任部门ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessVO$ListVO
GET

/api/process/list

工序库管理 工序列表 OperationId: list_8

调用方法

GET /api/process/list

参数

名称位置必填类型说明示例
codequerystring工序编码
namequerystring工序名称
keywordquerystring工序编码or工序名称
statusquerystring状态 【 DRAFT : ACTIVE : DEACTIVATE : DELETE : 】
typequerystring工序类别 【 PRODUCTION : QUALITY : 】
processTypequerystring加工类别 【 HOMEMADE : OUTSOURCE : HOMEMADE_OUTSOURCE : 】
responsibleDepartmentIdqueryinteger(int64)责任部门ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessVO$ListVO[]返回数据
GET

/api/process/get/{id}

工序库管理 工序详情 OperationId: get_9

调用方法

GET /api/process/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)工序ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessVO$DetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessVO$DetailVO
GET

/api/process-schedule/pending/page

工序计划管理 待排产工序 OperationId: pendingPage

调用方法

GET /api/process-schedule/pending/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
goodsBarcodequerystring商品条码编号
orderCodequerystring订单号
batchCodequerystring批次号
processNamequerystring工序名称
workCenterIdListqueryinteger(int64)[]

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessScheduleVO$PendingTaskListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$PendingTaskListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$PendingTaskListVO
GET

/api/process-schedule/page

工序计划管理 工序计划分页 OperationId: page_11

调用方法

GET /api/process-schedule/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
statusquerystring状态 【 DRAFT : ASSIGNED : DELETE : 】
workPendingqueryboolean工单待排(状态传递为ASSIGNED时生效)
workCenterOutsourcequeryboolean加工中心-是否为外协虚拟加工中心
workCenterIdListqueryinteger(int64)[]
orderProcessIdListqueryinteger(int64)[]
planEndDatequerystring(date)计划日期起
planStartDatequerystring(date)计划日期止
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
goodsBarcodequerystring商品条码编号
orderCodequerystring订单号
batchCodequerystring批次号
processNamequerystring工序名称
processCodequerystring工序编号
codequerystring编号

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessScheduleVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$ListVO
GET

/api/process-schedule/list

工序计划管理 工序计划列表 OperationId: list_9

调用方法

GET /api/process-schedule/list

参数

名称位置必填类型说明示例
statusquerystring状态 【 DRAFT : ASSIGNED : DELETE : 】
workPendingqueryboolean工单待排(状态传递为ASSIGNED时生效)
workCenterOutsourcequeryboolean加工中心-是否为外协虚拟加工中心
workCenterIdListqueryinteger(int64)[]
orderProcessIdListqueryinteger(int64)[]
planEndDatequerystring(date)计划日期起
planStartDatequerystring(date)计划日期止
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
goodsBarcodequerystring商品条码编号
orderCodequerystring订单号
batchCodequerystring批次号
processNamequerystring工序名称
processCodequerystring工序编号
codequerystring编号

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessScheduleVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$ListVO[]返回数据
GET

/api/process-schedule/get/{id}

工序计划管理 工序计划详情 OperationId: get_10

调用方法

GET /api/process-schedule/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)工序计划ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessScheduleVO$DetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$DetailVO
GET

/api/process-schedule/gantt

工序计划管理 甘特图 OperationId: gantt

调用方法

GET /api/process-schedule/gantt

参数

名称位置必填类型说明示例
workCenterIdListqueryinteger(int64)[]
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
goodsBarcodequerystring商品条码编号
statusquerystring状态 【 DRAFT : ASSIGNED : DELETE : 】
planStartDatequerystring(date)甘特图开始日期
planEndDatequerystring(date)甘特图结束日期

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ProcessScheduleVO$GanttScheduleVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttScheduleVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$GanttScheduleVO
GET

/api/order-completion/page

完工单管理 完工单分页列表 OperationId: page_12

调用方法

GET /api/order-completion/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码1
sizequeryinteger(int32)查询页行数20
codequerystring完工单号(模糊搜索)
orderCodequerystring生产订单编号(模糊搜索)
goodsCodequerystring物料编号(模糊搜索)
goodsBarcodequerystring商品条码编号
batchCodequerystring批次号(模糊搜索)
statusquerystring状态筛选:DRAFT=草稿, COMPLETED=已完成, DELETE=已删除 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】
startCreateTimequerystring(date-time)创建时间-起
endCreateTimequerystring(date-time)创建时间-止
createdByqueryinteger(int64)创建人ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: OrderCompletionListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataOrderCompletionListVO
GET

/api/order-completion/get/{id}

完工单管理 完工单详情 OperationId: get_11

调用方法

GET /api/order-completion/get/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)完工单ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: OrderCompletionDetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataOrderCompletionDetailVO
GET

/api/monitor/version

服务监控管理 获取服务版本信息 OperationId: version

调用方法

GET /api/monitor/version

参数

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
GET

/api/monitor/health

服务监控管理 心跳检查 OperationId: health

调用方法

GET /api/monitor/health

参数

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
GET

/api/goods-process-route/process/list/{goodsProcessRouteId}

产品工艺路线管理 工序-获取工序树 OperationId: getProcessList_2

调用方法

GET /api/goods-process-route/process/list/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)工艺路线ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: RouteTemplateVO$ProcessVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ProcessVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ProcessVO[]返回数据
GET

/api/goods-process-route/page

产品工艺路线管理 路线-产品工艺路线分页 OperationId: page_13

调用方法

GET /api/goods-process-route/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
codequerystring编号
namequerystring名称
statusquerystring状态 【 DRAFT : ACTIVE : ENABLED : DEACTIVATE : DELETE : 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: GoodsProcessRouteVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$ListVO
GET

/api/goods-process-route/list

产品工艺路线管理 路线-产品工艺路线列表 OperationId: list_10

调用方法

GET /api/goods-process-route/list

参数

名称位置必填类型说明示例
goodsIdqueryinteger(int64)商品ID
goodsBarcodeIdqueryinteger(int64)产品条码ID
codequerystring编号
namequerystring名称
statusquerystring状态 【 DRAFT : ACTIVE : ENABLED : DEACTIVATE : DELETE : 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: GoodsProcessRouteVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$ListVO[]返回数据
GET

/api/goods-process-route/goods-barcode/page

产品工艺路线管理 商品-产品信息分页 OperationId: page_14

调用方法

GET /api/goods-process-route/goods-barcode/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
codequerystring编号
namequerystring名称
typequerystring类型 【 PREPARE : PRODUCT : 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: GoodsProcessRouteVO$GoodsListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$GoodsListVO
GET

/api/goods-process-route/goods-barcode/list

产品工艺路线管理 商品-产品信息列表 OperationId: list_11

调用方法

GET /api/goods-process-route/goods-barcode/list

参数

名称位置必填类型说明示例
codequerystring编号
namequerystring名称
typequerystring类型 【 PREPARE : PRODUCT : 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: GoodsProcessRouteVO$GoodsListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$GoodsListVO[]返回数据
GET

/api/goods-process-route/get/{goodsProcessRouteId}

产品工艺路线管理 路线-产品工艺路线详情 OperationId: get_12

调用方法

GET /api/goods-process-route/get/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)产品工艺路线ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: GoodsProcessRouteVO$DetailVO com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$DetailVO
GET

/api/execute-change/page

生产执行变更记录管理 分页 OperationId: page_15

调用方法

GET /api/execute-change/page

参数

名称位置必填类型说明示例
pagequeryinteger(int32)查询页码0
sizequeryinteger(int32)查询页行数10
originIdqueryinteger(int64)源ID
originTypequerystring源类型 【 GOODS_BARCODE : PRODUCTION_ORDER : PROCESS_SCHEDULE : NORMAL_DISPATCH : OUTSOURCE_DISPATCH : START_WORK_ORDER : REPORT_WORK_ORDER : 】
originLineIdqueryinteger(int64)源明细ID
originTypeSubquerystring源明细类型 【 GOODS_PROCESS_ROUTE : PRODUCTION_ORDER_STATUS : PROCESS_SCHEDULE_STATUS : 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ExecuteChangeLogVO$ListVO com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.executechange.ExecuteChangeLogVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataExecuteChangeLogVO$ListVO
GET

/api/execute-change/list

生产执行变更记录管理 列表 OperationId: list_12

调用方法

GET /api/execute-change/list

参数

名称位置必填类型说明示例
originIdqueryinteger(int64)源ID
originTypequerystring源类型 【 GOODS_BARCODE : PRODUCTION_ORDER : PROCESS_SCHEDULE : NORMAL_DISPATCH : OUTSOURCE_DISPATCH : START_WORK_ORDER : REPORT_WORK_ORDER : 】
originLineIdqueryinteger(int64)源明细ID
originTypeSubquerystring源明细类型 【 GOODS_PROCESS_ROUTE : PRODUCTION_ORDER_STATUS : PROCESS_SCHEDULE_STATUS : 】

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: ExecuteChangeLogVO$ListVO com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.executechange.ExecuteChangeLogVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataExecuteChangeLogVO$ListVO[]返回数据
DELETE

/api/workCenter/delete/{id}

加工中心管理 删除加工中心 OperationId: delete_1

调用方法

DELETE /api/workCenter/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/work/delete/{id}

工单管理 删除工单 OperationId: delete_2

调用方法

DELETE /api/work/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/transfer-order/delete/{id}

转序单管理 删除转序单 OperationId: delete_3

调用方法

DELETE /api/transfer-order/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/shift-handover-record/delete/{id}

交接班管理 删除交接班 OperationId: delete_4

调用方法

DELETE /api/shift-handover-record/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)交接班记录ID

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Boolean com.leadwaycloud.core.model.RJava.lang.Boolean

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
databoolean返回数据
DELETE

/api/routeTemplate/process/delete/{routeProcessId}

工艺路线模板管理 删除工序 OperationId: deleteProcess

调用方法

DELETE /api/routeTemplate/process/delete/{routeProcessId}

参数

名称位置必填类型说明示例
routeProcessIdpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/routeTemplate/delete/{id}

工艺路线模板管理 删除工艺路线模板 OperationId: delete_5

调用方法

DELETE /api/routeTemplate/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/process/delete/{id}

工序库管理 删除工序 OperationId: delete_6

调用方法

DELETE /api/process/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/order-completion/delete/{id}

完工单管理 删除完工单 OperationId: delete_7

调用方法

DELETE /api/order-completion/delete/{id}

参数

名称位置必填类型说明示例
idpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Void com.leadwaycloud.core.model.RJava.lang.Void

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/goods-process-route/process/delete/{routeProcessId}

产品工艺路线管理 工序-删除工序 OperationId: deleteProcess_1

调用方法

DELETE /api/goods-process-route/process/delete/{routeProcessId}

参数

名称位置必填类型说明示例
routeProcessIdpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据
DELETE

/api/goods-process-route/delete/{goodsProcessRouteId}

产品工艺路线管理 路线-删除产品工艺路线 OperationId: delete_8

调用方法

DELETE /api/goods-process-route/delete/{goodsProcessRouteId}

参数

名称位置必填类型说明示例
goodsProcessRouteIdpathinteger(int64)

请求体

响应

状态码: 200 说明: OK Content-Type: */* 类型: Object com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据

模型定义

com.leadwaycloud.core.model.RJava.lang.Object

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$ResourceDTO

加工中心资源DTO

名称类型必填说明示例
businessTypestring资源类型
businessIdinteger(int64)资源ID
primaryboolean是否是主资源
notestring备注

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$UpdateDTO

更新加工中心DTO

名称类型必填说明示例
codestring编号
namestring名称
outsourceboolean是否为外协虚拟加工中心
departmentIdinteger(int64)所属车间/部门ID
leaderUserIdinteger(int64)负责人ID
descriptionstring描述
notestring备注
workCenterResourceListWorkCenterDTO$ResourceDTO[]资源列表

com.leadwaycloud.ppd.model.dto.workorder.WorkOrderBatchDTO

工单批次DTO

名称类型必填说明示例
batchIdinteger(int64)批次ID
serialIdinteger(int64)节号ID
qtynumber(double)数量
statusstring状态(在制品的状态)

com.leadwaycloud.ppd.model.dto.workorder.WorkOrderUpdateDTO

编辑工单DTO

名称类型必填说明示例
namestring名称
codestring编号
qtynumber(double)数量
orderProcessIdinteger(int64)工序ID
notestring备注
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划结束日期
resourceListWorkResourceDTO[]
delResourceIdListinteger(int64)[]
batchListWorkOrderBatchDTO[]

com.leadwaycloud.ppd.model.dto.workorder.WorkResourceDTO

工单资源DTO

名称类型必填说明示例
idinteger(int64)ID
workCenterIdinteger(int64)加工中心ID
businessIdinteger(int64)业务ID
businessTypestring业务类型 【 DEVICE : 设备 DEPARTMENT : 部门/班组 USER : 用户 SUPPLIER : 供应商 】 【 DEVICE : 设备 DEPARTMENT : 部门/班组 USER : 用户 SUPPLIER : 供应商 】
primaryboolean是否主资源

com.leadwaycloud.ppd.model.dto.workorder.WorkOrderReasonDTO

工单操作原因DTO

名称类型必填说明示例
notestring操作原因

com.leadwaycloud.ppd.model.dto.transfer.TransferOrderItemDTO

转序单明细项DTO

名称类型必填说明示例
toOrderProcessIdinteger(int64)目标工序ID
batchIdinteger(int64)批次ID
serialIdinteger(int64)序列号ID
statusstring源WIP状态(QUALIFIED_COMPLETED/CONCESSION_RELEASE)
qtynumber转序数量

com.leadwaycloud.ppd.model.dto.transfer.TransferOrderUpdateDTO

转序单更新DTO

名称类型必填说明示例
itemsTransferOrderItemDTO[]转序明细列表(仅改批次/数量)
notestring备注

com.leadwaycloud.ppd.model.dto.shifthandover.ShiftHandoverRecordUpdateDTO

交接班记录编辑DTO

名称类型必填说明示例
notestring交班备注

com.leadwaycloud.core.model.RJava.lang.Boolean

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
databoolean返回数据

com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$UpdateDTO

更新工艺路线模板DTO

名称类型必填说明示例
codestring模板编码
namestring模板名称
notestring备注

com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$BomDTO

工序BomDTO

名称类型必填说明示例
goodsBomLineIdinteger(int64)产品BOM-LINE ID
qtynumber数量
lossRatenumber损耗率
notestring备注

com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$ResourceDTO

工序资源DTO

名称类型必填说明示例
businessIdinteger(int64)业务ID(加工中心ID)
businessTypestring业务类型
notestring备注
primaryboolean是否是主资源

com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$UpdateProcessDTO

更新工序DTO

名称类型必填说明示例
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
requirementstring工序要求
notestring备注
resourceListRouteProcessDTO$ResourceDTO[]资源列表
bomLineListRouteProcessDTO$BomDTO[]BOM列表

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderUpdateDTO

更新生产订单DTO

名称类型必填说明示例
namestring名称
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
goodsProcessRouteIdinteger(int64)产品工艺路线ID
planQtynumber计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
notestring备注

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderBatchLogUpdateDTO

生产订单批次日志-编辑DTO

名称类型必填说明示例
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdinteger(int64)批次ID
serialIdinteger(int64)节号ID
qtyinteger(int64)数量
statusstring状态

com.leadwaycloud.ppd.model.dto.process.ProcessDTO$ResourceDTO

工序资源DTO

名称类型必填说明示例
businessIdinteger(int64)业务ID(加工中心ID)
businessTypestring业务类型
notestring备注
primaryboolean是否是主资源

com.leadwaycloud.ppd.model.dto.process.ProcessDTO$UpdateDTO

更新工序DTO

名称类型必填说明示例
codestring工序编码
namestring工序名称
requirementstring工序要求
typestring工序类别
processTypestring加工类别
qualityPointboolean质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
resourceListProcessDTO$ResourceDTO[]资源列表
notestring备注

com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$ScheduleNodeDTO

班次节点DTO

名称类型必填说明示例
datestring(date)日期
shiftItemIdinteger(int64)班次ID

com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$UpdateDTO

编辑/拉伸调整工序计划DTO

名称类型必填说明示例
namestring名称
planQtynumber计划数量
workCenterIdinteger(int64)加工中心ID
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleDTO$ScheduleNodeDTO[]班次节点列表

com.leadwaycloud.ppd.model.dto.ordercompletion.OrderCompletionUpdateDTO

完工单编辑DTO

名称类型必填说明示例
notestring备注
qtynumber(double)备注
batchListWorkOrderBatchDTO[]批次/节号明细列表

com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$UpdateDTO

更新产品工艺路线DTO

名称类型必填说明示例
codestring编号
namestring名称
notestring备注
goodsBomIdinteger(int64)产品BOM ID

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$StatusChangeDTO

状态变更DTO

名称类型必填说明示例
statusstring状态

com.leadwaycloud.ppd.common.enums.WorkCenterEnum

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$QueryDTO

查询加工中心DTO

名称类型必填说明示例
codestring编号
namestring名称
statusWorkCenterEnum
departmentIdinteger(int64)所属车间/部门ID
leaderUserIdinteger(int64)负责人ID
workCenterIdListinteger(int64)[]加工中心ID列表

com.leadwaycloud.ppd.plug.poi.model.dto.ExportDTOCom.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$QueryDTO

公共导出模型

名称类型必填说明示例
reportColumnListReportColumnDTO[]需导出参数集合
queryDTOWorkCenterDTO$QueryDTO
fileNamestring导出文件名

com.leadwaycloud.ppd.plug.poi.model.dto.ReportColumnDTO

选择导出列模型

名称类型必填说明示例
keystring导出列名称
namestring导出列展示名称
widthnumber(double)列宽
heightnumber(double)列高
typeinteger(int32)导出类型 1 是文本 2 是图片,3 是函数,10 是数字 默认是文本
exportImageTypeinteger(int32)图片的类型,1是文件,2是数据库
columnListReportColumnDTO[]子集

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterCalendarDTO$TimePeriodBatchDTO

按时间段 批量添加/编辑加工中心日历DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
workCenterIdinteger(int64)加工中心ID
startDatestring(date)开始日期
endDatestring(date)结束日期
shiftItemIdListinteger(int64)[]班次ID列表
dayOfWeekListstring[]周一到周日
exceptionboolean是否为例外日期
extensionInfostring扩展数据
notestring备注

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterCalendarDTO$BatchDTO

批量添加/编辑加工中心日历DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
workCenterIdinteger(int64)加工中心ID
calendarItemsWorkCenterCalendarDTO$CalendarItemDTO[]日历列表

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterCalendarDTO$CalendarItemDTO

加工中心日历项DTO

名称类型必填说明示例
datestring(date)日期
shiftItemIdinteger(int64)班次ID
exceptionboolean是否为例外日期
extensionInfostring扩展数据
notestring备注

com.leadwaycloud.ppd.model.dto.workcenter.WorkCenterDTO$AddDTO

添加加工中心DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring编号
namestring名称
outsourceboolean是否为外协虚拟加工中心
departmentIdinteger(int64)所属车间/部门ID
leaderUserIdinteger(int64)负责人ID
descriptionstring描述
notestring备注
workCenterResourceListWorkCenterDTO$ResourceDTO[]资源列表

com.leadwaycloud.core.model.RJava.lang.Long

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
datainteger(int64)返回数据

com.leadwaycloud.ppd.model.dto.workorder.WorkOrderAddDTO

新增工单DTO

名称类型必填说明示例
namestring名称
codestring编号
originIdinteger(int64)源订单ID
pickingTypestring工单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 】 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 】
originTypestring源订单类型 【 PROCESS_SCHEDULE : 工序计划 】
orderProcessIdinteger(int64)工序ID
qtynumber计划数量
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
notestring备注
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划结束日期
resourceListWorkResourceDTO[]

com.leadwaycloud.ppd.model.dto.workorder.WorkOrderStartAddDTO

开工登记DTO

名称类型必填说明示例
workOrderIdinteger(int64)关联工单ID
codestring开工单编号
namestring名称
orderProcessIdinteger(int64)工序ID
qtynumber本次开工数量
statusstring开工状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
batchListWorkOrderBatchDTO[]

com.leadwaycloud.ppd.model.dto.workorder.WorkOrderReportAddDTO

报工单新增DTO

名称类型必填说明示例
workOrderIdinteger(int64)关联工单ID
codestring报工单编号
namestring名称
orderProcessIdinteger(int64)工序ID
qtynumber(double)本次报工数量
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
doneTimestring(date-time)实际完工时间
batchListWorkOrderBatchDTO[]

com.leadwaycloud.ppd.api.model.dto.wip.WipQueryDTO

在制品查询条件

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单id
productionOrderProcessIdinteger(int64)工序id
processNamestring工序名称(模糊查询 ppd_order_process.name)
orderCodestring生产订单编号(模糊)
orderNamestring生产订单名称(模糊)
goodsCodestring货号(模糊查询 stock_goods.code)
goodsNamestring货品名称(模糊查询 stock_goods.name)
goodsBarcodestring物料编号(模糊查询 stock_goods_barcode.barcode)
batchCodestring批次号(模糊)
statusInstring[]状态列表(桶级过滤)
productionTypestringPRODUCTION(生产工序),QUALITY(质检工序)
lastProcessboolean是否最后工序(true-仅查末工序;false-仅查非末工序;null-不过滤)
firstInTimeStartstring(date-time)首次转入时间-开始
firstInTimeEndstring(date-time)首次转入时间-结束
updateTimeStartstring(date-time)更新时间-开始
updateTimeEndstring(date-time)更新时间-结束
onlyPositiveQtyboolean仅查询正数量桶(默认 true)
pageinteger(int32)页码(从0开始,queryWipPage时必填)
sizeinteger(int32)每页条数(queryWipPage时必填,默认10)

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.api.model.vo.wip.WipGroupVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipGroupVO[]返回数据

com.leadwaycloud.ppd.api.model.vo.wip.WipDetailVO

在制品桶级明细

名称类型必填说明示例
batchIdinteger(int64)批次ID
batchCodestring批次号
serialIdinteger(int64)序列号ID
serialNostring序列号
statusstring当前状态
qtynumber当前结存数量
firstInTimestring(date-time)首次转入时间
lastInTimestring(date-time)最近转入时间
firstOutTimestring(date-time)首次转出时间
lastOutTimestring(date-time)最近转出时间
updateTimestring(date-time)更新时间

com.leadwaycloud.ppd.api.model.vo.wip.WipGroupVO

在制品聚合结果(订单+工序维度)

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
orderNamestring生产订单名称
productionOrderProcessIdinteger(int64)工序ID
processCodestring工序编号
processNamestring工序名称
isLastProcessboolean是否最后工序
productionTypestringPRODUCTION(生产工序),QUALITY(质检工序)
goodsIdinteger(int64)货品ID
goodsCodestring货号
goodsNamestring货品名称
goodsBarcodeIdinteger(int64)产品条码ID
goodsBarcodestring产品条码
totalQtynumber汇总数量(所有桶的 qty 之和)
detailsWipDetailVO[]桶级明细列表

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.api.model.vo.wip.WipGroupVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListWipGroupVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.api.model.vo.wip.WipGroupVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipGroupVO

com.leadwaycloud.ppd.api.model.dto.wip.WipEventDTO

在制品事件(单工序原子事件)

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
productionOrderProcessIdinteger(int64)工序ID(本事件影响的工序)
fromStatusstring源状态(无源桶事件时为空)
toStatusstring目标状态
eventTypestring业务事件类型
originTypestring来源单据类型
originIdinteger(int64)来源单据头ID
itemsWipEventItemDTO[]明细列表

com.leadwaycloud.ppd.api.model.dto.wip.WipEventItemDTO

在制品事件明细

名称类型必填说明示例
batchIdinteger(int64)批次ID
serialIdinteger(int64)序列号ID(无序列号管理时为空)
qtynumber数量

com.leadwaycloud.ppd.model.dto.transfer.TransferOrderSaveDTO

转序单保存DTO

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
fromOrderProcessIdinteger(int64)源工序ID
itemsTransferOrderItemDTO[]转序明细列表(目标工序+批次绑定)
notestring备注

com.leadwaycloud.ppd.model.dto.shifthandover.ShiftHandoverRecordAddDTO

交接班记录新增DTO

名称类型必填说明示例
workOrderIdinteger(int64)工单ID
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
notestring交班备注

com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$StatusChangeDTO

状态变更工艺路线模板DTO

名称类型必填说明示例
statusstring状态

com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$MoveProcessDTO

移动工序DTO

名称类型必填说明示例
processIdinteger(int64)要移动的工序ID
relationProcessIdinteger(int64)关联工序ID
relationTypestring关系类型(ROOT_FIRST-根节点-起/ROOT_LAST-根节点-尾/SERIAL-串行/PARALLEL-并行)

com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$AddProcessDTO

添加工序DTO

名称类型必填说明示例
relationProcessIdinteger(int64)关联工序ID
relationTypestring关系类型(ROOT_FIRST-根节点-起/ROOT_LAST-根节点-尾/SERIAL-串行/PARALLEL-并行)
processIdinteger(int64)关联的标准工序库ID
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
requirementstring工序要求
notestring备注
resourceListRouteProcessDTO$ResourceDTO[]资源列表
bomLineListRouteProcessDTO$BomDTO[]BOM列表

com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$CopyDTO

复制工艺路线模板DTO

名称类型必填说明示例
codestring新模板编码
namestring新模板名称

com.leadwaycloud.ppd.model.dto.routetemplate.RouteTemplateDTO$AddDTO

添加工艺路线模板DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring模板编码
namestring模板名称
notestring备注

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderChangeDTO$TerminatedDTO

订单终止DTO

名称类型必填说明示例
idListinteger(int64)[]
reasonstring变更原因

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderChangeDTO$StatusDTO

订单状态变更DTO

名称类型必填说明示例
statusstring目标状态
reasonstring变更原因

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderReleaseDTO$BatchDTO

发布订单-批次DTO

名称类型必填说明示例
codestring批次号
qtynumber批次数量
serialboolean是否启用序列号管理
serialNoListstring[]
notestring备注

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderReleaseDTO$OrderReleaseDTO

发布订单DTO

名称类型必填说明示例
idinteger(int64)订单ID
batchListProductionOrderReleaseDTO$BatchDTO[]批次列表

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderAddDTO

新增生产订单DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring编号
namestring名称
typestring订单类型
originTypestring来源类型
originIdinteger(int64)来源ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
goodsProcessRouteIdinteger(int64)产品工艺路线ID
planQtyinteger(int32)计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
notestring备注

com.leadwaycloud.ppd.model.dto.productionorder.ProductionOrderBatchLogAddDTO

生产订单批次日志-新增DTO

名称类型必填说明示例
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdinteger(int64)批次ID
serialIdinteger(int64)节号ID
qtyinteger(int64)数量
statusstring状态

com.leadwaycloud.ppd.model.dto.process.ProcessDTO$StatusChangeDTO

状态变更DTO

名称类型必填说明示例
statusstring状态

com.leadwaycloud.ppd.model.dto.process.ProcessDTO$QueryDTO

查询工序DTO

名称类型必填说明示例
codestring工序编码
namestring工序名称
keywordstring工序编码or工序名称
statusstring状态
typestring工序类别
processTypestring加工类别
responsibleDepartmentIdinteger(int64)责任部门ID

com.leadwaycloud.ppd.plug.poi.model.dto.ExportDTOCom.leadwaycloud.ppd.model.dto.process.ProcessDTO$QueryDTO

公共导出模型

名称类型必填说明示例
reportColumnListReportColumnDTO[]需导出参数集合
queryDTOProcessDTO$QueryDTO
fileNamestring导出文件名

com.leadwaycloud.ppd.model.dto.process.ProcessDTO$AddDTO

添加工序DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
codestring工序编码
namestring工序名称
requirementstring工序要求
typestring工序类别
processTypestring加工类别
qualityPointboolean质检点
responsibleCompanyIdinteger(int64)责任公司ID
responsibleDepartmentIdinteger(int64)责任部门ID
resourceListProcessDTO$ResourceDTO[]资源列表
notestring备注

com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$SplitDTO

拆分工序计划单项DTO

名称类型必填说明示例
nointeger(int32)序号(用于前段生成编号排序)
codestring编号
namestring名称
planQtynumber计划数量
workCenterIdinteger(int64)加工中心ID
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleDTO$ScheduleNodeDTO[]班次节点列表

com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$DragDTO

拖拽调整工序计划DTO

名称类型必填说明示例
workCenterIdinteger(int64)加工中心ID
planStartDatestring(date)计划开始日期
shiftItemIdinteger(int64)班次ID

com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$BatchOperationDTO

批量发布/取消发布/删除DTO

名称类型必填说明示例
idListinteger(int64)[]工序计划ID列表
notestring备注

com.leadwaycloud.ppd.model.dto.processschedule.ProcessScheduleDTO$AddDTO

拖拽创建工序计划DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
orderIdinteger(int64)订单ID
orderProcessIdinteger(int64)订单工序ID
workCenterIdinteger(int64)目标加工中心ID
codestring编号
namestring名称
planQtynumber排程数量
planStartDatestring(date)开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleDTO$ScheduleNodeDTO[]班次节点列表

com.leadwaycloud.ppd.model.dto.ordercompletion.OrderCompletionAddDTO

完工单新增DTO

名称类型必填说明示例
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)末道工序ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)商品条码ID
qtynumber(double)数量
statusstring状态 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】
notestring备注
batchListWorkOrderBatchDTO[]关联批次列表

com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$StatusChangeDTO

状态变更产品工艺路线DTO

名称类型必填说明示例
statusstring状态

com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$QuoteDTO

从模板创建DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
sourceRouteTemplateIdinteger(int64)源工艺路线模板ID
codestring编码
namestring名称
notestring备注

com.leadwaycloud.ppd.model.dto.routeprocess.RouteProcessDTO$BatchBomDTO

工序BomDTO-批量

名称类型必填说明示例
goodsBomLineIdinteger(int64)产品BOM-LINE ID
qtynumber数量
lossRatenumber损耗率
notestring备注
routeProcessIdinteger(int64)路线工序ID

com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$CopyDTO

复制产品工艺路线DTO

名称类型必填说明示例
sourceGoodsProcessRouteIdinteger(int64)源产品工艺路线ID
codestring编码
namestring名称
notestring备注

com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$CopyToGoodsDTO

复制其他产品工艺路线DTO

名称类型必填说明示例
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
sourceGoodsProcessRouteIdinteger(int64)源产品工艺路线ID
codestring编码
namestring名称
notestring备注

com.leadwaycloud.ppd.model.dto.goodsprocessroute.GoodsProcessRouteDTO$AddDTO

新增产品工艺路线DTO

名称类型必填说明示例
merchantIdinteger(int64)商户ID
companyIdinteger(int64)公司ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
codestring编号
namestring名称
notestring备注

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListWorkCenterVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ListVO

加工中心列表VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring编号
namestring名称
statusstring状态
outsourceboolean是否为外协虚拟加工中心
departmentIdinteger(int64)所属车间/部门ID
departmentNamestring所属车间/部门名称
leaderUserIdinteger(int64)负责人ID
leaderUserNamestring负责人名称
descriptionstring描述
createUserNamestring创建人名称
createTimestring(date-time)创建时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterVO$ListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterVO$DetailVO

com.leadwaycloud.ppd.model.vo.asset.AssetDeviceVO

设备VO

名称类型必填说明示例
idinteger(int64)id
codestring编号
assetsCodestring固定资产编号
namestring名称
statusstring状态

com.leadwaycloud.ppd.model.vo.crm.CrmSupplierVO

供应商VO

名称类型必填说明示例
idinteger(int64)id
codestring编号
partnerIdinteger(int64)CRM对象ID
externalCodestring外部编号
statusstring状态
namestring名称

com.leadwaycloud.ppd.model.vo.hr.HrDepartmentVO

部门VO

名称类型必填说明示例
idinteger(int64)id
namestring名称
idChainstring完整的组织架构值
codestring编号
statusstring状态
parentTreeNamestring部门树形结构name(用’-‘进行拼接)

com.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$DetailVO

加工中心详情VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring编号
namestring名称
statusstring状态
outsourceboolean是否为外协虚拟加工中心
departmentHrDepartmentVO
leaderUserResUserVO
createUserResUserVO
descriptionstring描述
notestring备注
createTimestring(date-time)创建时间
workCenterResourceListWorkCenterVO$ResourceVO

com.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterVO$ResourceVO

工序资源VO

名称类型必填说明示例
businessIdinteger(int64)业务ID(加工中心ID)
businessTypestring业务类型
notestring备注
primaryboolean是否是主资源
userResUserVO
departmentHrDepartmentVO
assetDeviceAssetDeviceVO
supplierCrmSupplierVO

com.leadwaycloud.ppd.model.vo.res.ResUserVO

用户模型VO

名称类型必填说明示例
idinteger(int64)id
userNamestring账号
namestring名称
statusstring状态
languagestring语言
imagestring图片
partnerIdinteger(int64)关系ID

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterCalendarVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkCenterCalendarVO[]返回数据

com.leadwaycloud.ppd.model.vo.hr.ShiftScheduleItemVO

排班方案班次VO

名称类型必填说明示例
idinteger(int64)id
codestring班次编码
namestring班次名称
totalWorkHoursnumber总工时
statusstring状态
timeSegmentListShiftScheduleItemVO$TimeSegmentVO

com.leadwaycloud.ppd.model.vo.hr.ShiftScheduleItemVO$TimeSegmentVO

排班方案班次时间段

名称类型必填说明示例
idinteger(int64)id
shiftScheduleItemIdinteger(int64)班次ID
startTimeLocalTime
endTimeLocalTime
typestring类型
workHoursnumber工时

com.leadwaycloud.ppd.model.vo.ppd.workcenter.WorkCenterCalendarVO

加工中心工作日历VO

名称类型必填说明示例
idinteger(int64)主键ID
datestring(date)日期
exceptionboolean是否为例外日期
extensionInfostring扩展数据
notestring备注
createUserResUserVO
shiftScheduleItemShiftScheduleItemVO

java.time.LocalTime

结束时间

名称类型必填说明示例
hourinteger(int32)
minuteinteger(int32)
secondinteger(int32)
nanointeger(int32)

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListWorkOrderListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderListVO

com.leadwaycloud.ppd.model.entity.asset.AssetDevice

设备

名称类型必填说明示例
idinteger(int64)
codestring编号
assetsCodestring固定资产编号
namestring名称
statusstring状态

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderListVO

工单列表VO

名称类型必填说明示例
idinteger(int64)ID
codestring派工单编号
pickingTypestring工单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 】
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 PROCESS_SCHEDULE : 工序计划 】
orderCodestring生产订单编号
goodsIdinteger(int64)产品ID
goodsCodestring产品编号
goodsNamestring产品名称
goodsBarcodeIdinteger(int64)商品条码ID
goodsBarcodestring商品条码编号
orderProcessIdinteger(int64)工序ID
orderProcessCodestring工序编号
orderProcessNamestring工序名称
qtynumber(double)计划数量
startQtynumber(double)已开工数量
reportedQtynumber(double)已报工数量
remainingQtynumber(double)剩余数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
actualStartDatestring(date)实际开始日期
actualEndDatestring(date)实际完成日期
statusstring派工单状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createUserNamestring创建人
createTimestring(date-time)创建时间
workResourceListWorkResourceVO[]
processScheduleCodestring工序计划编号

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkResourceVO

工单资源VO

名称类型必填说明示例
idinteger(int64)ID
businessIdinteger(int64)业务ID
businessTypestring业务类型 【 DEVICE : 设备 DEPARTMENT : 部门/班组 USER : 用户 SUPPLIER : 供应商 】
workCenterIdinteger(int64)加工中心ID
primaryboolean是否主资源
assetDeviceListAssetDevice[]
departmentListHrDepartmentVO[]
userListResUserVO[]
supplierListCrmSupplierVO[]

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderDetailVO

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderDetailVO

工单详情VO

名称类型必填说明示例
idinteger(int64)ID
namestring名称
codestring编号
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 PROCESS_SCHEDULE : 工序计划 】
orderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
orderProcessIdinteger(int64)工序ID
orderProcessNamestring工序名称
orderProcessCodestring工序编号
goodsIdstring产品ID
goodsCodestring产品编号
goodsBarcodeIdinteger(int64)商品条码ID
goodsBarcodestring商品条码编号
qtynumber(double)计划数量
reportedQtynumber(double)已报工数量
remainingQtynumber(double)剩余数量
notestring备注
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划结束日期
actualStartDatestring(date)实际开始日期
actualEndDatestring(date)实际结束日期
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createdByinteger(int64)创建人ID
updateByinteger(int64)更新人ID
createTimestring(date-time)创建时间
updateTimestring(date-time)更新时间
createUserResUserVO
planQtynumber(double)工序计划计划总数
workOrderAllocatedQtynumber(double)工序计划已分配数量
workOrderPendingQtynumber(double)工序计划剩余分配数量
workResourceListWorkResourceVO[]
workOrderStartListWorkOrderStartDetailVO[]
workOrderReportListWorkOrderReportDetailVO[]

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportDetailVO

报工单详情VO

名称类型必填说明示例
idinteger(int64)ID
workOrderIdinteger(int64)关联工单ID
namestring名称
codestring编号
orderProcessIdinteger(int64)工序ID
orderProcessNamestring工序名称
orderProcessCodestring工序编号
qtynumber(double)本次报工数量
doneTimestring(date-time)实际完工时间
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createdByinteger(int64)创建人ID
createUserNamestring创建人名称
updateByinteger(int64)更新人ID
createTimestring(date-time)创建时间
updateTimestring(date-time)更新时间

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartDetailVO

开工单摘要VO

名称类型必填说明示例
idinteger(int64)开工单ID
workOrderIdinteger(int64)关联工单ID
namestring名称
codestring编号
orderProcessIdinteger(int64)工序ID
orderProcessNamestring工序名称
orderProcessCodestring工序编号
qtynumber(double)开工数量
doneTimestring(date-time)完成时间
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createTimestring(date-time)创建时间
createUserNamestring创建人名称

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListWorkOrderStartListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderStartListVO

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO

开工单列表VO

名称类型必填说明示例
idinteger(int64)ID
workOrderIdinteger(int64)关联工单ID
namestring名称
codestring编号
orderProcessIdinteger(int64)工序ID
orderProcessNamestring工序名称
orderProcessCodestring工序编码
qtynumber(double)开工数量
doneTimestring(date-time)完成时间
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createTimestring(date-time)创建时间
batchLogListWorkOrderStartListVO$BatchLogVO[]批次/序列号明细

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO$BatchLogVO

批次日志VO

名称类型必填说明示例
batchCodestring批次号
serialNostring序列号
qtynumber(double)数量

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderStartListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderStartDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderStartDetailVO

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListWorkOrderReportListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderReportListVO

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO

报工单列表VO

名称类型必填说明示例
idinteger(int64)ID
workOrderIdinteger(int64)关联工单ID
namestring名称
codestring编号
orderProcessIdinteger(int64)工序ID
qtynumber(double)本次报工数量
doneTimestring(date-time)实际完工时间
statusstring状态 【 DRAFT : 草稿 ASSIGNED : 已发布 IN_PROCESS : 进行中 ON_HOLD : 暂停 COMPLETED : 已完成 TERMINATED : 已终止 DELETE : 已删除 】
createTimestring(date-time)创建时间
batchLogListWorkOrderReportListVO$BatchLogVO[]批次/序列号明细

com.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO$BatchLogVO

批次日志VO

名称类型必填说明示例
batchCodestring批次号
serialNostring序列号
qtynumber(double)数量

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderReportListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.workorder.WorkOrderReportDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWorkOrderReportDetailVO

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerGroupVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListWipLedgerGroupVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerGroupVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipLedgerGroupVO

com.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerBucketVO

在制品台账桶级明细

名称类型必填说明示例
batchIdinteger(int64)批次ID
batchCodestring批次号
serialIdinteger(int64)序列号ID
serialNostring序列号
qtynumber当前结存数量
firstInTimestring(date-time)首次转入时间
lastInTimestring(date-time)最近转入时间
firstOutTimestring(date-time)首次转出时间
lastOutTimestring(date-time)最近转出时间
updateTimestring(date-time)更新时间

com.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerGroupVO

在制品台账聚合结果(订单+工序+状态维度)

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
orderNamestring生产订单名称
productionOrderProcessIdinteger(int64)工序ID
processCodestring工序编号
processNamestring工序名称
isLastProcessboolean是否最后工序
productionTypestringPRODUCTION(生产工序),QUALITY(质检工序)
goodsIdinteger(int64)货品ID
goodsCodestring货号
goodsNamestring货品名称
goodsBarcodeIdinteger(int64)产品条码ID
goodsBarcodestring产品条码
statusstring在制品状态
statusNamestring状态中文名
totalQtynumber汇总数量
createTimestring(date-time)创建时间(组内最早 firstInTime)
updateTimestring(date-time)更新时间(组内最新 updateTime)
detailsWipLedgerBucketVO[]桶级明细列表

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataWipLedgerDetailVO

com.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerDetailVO

在制品台账详情

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
orderNamestring生产订单名称
productionOrderProcessIdinteger(int64)工序ID
processCodestring工序编号
processNamestring工序名称
isLastProcessboolean是否最后工序
productionTypestringPRODUCTION(生产工序),QUALITY(质检工序)
goodsIdinteger(int64)货品ID
goodsCodestring货号
goodsNamestring货品名称
goodsBarcodeIdinteger(int64)产品条码ID
goodsBarcodestring产品条码
statusstring在制品状态
statusNamestring状态中文名
totalQtynumber汇总数量
createTimestring(date-time)创建时间(组内最早 firstInTime)
updateTimestring(date-time)更新时间(组内最新 updateTime)
detailsWipLedgerBucketVO[]桶级明细列表
goodsSpecstring物料规格
relatedOrdersWipLedgerRelatedOrderVO[]关联单据列表

com.leadwaycloud.ppd.model.vo.ppd.wip.WipLedgerRelatedOrderVO

在制品台账关联单据

名称类型必填说明示例
originTypestring来源单据类型编码
originTypeNamestring来源单据类型名称
originIdinteger(int64)来源单据ID
codestring来源单据编号
createTimestring(date-time)创建时间

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListTransferOrderListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataTransferOrderListVO

com.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderListVO

转序单列表VO

名称类型必填说明示例
idinteger(int64)转序单ID
codestring转序单号
productionOrderIdinteger(int64)生产订单ID
productionOrderCodestring生产订单编号
goodsNamestring产品名称
goodsBarcodestring产品编号
fromProcessNamestring上工序名称
toProcessNamestring下工序名称
batchCodesstring批次号(多个以顿号分隔)
transferTypestring转序类型
transferTypeNamestring转序类型名称
statusstring状态
statusNamestring状态名称
totalQtynumber转序总数
notestring备注
createByinteger(int64)创建人ID
createByNamestring创建人姓名
createTimestring(date-time)创建时间
confirmByinteger(int64)确认人ID
confirmByNamestring确认人姓名
confirmTimestring(date-time)确认时间

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.transfer.NextProcessPreviewVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataNextProcessPreviewVO

com.leadwaycloud.ppd.model.vo.ppd.transfer.NextProcessPreviewVO

下工序预览VO

名称类型必填说明示例
productionOrderIdinteger(int64)生产订单ID
fromOrderProcessIdinteger(int64)源工序ID
fromProcessCodestring源工序编码
fromProcessNamestring源工序名称
transferTypestring转序类型
transferTypeNamestring转序类型名称
toProcessesNextProcessPreviewVO$NextProcessItemVO[]目标工序列表
isLastProcessboolean是否末工序

com.leadwaycloud.ppd.model.vo.ppd.transfer.NextProcessPreviewVO$NextProcessItemVO

目标工序项

名称类型必填说明示例
orderProcessIdinteger(int64)目标工序ID
processCodestring目标工序编码
processNamestring目标工序名称
relationTypestring关系类型(SERIAL/PARALLEL)
parallelGroupstring并行组标识(PARALLEL_SPLIT时相同)

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataTransferOrderDetailVO

com.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderBatchLineVO

转序单批次绑定明细VO

名称类型必填说明示例
batchIdinteger(int64)批次ID
batchCodestring批次编号
serialIdinteger(int64)序列号ID
serialNostring序列号
statusstring在制品状态"QUALIFIED_COMPLETED"
qtyinteger(int32)数量

com.leadwaycloud.ppd.model.vo.ppd.transfer.TransferOrderDetailVO

转序单详情VO

名称类型必填说明示例
idinteger(int64)转序单ID
codestring转序单号
productionOrderIdinteger(int64)生产订单ID
productionOrderCodestring生产订单编号
goodsNamestring产品名称
goodsBarcodestring产品编号
transferTypestring转序类型
transferTypeNamestring转序类型名称
statusstring状态
statusNamestring状态名称
totalQtynumber转序总数
notestring备注
fromProcessesTransferProcessInfoVO[]上工序列表(多上工序/MERGE场景)
toProcessesTransferProcessInfoVO[]下工序列表
batchesTransferOrderBatchLineVO[]关联批次/序列号
createByinteger(int64)创建人ID
createByNamestring创建人姓名
createTimestring(date-time)创建时间
confirmByinteger(int64)确认人ID
confirmByNamestring确认人姓名
confirmTimestring(date-time)确认时间

com.leadwaycloud.ppd.model.vo.ppd.transfer.TransferProcessInfoVO

转序单工序摘要VO

名称类型必填说明示例
idinteger(int64)订单工序ID
codestring工序编码
namestring工序名称

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.transfer.TransferDraftOccupancyVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataTransferDraftOccupancyVO[]返回数据

com.leadwaycloud.ppd.model.vo.ppd.transfer.TransferDraftBindingVO

草稿转序单批次绑定VO

名称类型必填说明示例
batchIdinteger(int64)批次ID
batchCodestring批次编号
serialIdinteger(int64)序列号ID
serialNostring序列号
statusstring在制品状态"QUALIFIED_COMPLETED"
qtyinteger(int32)占用数量

com.leadwaycloud.ppd.model.vo.ppd.transfer.TransferDraftOccupancyVO

转序草稿占用VO

名称类型必填说明示例
transferOrderIdinteger(int64)转序单ID
transferOrderCodestring转序单号
createTimestring(date-time)创建时间
bindingsTransferDraftBindingVO[]批次绑定明细列表

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListShiftHandoverRecordListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataShiftHandoverRecordListVO

com.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordListVO

交接班记录列表VO

名称类型必填说明示例
idinteger(int64)交接班记录ID
workOrderIdinteger(int64)工单ID
workOrderCodestring工单编号
orderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
orderProcessIdinteger(int64)工序ID
orderProcessNamestring工序名称
orderProcessCodestring工序编号
goodsCodestring产品编号
goodsNamestring产品名称
goodsBarcodeIdinteger(int64)商品条码ID
goodsBarcodestring商品条码编号
notestring交班备注
statusstring交接状态:PENDING=待接班, COMPLETED=已完成 【 PENDING : 待接班 COMPLETED : 已完成 DELETE : 删除 】
statusNamestring交接状态中文名
handoverUserIdinteger(int64)交班人ID
handoverUserNamestring交班人姓名
handoverTimestring(date-time)交班时间
takeoverUserIdinteger(int64)接班人ID
takeoverUserNamestring接班人姓名
takeoverTimestring(date-time)接班时间
createTimestring(date-time)创建时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataShiftHandoverRecordListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataShiftHandoverRecordDetailVO

com.leadwaycloud.ppd.model.vo.ppd.shifthandover.ShiftHandoverRecordDetailVO

交接班记录详情VO

名称类型必填说明示例
idinteger(int64)交接班记录ID
workOrderIdinteger(int64)工单ID
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
goodsCodestring产品编号
goodsNamestring产品名称
goodsBarcodeIdinteger(int64)商品条码ID
goodsBarcodestring商品条码编号
notestring交班备注
statusstring交接状态:PENDING=待接班, COMPLETED=已完成 【 PENDING : 待接班 COMPLETED : 已完成 DELETE : 删除 】
statusNamestring交接状态中文名
handoverUserResUserVO
handoverTimestring(date-time)交班时间
takeoverUserResUserVO
takeoverTimestring(date-time)接班时间
createTimestring(date-time)创建时间
createdByinteger(int64)创建人ID
updateByinteger(int64)更新人ID
updateTimestring(date-time)更新时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ProcessVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ProcessVO[]返回数据

com.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$BomVO

工序BomVO

名称类型必填说明示例
goodsBomLineIdinteger(int64)产品BOM-LINE ID
qtynumber数量
lossRatenumber损耗率
notestring备注

com.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ProcessVO

工序VO

名称类型必填说明示例
idinteger(int64)工序ID
processIdinteger(int64)关联的标准工序库ID
parentRouteProcessIdinteger(int64)父工序ID
treeLevelinteger(int32)树层级深度
treePathstring树路径
executionOrderinteger(int32)执行顺序号
executableboolean是否为可执行工序
codestring工序编码
namestring工序名称
statusstring状态
typestring工序类别
processTypestring加工类别
qualityPointboolean是否为质检点
responsibleCompanyResCompanyVO
responsibleDepartmentHrDepartmentVO
requirementstring工序要求
notestring备注
predecessorIdListinteger(int64)前驱工序ID列表
parallelGroupstring并行组标识
resourceListRouteTemplateVO$ResourceVO
bomLineListRouteTemplateVO$BomVO
childrenListRouteTemplateVO$ProcessVO

com.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ResourceVO

工序资源VO

名称类型必填说明示例
idinteger(int64)资源ID
businessIdinteger(int64)业务ID(加工中心ID)
businessTypestring业务类型
workCenterWorkCenterVO$DetailVO
primaryboolean是否是主资源
notestring备注

com.leadwaycloud.ppd.model.vo.res.ResCompanyVO

公司VO

名称类型必填说明示例
idinteger(int64)id
codestring公司编号(仅允许字母和数字)"CD01"
otherCodestring其他编号"AAAA-01"
typestring类型
statusstring状态
namestring名称

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListRouteTemplateVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ListVO

工艺路线模板列表VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring模板编码
namestring模板名称
statusstring状态
notestring备注
createUserNamestring创建人
createTimestring(date-time)创建时间
updateUserNamestring最近编辑人
updateTimestring(date-time)最近编辑时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$ListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataRouteTemplateVO$DetailVO

com.leadwaycloud.ppd.model.vo.ppd.routetemplate.RouteTemplateVO$DetailVO

工艺路线模板详情VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring模板编码
namestring模板名称
statusstring状态
notestring备注
createUserNamestring创建人
createTimestring(date-time)创建时间
updateUserNamestring更新人
updateTimestring(date-time)更新时间

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListProductionOrderVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$ListVO

生产订单列表VO

名称类型必填说明示例
idinteger(int64)ID
codestring编号
namestring名称
statusstring状态
typestring订单类型
originTypestring来源类型
goodsCodestring商品编号
goodsNamestring商品名称
goodsBarcodestring商品条码编号
goodsBarcodeSpecstring商品条码编号规格
batchCodestring批次号
goodsProcessRouteCodestring工艺路线编码
goodsProcessRouteNamestring工艺路线名称
goodsBomNamestringBOM名称
goodsBomVersionstringBOM版本号
planQtynumber计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
createUserNamestring创建人名称
createTimestring(date-time)创建时间
updateUserNamestring更新人名称
updateTimestring(date-time)更新时间
actualQtynumber完成数量
actualStartDatestring(date-time)实际开始时间
actualEndDatestring(date-time)实际完成时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$ListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$DetailVO

com.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO$ProcessRouteVO

产品工艺商品列表-工艺路线VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring编号
namestring名称
notestring备注

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$BatchVO

批次VO

名称类型必填说明示例
idinteger(int64)ID
codestring批次号
qtynumber批次数量
serialboolean是否启用序列号管理
serialListProductionOrderVO$SerialVO[]

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$DetailVO

生产订单详情VO

名称类型必填说明示例
idinteger(int64)ID
codestring编号
namestring名称
statusstring状态
typestring订单类型
originTypestring来源类型
originIdinteger(int64)源单据ID
stockGoodsStockGoodsVO
stockGoodsBarcodeStockGoodsBarcodeVO
goodsBomStockGoodsBomVO
goodsProcessRouteGoodsProcessRouteVO$GoodsListVO$ProcessRouteVO
planQtynumber计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
notestring备注
createUserNamestring创建人名称
createTimestring(date-time)创建时间
updateUserNamestring更新人名称
updateTimestring(date-time)更新时间
actualQtynumber完成数量
actualStartDatestring(date-time)实际开始时间
actualEndDatestring(date-time)实际完成时间
batchListProductionOrderVO$BatchVO[]

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$SerialVO

序列号VO

名称类型必填说明示例
idinteger(int64)ID
serialNostring序列号

com.leadwaycloud.ppd.model.vo.stock.StockGoodsBarcodeVO

条码VO

名称类型必填说明示例
idinteger(int64)id
typestring条码类型
imagesstring图片
barcodestring商品条码
defSettlementboolean是否是结算默认条码
specstring条码规格
descriptionstring描述
otherBarcodestring额外条码

com.leadwaycloud.ppd.model.vo.stock.StockGoodsBomVO

商品BOM-VO

名称类型必填说明示例
idinteger(int64)id
namestring名称
versionstring版本
effectiveDatestring(date)生效日期
publishDatestring(date)发布日期
statusstring状态
remarkstring备注

com.leadwaycloud.ppd.model.vo.stock.StockGoodsVO

商品VO

名称类型必填说明示例
idinteger(int64)id
namestring名称
codestring货号
specstring规格
typestring产品类型

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$ProcessListVO[]返回数据

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessListVO

订单工序列表VO

名称类型必填说明示例
idinteger(int64)ID
processIdinteger(int64)标准工序ID
parentProcessIdinteger(int64)父工序ID
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否质检点
lastboolean是否终点工序
executionOrderinteger(int32)执行顺序号
treePathstring树路径
treeLevelinteger(int32)树层级深度
executableboolean是否为可执行工序
responsibleCompanyResCompanyVO
responsibleDepartmentHrDepartmentVO
requirementstring工序技术要求
notestring备注
parallelGroupstring并行组标识
childrenListProductionOrderAttributeVO$ProcessListVO[]
predecessorIdListinteger(int64)[]
resourceListProductionOrderAttributeVO$ProcessResourceVO[]
bomLineListProductionOrderAttributeVO$ProcessResourceVO[]

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessResourceVO

工序资源VO

名称类型必填说明示例
businessIdinteger(int64)业务ID(加工中心ID)
businessTypestring业务类型
workCenterWorkCenterVO$DetailVO
primaryboolean是否是主资源
notestring备注

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessBriefVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$ProcessBriefVO

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$ProcessBriefVO

订单工序简要信息VO

名称类型必填说明示例
idinteger(int64)ID
processIdinteger(int64)标准工序ID
codestring工序编码
namestring工序名称
typestring工序类别
processTypestring加工类别
qualityPointboolean是否质检点
lastboolean是否终点工序
executionOrderinteger(int32)执行顺序号
treePathstring树路径
treeLevelinteger(int32)树层级深度
executableboolean是否为可执行工序
requirementstring工序技术要求
notestring备注
parallelGroupstring并行组标识

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$OrderBomVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderAttributeVO$OrderBomVO

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$OrderBomLineVO

BOM明细VO

名称类型必填说明示例
idinteger(int64)ID
stockGoodsStockGoodsVO
stockGoodsBarcodeStockGoodsBarcodeVO
qtynumber数量
lossRatenumber损耗率
notestring备注
goodsBomTreeListStockGoodsBomTreeVO[]商品子BOM树集合

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderAttributeVO$OrderBomVO

BOM VO

名称类型必填说明示例
idinteger(int64)BOM ID
versionstringBOM版本号
namestringBOM名称
goodsBomTreeListProductionOrderAttributeVO$OrderBomLineVO[]

com.leadwaycloud.ppd.model.vo.stock.StockGoodsBomTreeVO

商品BOM树VO

名称类型必填说明示例
bomLineIdinteger(int64)bomLineId主键id
merchantIdinteger(int64)商户号ID
companyIdinteger(int64)公司ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)商品条码ID
versionstring商品BOM版本
versionBomIdinteger(int64)明细行版本BOMId
versionBomIdVersionstring明细行版本BOMIdVersion
lossRatenumber损耗率
remarkstring备注
qtynumber(double)转换数量
goodsStockGoodsVO
goodsBarcodeStockGoodsBarcodeVO

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderVO$BatchVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderVO$BatchVO[]返回数据

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListProductionOrderBatchLogListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderBatchLogListVO

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO

生产订单批次日志-列表VO

名称类型必填说明示例
idinteger(int64)ID
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdinteger(int64)批次ID
serialIdinteger(int64)节号ID
qtynumber(double)数量
createByinteger(int64)创建人
createTimestring(date-time)创建时间
statusstring状态
batchProductionOrderBatchLogListVO$BatchVO
serialProductionOrderBatchLogListVO$SerialVO
serialRefProductionOrderBatchLogListVO$SerialRefVO

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO$BatchVO

批次信息VO

名称类型必填说明示例
idinteger(int64)批次ID
codestring批次号
qtynumber批次数量
serialboolean是否需要序列号管理
notestring备注

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO$SerialRefVO

批次节号关联信息VO

名称类型必填说明示例
idinteger(int64)关联ID
productionOrderIdinteger(int64)生产订单ID
batchIdinteger(int64)批次ID
serialIdinteger(int64)序列号ID
qtynumber数量

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO$SerialVO

节号信息VO

名称类型必填说明示例
idinteger(int64)节号ID
serialNostring序列号
notestring备注

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderBatchLogListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProductionOrderBatchLogDetailVO

com.leadwaycloud.ppd.model.vo.ppd.productionorder.ProductionOrderBatchLogDetailVO

生产订单批次日志-详情VO

名称类型必填说明示例
idinteger(int64)ID
orderIdinteger(int64)生产订单ID
orderProcessIdinteger(int64)工序ID
originIdinteger(int64)源订单ID
originTypestring源订单类型 【 NORMAL_DISPATCH : 派工单 OUTSOURCE_DISPATCH : 外协派工单 START_WORK_ORDER : 开工单 REPORT_WORK_ORDER : 报工单 TRANSFER_ORDER : 转序单 ORDER_COMPLETION : 完工单 】
batchIdinteger(int64)批次ID
serialIdinteger(int64)节号ID
qtynumber(double)数量
createByinteger(int64)创建人
updateByinteger(int64)更新人
createTimestring(date-time)创建时间
updateTimestring(date-time)更新时间
batchProductionOrderBatchLogListVO$BatchVO
serialProductionOrderBatchLogListVO$SerialVO

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListProcessVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ListVO

工序列表VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring工序编码
namestring工序名称
statusstring状态
typestring工序类别
processTypestring加工类别
qualityPointboolean质检点
responsibleDepartmentNamestring责任部门名称
workCenterNamestring加工中心名称
createUserNamestring创建人名称
requirementstring工序要求
createTimestring(date-time)创建时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessVO$ListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessVO$DetailVO

com.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$DetailVO

工序详情VO

名称类型必填说明示例
idinteger(int64)主键ID
codestring工序编码
namestring工序名称
statusstring状态
requirementstring工序要求
typestring工序类别
processTypestring加工类别
qualityPointboolean质检点
responsibleCompanyResCompanyVO
responsibleDepartmentHrDepartmentVO
resourceListProcessVO$ProcessResourceVO[]资源列表
createUserResUserVO
updateUserResUserVO
notestring备注
createTimestring(date-time)创建时间

com.leadwaycloud.ppd.model.vo.ppd.process.ProcessVO$ProcessResourceVO

工序资源VO

名称类型必填说明示例
businessIdinteger(int64)业务ID(加工中心ID)
businessTypestring业务类型
notestring备注
primaryboolean是否是主资源
workCenterWorkCenterVO$DetailVO

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$PendingTaskListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListProcessScheduleVO$PendingTaskListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$PendingTaskListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$PendingTaskListVO

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$PendingProcessVO

待排任务池-工序VO

名称类型必填说明示例
orderProcessIdinteger(int64)订单工序ID
processCodestring工序编号
processNamestring工序名称
executionOrderinteger(int32)工序序号
planQtynumber计划数量
pendingQtynumber待排数量
workCenterNamestring所属工作中心名称

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$PendingTaskListVO

待排任务池列表VO(商品级聚合)

名称类型必填说明示例
orderIdinteger(int64)订单ID
goodsCodestring商品编号
goodsNamestring商品名称
goodsBarcodestring商品条码编号
goodsBarcodeSpecstring规格型号
orderCodestring订单号
batchCodestring批次号
planEndDatestring(date)订单交期
processListProcessScheduleVO$PendingProcessVO

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListProcessScheduleVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ListVO

工序计划列表VO

名称类型必填说明示例
idinteger(int64)工序计划ID
codestring工序计划编号
namestring工序计划名称
statusstring状态
processCodestring工序编码
processNamestring工序名称
goodsCodestring商品编号
goodsNamestring商品名称
goodsBarcodestring商品条码编号
goodsBarcodeSpecstring规格型号
orderCodestring订单号
batchCodestring批次号
workCenterWorkCenterVO$ListVO
planQtynumber工序计划数量
workOrderAllocatedQtynumber工单已分配数量
workOrderPendingQtynumber工单待分配数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
createTimestring(date-time)创建时间
createUserNamestring创建人姓名

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$ListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$DetailVO

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$DetailScheduleNodeVO

详情-占位节点VO

名称类型必填说明示例
datestring(date)日期
shiftScheduleItemShiftScheduleItemVO

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$DetailVO

工序计划详情VO

名称类型必填说明示例
idinteger(int64)工序计划ID
codestring工序计划编号
namestring工序计划名称
statusstring状态
planQtynumber计划数量
pendingQtynumber待排数量
workOrderAllocatedQtynumber工单已分配数量
workOrderPendingQtynumber工单待分配数量
notestring备注
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleVO$DetailScheduleNodeVO
workCenterWorkCenterVO$DetailVO
orderProcessProductionOrderAttributeVO$ProcessBriefVO
productionOrderProductionOrderVO$ListVO
createTimestring(date-time)创建时间
createUserResUserVO

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttScheduleVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataProcessScheduleVO$GanttScheduleVO

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttProcessScheduleVO

甘特图-工序计划VO

名称类型必填说明示例
idinteger(int64)工序计划ID
codestring工序计划编号
namestring工序计划名称
statusstring状态
orderIdinteger(int64)订单ID
orderProcessIdinteger(int64)订单工序ID
processCodestring工序编码
processNamestring工序名称
goodsCodestring商品编号
goodsNamestring商品名称
goodsBarcodestring商品条码编号
goodsBarcodeSpecstring规格型号
orderCodestring订单号
batchCodestring批次号
workCenterIdinteger(int64)加工中心ID
planQtynumber计划数量
planStartDatestring(date)计划开始日期
planEndDatestring(date)计划完成日期
scheduleNodeListProcessScheduleVO$ScheduleNodeVO
createTimestring(date-time)创建时间
createUserNamestring创建人姓名
orderPlanOverdueProcessScheduleVO$GanttProcessScheduleVO$GanttOrderPlanOverdue
preProcessOverdueListProcessScheduleVO$GanttProcessScheduleVO$GanttPreProcessOverdue[]工序超期提醒(超期时返回)

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttProcessScheduleVO$GanttOrderPlanOverdue

订单超期提醒

名称类型必填说明示例
processPlanEndDatestring(date)工序结束时间
orderPlanEndDatestring(date)订单结束时间
overdueDaysinteger(int64)超期天数

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttProcessScheduleVO$GanttPreProcessOverdue

工序超期提醒

名称类型必填说明示例
processPlanStartTimestring(date-time)工序开始时间
preProcessCodestring前工序编码
preProcessNamestring前工序名称
preProcessPlanEndTimestring(date-time)前工序结束时间

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttScheduleVO

甘特图数据VO

名称类型必填说明示例
processScheduleListProcessScheduleVO$GanttProcessScheduleVO[]工序计划列表
workCenterScheduleListProcessScheduleVO$GanttWorkCenterScheduleVO[]加工中心列表

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttWorkCenterCalendarVO

甘特图-加工中心日历

名称类型必填说明示例
datestring(date)日期
exceptionboolean是否为例外日期
extensionInfostring扩展数据
notestring备注
shiftScheduleItemShiftScheduleItemVO

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$GanttWorkCenterScheduleVO

甘特图-加工中心和日历VO

名称类型必填说明示例
workCenterListWorkCenterVO$DetailVO[]加工中心
calendarListProcessScheduleVO$GanttWorkCenterCalendarVO[]加工中心日历

com.leadwaycloud.ppd.model.vo.ppd.processschedule.ProcessScheduleVO$ScheduleNodeVO

甘特图-班次节点VO

名称类型必填说明示例
datestring(date)日期
shiftItemIdinteger(int64)班次ID

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListOrderCompletionListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataOrderCompletionListVO

com.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionListVO

完工单列表VO

名称类型必填说明示例
idinteger(int64)记录ID
codestring完工单编号
orderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
goodsIdinteger(int64)物料ID
goodsCodestring物料编号
goodsNamestring物料名称
goodsBarcodeIdinteger(int64)商品条码ID
goodsBarcodestring商品条码编号
batchInfostring批次号(单个显示批次号,多个显示多个批次)
qtynumber(double)完工数量(所有批次节号汇总)
statusstring状态:DRAFT=草稿, COMPLETED=已完成 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】
createByinteger(int64)创建人ID
createUserNamestring创建人姓名
createTimestring(date-time)创建时间

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionDetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataOrderCompletionDetailVO

com.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionBatchSerialVO

完工单批次/节号明细VO

名称类型必填说明示例
batchIdinteger(int64)批次ID
batchCodestring批次号
qtynumber(double)本次完工数量

com.leadwaycloud.ppd.model.vo.ppd.ordercompletion.OrderCompletionDetailVO

完工单详情VO

名称类型必填说明示例
idinteger(int64)记录ID
codestring完工单编号
orderIdinteger(int64)生产订单ID
orderCodestring生产订单编号
orderProcessIdinteger(int64)末道工序ID
goodsIdinteger(int64)物料ID
goodsBarcodeIdinteger(int64)商品条码ID
goodsBarcodestring商品条码编号
goodsCodestring物料编号
goodsNamestring物料名称
qtynumber完工数量(汇总)
statusstring状态:DRAFT=草稿, COMPLETED=已完成 【 DRAFT : 草稿 COMPLETED : 已完成 DELETE : 删除 】
notestring备注
createByinteger(int64)创建人ID
createUserNamestring创建人姓名
createTimestring(date-time)创建时间
updateByinteger(int64)更新人ID
updateTimestring(date-time)更新时间
batchSerialListOrderCompletionBatchSerialVO[]

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListGoodsProcessRouteVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$ListVO

产品工艺路线列表VO

名称类型必填说明示例
idinteger(int64)主键ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
codestring编号
namestring名称
nointeger(int32)序号(递增)
statusstring状态
notestring备注
createUserNamestring创建人
createTimestring(date-time)创建时间
updateUserNamestring最近编辑人
updateTimestring(date-time)最近编辑时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$ListVO[]返回数据

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListGoodsProcessRouteVO$GoodsListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$GoodsListVO

com.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO

产品工艺商品列表VO

名称类型必填说明示例
stockGoodsStockGoodsVO
stockGoodsBarcodeStockGoodsBarcodeVO
uomSysUomVO
stockGoodsBomStockGoodsBomVO
goodsProcessRouteGoodsProcessRouteVO$GoodsListVO$ProcessRouteVO

com.leadwaycloud.ppd.model.vo.sys.SysUomVO

计量单位模型VO

名称类型必填说明示例
idinteger(int64)id
codestring计量单位code
namestring计量单位名称
symbolstring计量代号
activeboolean是否是可用的
rationumber(double)换算率
shortNamestring简称
isoShortNamestringISO名称

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$GoodsListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$GoodsListVO[]返回数据

com.leadwaycloud.core.model.RCom.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$DetailVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataGoodsProcessRouteVO$DetailVO

com.leadwaycloud.ppd.model.vo.ppd.goodsprocessroute.GoodsProcessRouteVO$DetailVO

产品工艺路线详情VO

名称类型必填说明示例
idinteger(int64)主键ID
goodsIdinteger(int64)商品ID
goodsBarcodeIdinteger(int64)产品条码ID
goodsBomIdinteger(int64)产品BOM ID
codestring编号
namestring名称
nointeger(int32)序号(递增)
statusstring状态
notestring备注
createUserResUserVO
createTimestring(date-time)创建时间
updateUserResUserVO
updateTimestring(date-time)更新时间

com.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.executechange.ExecuteChangeLogVO$ListVO

返回数据

名称类型必填说明示例
firstboolean是否是第一页true
lastboolean是否是最后一页true
totalPagesinteger(int32)总页数1
totalElementsinteger(int64)总数据条数1
sizeinteger(int32)每页条数10
numberinteger(int32)当前页码0
numberOfElementsinteger(int32)当前页数据条数0
dataListExecuteChangeLogVO$ListVO[]当前页数据

com.leadwaycloud.core.model.RCom.leadwaycloud.core.model.PCom.leadwaycloud.ppd.model.vo.ppd.executechange.ExecuteChangeLogVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataExecuteChangeLogVO$ListVO

com.leadwaycloud.ppd.model.vo.ppd.executechange.ExecuteChangeLogVO$ListVO

产品工艺路线列表VO

名称类型必填说明示例
idinteger(int64)主键ID
originIdinteger(int64)源ID
originTypestring源类型
originLineIdinteger(int64)源明细ID
originTypeSubstring源明细类型
oldStatusstring切换前状态
newStatusstring切换后状态
oldValuestring变更前值
newValuestring变更后值
notestring备注
createUserResUserVO
createTimestring(date-time)创建时间
updateUserResUserVO
updateTimestring(date-time)更新时间

com.leadwaycloud.core.model.RJava.util.ListCom.leadwaycloud.ppd.model.vo.ppd.executechange.ExecuteChangeLogVO$ListVO

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataExecuteChangeLogVO$ListVO[]返回数据

com.leadwaycloud.core.model.RJava.lang.Void

名称类型必填说明示例
statusinteger(int32)状态码200
codestring业务代码"000"
messagestring消息描述"成功"
dataobject返回数据