|
|
|
@@ -50,6 +50,9 @@ |
|
|
|
<result column="late_pay_day" property="latePayDay"/> |
|
|
|
|
|
|
|
<result column="end_contract_time" jdbcType="TIMESTAMP" property="endContractTime"/> |
|
|
|
|
|
|
|
<result column="out_date_notify_days" jdbcType="INTEGER" property="outDateNotifyDays"/> |
|
|
|
<result column="out_date_notify_phone" jdbcType="VARCHAR" property="outDateNotifyPhone"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="allColumns"> |
|
|
|
@@ -59,7 +62,7 @@ |
|
|
|
`shop_type`,`updatetime`,`createtime`,`rent_area`,`rent_shop_type`, |
|
|
|
`link_person`,`link_phone`,`pay_account`,`filename`,`lease`,`rent_contract_id`, |
|
|
|
`start_date`,`end_date`,`apply_status`,`adjust_period`,`business_type`,adjust_ratio,`rent_info`,fixed_price, |
|
|
|
`file_names`,price_unit,rent_price,subject_name,rent_start_type,`operation_type`,late_pay_ratio,late_pay_day,end_contract_time |
|
|
|
`file_names`,price_unit,rent_price,subject_name,rent_start_type,`operation_type`,late_pay_ratio,late_pay_day,end_contract_time,out_date_notify_days,out_date_notify_phone |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="dynamicWhereConditions"> |
|
|
|
@@ -69,6 +72,7 @@ |
|
|
|
<if test=" null != price ">and `price` = #{price}</if> |
|
|
|
<if test=" null != rentalStartDate ">and `rental_start_date` = #{rentalStartDate}</if> |
|
|
|
<if test=" null != rentalEndDate ">and `rental_end_date` = #{rentalEndDate}</if> |
|
|
|
<if test=" null != outDateNofity ">and (out_date_notify_phone is not null and out_date_notify_phone != '' and DATE_SUB(rental_end_date, INTERVAL out_date_notify_days DAY) <= NOW())</if> |
|
|
|
<if test=" null != signDate ">and `sign_date` = #{signDate}</if> |
|
|
|
<if test=" null != receivePeriod ">and `receive_period` = #{receivePeriod}</if> |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
|