From 6ee9edb89dc59b6e427038e82aea91fd9a8fcfa0 Mon Sep 17 00:00:00 2001 From: luozukai Date: Wed, 23 Jan 2019 18:56:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=81=9C=E8=BD=A6=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxFlowServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);