|
|
|
@@ -139,7 +139,7 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
|
|
|
|
//终止租赁合同,同时终止物业合同 |
|
|
|
Integer endProperty = (Integer)getVariableByKey(variables,"endProperty"); |
|
|
|
if(EnumEndProperty.END_RENT_AND_PROPERTY.getCode().intValue() == endProperty.intValue()){ |
|
|
|
if(endProperty!=null && EnumEndProperty.END_RENT_AND_PROPERTY.getCode().intValue() == endProperty.intValue()){ |
|
|
|
WxPropertyContract wxPropertyContract = new WxPropertyContract(); |
|
|
|
wxPropertyContract.setRentContractId(businessId); |
|
|
|
wxPropertyContract.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode()); |
|
|
|
@@ -395,7 +395,7 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
taskName = task.getName(); |
|
|
|
taskKey = task.getTaskDefinitionKey(); |
|
|
|
Map<String,Object> mapInfo = taskService.getVariables(task.getId()); |
|
|
|
Long businessId = Long.parseLong((String)mapInfo.get("businessId")); |
|
|
|
Long businessId = Long.parseLong(mapInfo.get("businessId").toString()); |
|
|
|
Integer flowType = (Integer)mapInfo.get("flowType"); |
|
|
|
taskService.complete(taskId); |
|
|
|
|
|
|
|
|