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

[审批流][修改][添加审批类型判断]

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
8796746e62
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java

+ 3
- 3
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Просмотреть файл

@@ -134,7 +134,7 @@ public class WxFlowServiceImpl implements WxFlowService {
contractType = Integer.parseInt(str);
}

if(EnumFlowKey.CONTRACT.getCode().equals(flowType)){
if(EnumFlowKey.CONTRACT.getCode().equals(flowType) || EnumFlowKey.NEW_RENT_CONTRACT.getCode().equals(flowType) || EnumFlowKey.NEW_SHOP_CONTRACT.getCode().equals(flowType)){
// 1租赁合同 2点位合同 3物业 4点位物业合同
if(contractType.intValue() == 1 || contractType.intValue() == 2){
WxRentContract rent = new WxRentContract();
@@ -159,7 +159,7 @@ public class WxFlowServiceImpl implements WxFlowService {
wxPropertyContractService.updatePropertyContractStatus(businessId);
}
}
}else if(EnumFlowKey.END_CONTRACT.getCode().equals(flowType)){
}else if(EnumFlowKey.END_CONTRACT.getCode().equals(flowType) || EnumFlowKey.NEW_RENT_END_CONTRACT.getCode().equals(flowType) || EnumFlowKey.NEW_SHOP_END_CONTRACT.getCode().equals(flowType)){
if(contractType.intValue() == 1 || contractType.intValue() == 2){
WxRentContract rent = new WxRentContract();
rent.setId(businessId);
@@ -206,7 +206,7 @@ public class WxFlowServiceImpl implements WxFlowService {
}
wxPropertyContractMapper.updateApplyStatus(wxPropertyContract);
}
} else if (EnumFlowKey.BILL.getCode().equals(flowType)) {
} else if (EnumFlowKey.BILL.getCode().equals(flowType) || EnumFlowKey.NEW_BILL_CHANGE.getCode().equals(flowType)) {
if(EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue()) {
//账单审批
Integer billType = (Integer) getVariableByKey(variables, "billType");


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