首页>代码>spring boot+spring data jpa+h2实现quartz任务管理系统>/spring-boot-quartz-master/src/main/java/com/stackabuse/controller/IndexController.java
package com.stackabuse.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import com.stackabuse.entity.SchedulerJobInfo; import com.stackabuse.service.SchedulerJobService; @Controller public class IndexController { @Autowired private SchedulerJobService scheduleJobService; @GetMapping("/index") public String index(Model model){ List<SchedulerJobInfo> jobList = scheduleJobService.getAllJobList(); model.addAttribute("jobs", jobList); return "index"; } }


yuning1993 LV6
9月19日
zh11332 LV11
9月12日
include LV8
6月20日
xxx520520 LV6
5月31日
12345681 LV2
5月25日
泓鼎168 LV19
3月31日
139465 LV12
3月29日
15555113950 LV1
3月23日
李一一 LV1
3月10日
lironggang LV37
2月27日