Răsfoiți Sursa

违纪类型代码调试

lideyin 5 ani în urmă
părinte
comite
2fd487bb7d

+ 5 - 5
examcloud-core-oe-admin-api-provider/src/main/java/cn/com/qmth/examcloud/core/oe/admin/api/controller/IllegallyTypeController.java

@@ -72,12 +72,12 @@ public class IllegallyTypeController extends ControllerSupport {
      * @author WANGWEI
      */
     @ApiOperation(value = "分页查询违纪类型")
-    @GetMapping("specialtyPage/{curPage}/{pageSize}")
-    public Page<IllegallyTypeEntity> getSpecialtyPage(@PathVariable Integer curPage,
-                                                      @PathVariable Integer pageSize, @RequestParam(required = false) String name,
+    @GetMapping("illegallyTypePage/{curPage}/{pageSize}")
+    public Page<IllegallyTypeEntity> illegallyTypePage(@PathVariable Integer curPage,
+                                                      @PathVariable Integer pageSize,
+                                                       @RequestParam(required = false) String name,
                                                       @RequestParam(required = false) String code,
-                                                      @RequestParam(required = false) Boolean enable,
-                                                      @RequestParam(required = false) Long courseId) {
+                                                      @RequestParam(required = false) Boolean enable) {
         User accessUser = getAccessUser();
 
         Specification<IllegallyTypeEntity> specification = (root, query, cb) -> {