|
|
@@ -135,7 +135,6 @@ |
|
|
<select id="queryRentContractEndSoonStatus" resultType="int" |
|
|
<select id="queryRentContractEndSoonStatus" resultType="int" |
|
|
parameterType="com.iformall.domain.po.WxPropertyContract"> |
|
|
parameterType="com.iformall.domain.po.WxPropertyContract"> |
|
|
select count(id) from wx_property_contract where tenant_id=#{tenantId} and status=4 |
|
|
select count(id) from wx_property_contract where tenant_id=#{tenantId} and status=4 |
|
|
and DATEDIFF(rental_end_date,now()) <= 30 and rental_end_date > now() |
|
|
|
|
|
<if test=" null != rentShopType ">and rent_shop_type = #{rentShopType}</if> |
|
|
<if test=" null != rentShopType ">and rent_shop_type = #{rentShopType}</if> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|