|
@@ -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) -> {
|