diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java index 645748ec6..27d588460 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java @@ -89,12 +89,12 @@ public class WxFlowServiceImpl implements WxFlowService { public void updateBusinessStatus(Long businessId,Integer flowType,Integer contractType,Integer applyStatus){ if(1 == flowType){ // 1租赁合同 2点位合同wx_rent_contract 3物业wx_property_contract 4点位物业合同 - if(contractType == 1 || contractType == 2){ + if(contractType.intValue() == 1 || contractType.intValue() == 2){ WxRentContract rent = new WxRentContract(); rent.setId(businessId); rent.setApplyStatus(applyStatus); wxRentContractService.updateApplyStatus(rent); - }else if(contractType == 3 || contractType == 4){ + }else if(contractType.intValue() == 3 || contractType.intValue() == 4){ WxPropertyContract wxPropertyContract = new WxPropertyContract(); wxPropertyContract.setId(businessId); wxPropertyContract.setApplyStatus(applyStatus);