From 027c8249ffb7be80bdfe9012c1f377de5f275b56 Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Mon, 25 Apr 2022 16:16:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/rent/RentContractInfoDao.xml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) 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 6d550e2..0e27096 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 @@ -41,5 +41,58 @@ FROM pli_rent_contract_info i LEFT JOIN pli_rent_blacklist b ON i.LESSEE_ID_CARD = b.ID_CARD + + + AND i.GRID_ID = #{gridId} + + + AND i.VILLAGE_ID = #{villageId} + + + AND i.BUILD_ID = #{buildId} + + + AND i.UNIT_ID = #{unitId} + + + AND i.HOME_ID = #{homeId} + + + AND i.STATE = #{state} + + + AND i.LESSOR_NAME = #{lessorName} + + + AND i.LESSOR_ID_CARD = #{lessorIdCard} + + + AND i.LESSOR_MOBILE = #{lessorMobile} + + + AND i.LESSEE_NAME = #{lesseeName} + + + AND i.LESSEE_ID_CARD = #{lesseeIdCard} + + + AND i.LESSEE_MOBILE = #{lesseeMobile} + + + AND i.REVIEW_DATE >= #{reviewStartTime} + + + AND i.REVIEW_DATE <= #{reviewEndTime} + + + AND i.SIGN_DATE >= #{signStartTime} + + + AND i.SIGN_DATE <= #{signEndTime} + + + AND REFERENCE_ID = #{endDate} + + \ No newline at end of file