35 lines
867 B
Plaintext
35 lines
867 B
Plaintext
package com.bonus.exampage.controller;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.ui.Model;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import com.bonus.exampage.beans.ExamBean;
|
|
import com.bonus.exampage.service.ExamService;
|
|
import com.bonus.question.service.QuestionService;
|
|
import com.bonus.sys.BaseController;
|
|
|
|
@Controller
|
|
@RequestMapping("/backstage/exampage/")
|
|
public class ExamController extends BaseController<ExamBean>{
|
|
@Autowired
|
|
private ExamService service;
|
|
|
|
@Autowired
|
|
private QuestionService questionService;
|
|
|
|
@RequestMapping("gradeList")
|
|
public String launchList(Model model) {
|
|
|
|
return "/grade/gradeList";
|
|
}
|
|
public Integer splitSeats(Integer num){
|
|
Integer seat = 0;
|
|
|
|
|
|
return seat;
|
|
}
|
|
|
|
}
|