| | |
| | | void updatePurchaseOrderStatus(Long id, Integer status); |
| | | |
| | | /** |
| | | * 提交采购订单审批 |
| | | * |
| | | * @param id 编号 |
| | | * @param processDefinitionKey 流程定义 Key |
| | | * @param userId 用户编号 |
| | | */ |
| | | void submitPurchaseOrder(Long id, String processDefinitionKey, Long userId); |
| | | |
| | | /** |
| | | * 获取采购订单审批流程列表 |
| | | * |
| | | * @return 流程定义列表 |
| | | */ |
| | | List<Map<String, Object>> getPurchaseOrderApproveProcessDefinitionList(); |
| | | |
| | | /** |
| | | * 更新采购订单审批结果(BPM 回调) |
| | | * |
| | | * @param id 编号 |
| | | * @param bpmResult BPM 审批结果 |
| | | */ |
| | | void updatePurchaseOrderAuditStatus(Long id, Integer bpmResult); |
| | | |
| | | /** |
| | | * 更新采购订单的入库数量 |
| | | * |
| | | * @param id 编号 |
| | |
| | | */ |
| | | void updatePurchaseOrderInStatus(Long orderId); |
| | | |
| | | /** |
| | | * 确认收货 |
| | | * |
| | | * 生成到货通知单,状态为待入库 |
| | | * |
| | | * @param id 采购订单编号 |
| | | * @return 到货通知单编号 |
| | | */ |
| | | Long confirmReceipt(Long id); |
| | | |
| | | } |