Browse Source

查询delflag=0

develop
zhangyuan 3 years ago
parent
commit
020617b557
  1. 5
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/resources/mapper/rent/RentContractInfoDao.xml

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

@ -41,7 +41,9 @@
FROM
pli_rent_contract_info i
LEFT JOIN pli_rent_blacklist b ON i.LESSEE_ID_CARD = b.ID_CARD
<where>
WHERE
i.DEL_FLAG = '0'
AND b.DEL_FLAG = '0'
<if test="gridId != null and gridId != ''">
AND i.GRID_ID = #{gridId}
</if>
@ -107,6 +109,5 @@
AND DATE( i.END_DATE ) &lt;= CURDATE()
</if>
</if>
</where>
</select>
</mapper>
Loading…
Cancel
Save