fix:考试总数

pg_adapter
wangxy 8 months ago
parent 8db276a4aa
commit 001e240b3b

@ -29,14 +29,13 @@ import javax.servlet.http.HttpServletRequest;
/**
* Controller
*
*
* @author ruoyi
* @date 2024-04-10
*/
@Controller
@RequestMapping("/system/examnum")
public class TdExamnumController extends BaseController
{
public class TdExamnumController extends BaseController {
private String prefix = "system/examnum";
@Autowired
@ -45,10 +44,17 @@ public class TdExamnumController extends BaseController
@Resource
private UserExamManager userExamManager;
@RequiresPermissions("system:examnum:view")
@RequiresPermissions("system:examnum:countExam")
@GetMapping()
public String examnum()
{
public String countExam() {
return prefix + "/countExam";
}
@GetMapping("/examnum/{examId}")
public String examnum(@PathVariable("examId") String examId, ModelMap mmap) {
mmap.put("examId",examId);
return prefix + "/examnum";
}
@ -87,6 +93,4 @@ public class TdExamnumController extends BaseController
}
}

Loading…
Cancel
Save