瀏覽代碼

采购申请

java110 2 年之前
父節點
當前提交
fdb063cff0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      service-store/src/main/java/com/java110/store/cmd/purchase/PurchaseApplyCmd.java

+ 1 - 1
service-store/src/main/java/com/java110/store/cmd/purchase/PurchaseApplyCmd.java

@@ -105,7 +105,7 @@ public class PurchaseApplyCmd extends Cmd {
 
         OaWorkflowDto oaWorkflowDto = new OaWorkflowDto();
         oaWorkflowDto.setStoreId(storeId);
-        oaWorkflowDto.setFlowId(storehouseDto.getPurchaseFlowId());
+        oaWorkflowDto.setFlowId(storehouseDtos.get(0).getPurchaseFlowId());
         List<OaWorkflowDto> oaWorkflowDtos = oaWorkflowInnerServiceSMOImpl.queryOaWorkflows(oaWorkflowDto);
         Assert.listOnlyOne(oaWorkflowDtos, "流程不存在");
         if (!OaWorkflowDto.STATE_COMPLAINT.equals(oaWorkflowDtos.get(0).getState())) {