出租提醒修改

This commit is contained in:
尹吉欢
2018-05-21 17:02:21 +08:00
parent 63735a7312
commit 9ff884e5f6
@@ -82,7 +82,8 @@ public class HouseRentNoticeJob implements SimpleJob {
@Override
public void run() {
try {
if("出租".equals(h.getLiveStatus())) {
int days = DateUtilCustom.between(new Date(), h.getLeaseEndDate());
if("出租".equals(h.getLiveStatus()) && days >= 0) {
rentPush(h);
rentEndPush(h);
}