From cf4261ac21ba6033ae97505c4aca7901beea7108 Mon Sep 17 00:00:00 2001 From: luozukai Date: Fri, 18 Jan 2019 19:39:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=A1=E6=89=B9=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxFlowServiceImpl.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java index 6cffd1917..0a7ce6c3a 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java @@ -94,6 +94,7 @@ public class WxFlowServiceImpl implements WxFlowService { if(contractType == 3){ WxPropertyContract wxPropertyContract = new WxPropertyContract(); wxPropertyContract.setId(businessId); + wxPropertyContract.setApplyStatus(applyStatus); wxPropertyContractMapper.updateApplyStatus(wxPropertyContract); } } @@ -109,10 +110,11 @@ public class WxFlowServiceImpl implements WxFlowService { List> variables = (List)params.get("variables"); // 查询合同信息 - WxRentContract wxRentContract = wxRentContractMapper.selectByPrimaryKey(businessId); - if (wxRentContract == null) { - return new ResultData(ErrorCode.RENT_CONTRACT_IS_NOT_FOUND); - } + // todo 去掉 +// WxRentContract wxRentContract = wxRentContractMapper.selectByPrimaryKey(businessId); +// if (wxRentContract == null) { +// return new ResultData(ErrorCode.RENT_CONTRACT_IS_NOT_FOUND); +// } // 设置节点处理人 HashMap map = new HashMap<>(); @@ -126,7 +128,7 @@ public class WxFlowServiceImpl implements WxFlowService { map.put("businessId",businessId); map.put("flowType",flowType); map.put("taskAssignee",taskAssignee); - map.put("contractNumber",wxRentContract.getContractNumber()); + //map.put("contractNumber",wxRentContract.getContractNumber()); map.put("variables",variables); ProcessInstance processInstance = runtimeService.startProcessInstanceByKey(getFlowKeyByType(flowType), map);