Просмотр исходного кода

fix contract

release_toaliyun_real
xiaohanzi 5 лет назад
Родитель
Сommit
8eac5c4867
1 измененных файлов: 9 добавлений и 1 удалений
  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 Просмотреть файл

@@ -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);
}


Загрузка…
Отмена
Сохранить