|
|
|
@@ -139,9 +139,9 @@ |
|
|
|
|
|
|
|
<update id="updateNotPaidStatus" parameterType="hashmap"> |
|
|
|
update wx_bill_property b set b.status=#{notPaid},b.expired_day= |
|
|
|
DATEDIFF(now(), date_add(b.receive_date,interval(select late_pay_day from wx_property_contract where id = b.`property_contract_id`) day)) |
|
|
|
DATEDIFF(now(), b.receive_date) |
|
|
|
where b.tenant_id=#{tenantId} and b.status!=#{paid} and b.status!=6 and |
|
|
|
DATEDIFF(now(), date_add(b.receive_date,interval(select late_pay_day from wx_property_contract where id = b.`property_contract_id`) day)) >0 |
|
|
|
DATEDIFF(now(), b.receive_date) >0 |
|
|
|
</update> |
|
|
|
|
|
|
|
<update id="updateWaitPayStatus" parameterType="hashmap"> |
|
|
|
|