|
@@ -9,6 +9,7 @@ import com.rongwei.rwcommon.base.R;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
@@ -49,7 +50,7 @@ public class MaintenanceController {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+ @Scheduled(cron = "0 0 22 10/1 * *")
|
|
|
@PostMapping("batchSavePlansTiming")
|
|
|
public R batchSavePlansTiming(){
|
|
|
try {
|