|
@@ -34,14 +34,14 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
//监测今天是否有回执邮件,如果有则表示今天买保险的回执成功
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task2() throws IOException, MessagingException {
|
|
|
agreementLogic.receEmail();
|
|
|
}
|
|
|
|
|
|
|
|
|
//保险过期
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task3(){
|
|
|
agreementLogic.offInsure();
|
|
|
}
|
|
@@ -55,7 +55,7 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
//扫表身份证,高空证过期备注
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task5(){
|
|
|
agreementLogic.task5();
|
|
|
}
|
|
@@ -63,20 +63,20 @@ public class InsureEmailSchedule {
|
|
|
|
|
|
|
|
|
//工伤提前三天续保
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task6(){
|
|
|
agreementLogic.task6();
|
|
|
}
|
|
|
|
|
|
//雇主提前设置天数续保
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task7(){
|
|
|
agreementLogic.task7();
|
|
|
}
|
|
|
|
|
|
|
|
|
//将联络涵设置对应状态
|
|
|
- @Scheduled(fixedDelay = 60* 1000)
|
|
|
+ @Scheduled(fixedDelay = 600* 1000)
|
|
|
public void task8(){
|
|
|
agreementLogic.task8();
|
|
|
}
|