fix:考试总数

pg_adapter
wangxy 8 months ago
parent 8db276a4aa
commit 001e240b3b

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

Loading…
Cancel
Save