From e564d83dca027c1972beff402ec4ca65bd1f6e99 Mon Sep 17 00:00:00 2001 From: gongbiao Date: Mon, 26 Nov 2018 16:29:38 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=9F=E8=B5=81=E5=90=88=E5=90=8C][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E5=BE=85=E7=AD=BE=E7=BA=A6=E4=BD=9C?= =?UTF-8?q?=E5=BA=9F=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxRentContractMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml index 11482ec64..80c7728a9 100644 --- a/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxRentContractMapper.xml @@ -134,8 +134,8 @@ update wx_rent_contract set status=#{status} where shop_id in ( - select s.shop_id from (SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and merchant_id is not null and status!=6 - )s) and merchant_id is null and tenant_id=#{tenantId} + select s.shop_id from (SELECT shop_id FROM wx_rent_contract WHERE tenant_id = #{tenantId} and status in(2,3,4) + )s) and status=1 and status!=7 and tenant_id=#{tenantId}