From b05acf87923fd73087011f1babf8c9e4a58442ad Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Thu, 28 Apr 2022 17:01:30 +0800 Subject: [PATCH] =?UTF-8?q?bug,=E5=85=B3=E8=81=94=E9=BB=91=E5=90=8D?= =?UTF-8?q?=E5=8D=95=E8=A6=81=E5=9C=A8=E5=85=B3=E8=81=94=E6=97=B6=E5=8A=A0?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/rent/RentContractInfoDao.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml index c18cb38..820b9bb 100644 --- a/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml +++ b/epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml @@ -40,10 +40,9 @@ ( b.id IS NULL, '否', '是' ) AS isBlack FROM pli_rent_contract_info i - LEFT JOIN pli_rent_blacklist b ON i.LESSEE_ID_CARD = b.ID_CARD + LEFT JOIN pli_rent_blacklist b ON i.LESSEE_ID_CARD = b.ID_CARD AND b.DEL_FLAG = '0' WHERE i.DEL_FLAG = '0' - AND b.DEL_FLAG = '0' AND i.GRID_ID = #{gridId}