update 定时任务时间
This commit is contained in:
parent
31414e651f
commit
7e942a09ec
|
@ -127,8 +127,8 @@ public class PersonnelController extends BaseController {
|
|||
|
||||
@GetMapping("getPersonnelRetire")
|
||||
@ApiOperation(value = "查看近两月是否有人退休")
|
||||
//@Scheduled(cron = "0 0 7 * * ?") /*每天7点更新一次*/
|
||||
@Scheduled(cron = "0 */1 * * * ?") /*每天7点更新一次*/
|
||||
@Scheduled(cron = "0 0 7 * * ?") /*每天7点更新一次*/
|
||||
//@Scheduled(cron = "0 */1 * * * ?") /*每分钟更新一次*/
|
||||
public void getPersonnelRetire(){
|
||||
personnelService.getPersonnelRetire();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue