Merge branch 'FSHJOB1.2' of http://192.168.0.27/dev0/fangjia-job into FSHJOB1.2
This commit is contained in:
+2
-1
@@ -82,7 +82,8 @@ public class HouseRentNoticeJob implements SimpleJob {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
try {
|
try {
|
||||||
if("出租".equals(h.getLiveStatus())) {
|
int days = DateUtilCustom.between(new Date(), h.getLeaseEndDate());
|
||||||
|
if("出租".equals(h.getLiveStatus()) && days >= 0) {
|
||||||
rentPush(h);
|
rentPush(h);
|
||||||
rentEndPush(h);
|
rentEndPush(h);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user