|
|
|
@@ -219,6 +219,10 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
if (isrentproperty) { |
|
|
|
wxPropertyContractService.updatePropertyContractStatus(propetyId); |
|
|
|
} |
|
|
|
//如果是审批撤回,或者驳回,改回草稿状态 |
|
|
|
}else if (EnumRentContractAppStatus.SETBACK.getCode().intValue() == applyStatus.intValue() |
|
|
|
|| EnumRentContractAppStatus.REJECT.getCode().intValue() == applyStatus.intValue()) { |
|
|
|
rent.setStatus(EnumRentContractStatus.DRAFT.getCode()); |
|
|
|
} |
|
|
|
wxRentContractService.updateApplyStatus(rent); |
|
|
|
if (isrentproperty) { |
|
|
|
@@ -243,7 +247,11 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
// 审批完成 |
|
|
|
}else if (EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue()) { |
|
|
|
wxPropertyContractService.updatePropertyContractStatus(Long.parseLong(businessId)); |
|
|
|
} |
|
|
|
//如果是审批撤回,或者驳回,改回草稿状态 |
|
|
|
}else if (EnumRentContractAppStatus.SETBACK.getCode().intValue() == applyStatus.intValue() |
|
|
|
|| EnumRentContractAppStatus.REJECT.getCode().intValue() == applyStatus.intValue()) { |
|
|
|
wxPropertyContract.setStatus(EnumRentContractStatus.DRAFT.getCode()); |
|
|
|
} |
|
|
|
wxPropertyContractMapper.updateApplyStatus(wxPropertyContract); |
|
|
|
|
|
|
|
} |
|
|
|
|