| @@ -111,11 +111,11 @@ public class WxFlowServiceImpl implements WxFlowService { | |||||
| @Override | @Override | ||||
| public void updateBusinessStatus(Map<String, Object> mapInfo,Integer applyStatus){ | public void updateBusinessStatus(Map<String, Object> mapInfo,Integer applyStatus){ | ||||
| Long businessId = Long.parseLong(mapInfo.get("businessId").toString()); | Long businessId = Long.parseLong(mapInfo.get("businessId").toString()); | ||||
| Integer flowType = (Integer)mapInfo.get("flowType"); | |||||
| Integer flowType = getIngeter(mapInfo.get("flowType")); | |||||
| List<Map<String,Object>> variables = (List)mapInfo.get("variables"); | List<Map<String,Object>> variables = (List)mapInfo.get("variables"); | ||||
| Integer contractType = 0; | Integer contractType = 0; | ||||
| String str = (String)getVariableByKey(variables,"contractType"); | 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"); | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); | ||||
| if(StringUtils.isNotBlank(str)){ | if(StringUtils.isNotBlank(str)){ | ||||
| contractType = Integer.parseInt(str); | contractType = Integer.parseInt(str); | ||||
| @@ -179,7 +179,7 @@ public class WxFlowServiceImpl implements WxFlowService { | |||||
| rent.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode()); | rent.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode()); | ||||
| //终止租赁合同,同时终止物业合同 | //终止租赁合同,同时终止物业合同 | ||||
| Integer endProperty = (Integer)getVariableByKey(variables,"endProperty"); | |||||
| Integer endProperty = getIngeter(getVariableByKey(variables,"endProperty")); | |||||
| rent.setEndProperty(endProperty); | rent.setEndProperty(endProperty); | ||||
| wxRentContractService.endContract(rent); | wxRentContractService.endContract(rent); | ||||
| } | } | ||||
| @@ -203,7 +203,7 @@ public class WxFlowServiceImpl implements WxFlowService { | |||||
| //账单审批 | //账单审批 | ||||
| Integer billType = getIngeter(getVariableByKey(variables, "billType")); | Integer billType = getIngeter(getVariableByKey(variables, "billType")); | ||||
| MallUserInfo user = (MallUserInfo) SecurityUtils.getSubject().getSession().getAttribute("userSession"); | 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 oldPrice = Long.parseLong(getVariableByKey(variables, "oldPrice").toString()); | ||||
| Long newPrice = Long.parseLong(getVariableByKey(variables, "newPrice").toString()); | Long newPrice = Long.parseLong(getVariableByKey(variables, "newPrice").toString()); | ||||
| WxBillAll wxBillAll = new WxBillAll(); | WxBillAll wxBillAll = new WxBillAll(); | ||||