Browse Source

Merge branch 'release_toaliyun_real' into release_real_200809

release_toaliyun_real
xiaohanzi 5 years ago
parent
commit
ddc970e592
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java

+ 9
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java View File

@@ -219,6 +219,10 @@ public class WxFlowServiceImpl implements WxFlowService {
if (isrentproperty) { if (isrentproperty) {
wxPropertyContractService.updatePropertyContractStatus(propetyId); 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); wxRentContractService.updateApplyStatus(rent);
if (isrentproperty) { if (isrentproperty) {
@@ -243,7 +247,11 @@ public class WxFlowServiceImpl implements WxFlowService {
// 审批完成 // 审批完成
}else if (EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue()) { }else if (EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue()) {
wxPropertyContractService.updatePropertyContractStatus(Long.parseLong(businessId)); 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); wxPropertyContractMapper.updateApplyStatus(wxPropertyContract);
} }


Loading…
Cancel
Save