|
@@ -455,7 +455,7 @@ public class WorkerLogic {
|
|
|
Mailbox mailbox = mailboxService.getById("1");
|
|
|
Date endTime = DateUtil.parseDateTime(DateUtils.formatDate(new Date(),"yyyy-MM-dd") +" "+ mailbox.getSendTime()+":00");
|
|
|
|
|
|
- if (new Date().after(endTime) && DateUtil.offsetDay(startTime,21).month() != DateUtil.month(startTime)){
|
|
|
+ if (new Date().after(endTime) && DateUtil.offsetDay(startTime,2).month() != DateUtil.month(startTime)){
|
|
|
month = month+1;
|
|
|
}
|
|
|
|