|
@@ -41,7 +41,7 @@ public class BusinessJob {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0/10 1-3 * * ?")
|
|
|
public void updateMtPlanJob() {
|
|
|
- log.trace("Starting update maintenance Plan Job");
|
|
|
+ log.warn("Starting update maintenance plan overdue job...");
|
|
|
maintenancePlanService.updateOverduePlan(1000);
|
|
|
}
|
|
|
|
|
@@ -50,7 +50,7 @@ public class BusinessJob {
|
|
|
*/
|
|
|
@Scheduled(cron = "0 0 9 * * ?")
|
|
|
public void inspection45days() {
|
|
|
- log.trace("Starting inspection 45days");
|
|
|
+ log.warn("Starting inspection 45days notice job...");
|
|
|
sendAnnualInspection(45);
|
|
|
}
|
|
|
|
|
@@ -85,14 +85,16 @@ public class BusinessJob {
|
|
|
/**
|
|
|
* 年检到期提前15天提醒
|
|
|
*/
|
|
|
+// @Scheduled(cron = "0/30 * * * * ?")
|
|
|
@Scheduled(cron = "0 0 10 * * ?")
|
|
|
public void inspection15days() {
|
|
|
- log.trace("Starting inspection 15days");
|
|
|
+ log.warn("Starting inspection 15days notice job...");
|
|
|
sendAnnualInspection(15);
|
|
|
}
|
|
|
|
|
|
@Scheduled(cron = "0 0 16 * * ?")
|
|
|
public void taskNotice() {
|
|
|
+ log.trace("Starting task report notice job...");
|
|
|
List<RepairTips> repairTips = pushUserService.listMtCompanyByEmergencyRepair();
|
|
|
if(repairTips.isEmpty()){
|
|
|
return;
|