Browse Source

Merge branch 'feature/addRentHouseOfPC' into dev

dev
wanggongfeng 3 years ago
parent
commit
10d5d9b7b4
  1. 6
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml

6
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml

@ -80,10 +80,10 @@
LEFT JOIN pli_rent_blacklist b ON i.LESSEE_ID_CARD = b.ID_CARD AND b.DEL_FLAG = '0'
WHERE
i.DEL_FLAG = '0'
<if test="isPcInput != null and isPcInput != '' and isPcInput == 1">
AND i.IS_PC_INPUT = '1' and i.IS_PC_INPUT is not null
<if test="isPcInput == 1 or isPcInput == '1'">
AND i.IS_PC_INPUT = '1'
</if>
<if test="isPcInput != null and isPcInput != '' and isPcInput == 0">
<if test="isPcInput == 0 or isPcInput == '0'">
AND (i.IS_PC_INPUT != '1' or i.IS_PC_INPUT is null)
</if>
<if test="customerId != null and customerId != ''">

Loading…
Cancel
Save