From 7946b8842e5d463afa573a98a685b425a3f0f221 Mon Sep 17 00:00:00 2001 From: luozukai Date: Thu, 8 Aug 2019 10:31:30 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=A1=E6=89=B9][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96billType=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxFlowServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 72e982234..d1ac5a745 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java @@ -111,11 +111,11 @@ public class WxFlowServiceImpl implements WxFlowService { @Override public void updateBusinessStatus(Map mapInfo,Integer applyStatus){ Long businessId = Long.parseLong(mapInfo.get("businessId").toString()); - Integer flowType = (Integer)mapInfo.get("flowType"); + Integer flowType = getIngeter(mapInfo.get("flowType")); List> variables = (List)mapInfo.get("variables"); Integer contractType = 0; String str = (String)getVariableByKey(variables,"contractType"); - Integer operateType = (Integer)getVariableByKey(variables,"approvalType"); + Integer operateType = getIngeter(getVariableByKey(variables,"approvalType")); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); if(StringUtils.isNotBlank(str)){ contractType = Integer.parseInt(str); @@ -179,7 +179,7 @@ public class WxFlowServiceImpl implements WxFlowService { rent.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode()); //终止租赁合同,同时终止物业合同 - Integer endProperty = (Integer)getVariableByKey(variables,"endProperty"); + Integer endProperty = getIngeter(getVariableByKey(variables,"endProperty")); rent.setEndProperty(endProperty); wxRentContractService.endContract(rent); } @@ -203,7 +203,7 @@ public class WxFlowServiceImpl implements WxFlowService { //账单审批 Integer billType = getIngeter(getVariableByKey(variables, "billType")); MallUserInfo user = (MallUserInfo) SecurityUtils.getSubject().getSession().getAttribute("userSession"); - Integer billUpdateType = (Integer) getVariableByKey(variables, "billUpdateType"); + Integer billUpdateType = getIngeter(getVariableByKey(variables, "billUpdateType")); Long oldPrice = Long.parseLong(getVariableByKey(variables, "oldPrice").toString()); Long newPrice = Long.parseLong(getVariableByKey(variables, "newPrice").toString()); WxBillAll wxBillAll = new WxBillAll();