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
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user