|
|
|
@@ -118,7 +118,7 @@ |
|
|
|
update wx_bill_property set status=#{waitPay} where id in( |
|
|
|
select a.id from (select br.id,rc.receive_period,br.property_contract_id,br.receive_date from wx_bill_property br |
|
|
|
left join wx_property_contract rc on br.property_contract_id=rc.id |
|
|
|
where br.tenant_id=#{tenantId} and br.status!=#{paid} and status != 6 and now() < br.receive_date |
|
|
|
where br.tenant_id=#{tenantId} and br.status!=#{paid} and br.status != 6 and now() < br.receive_date |
|
|
|
and DATE_ADD(now(),INTERVAL 1 MONTH)>br.receive_date) a) |
|
|
|
</update> |
|
|
|
|
|
|
|
|