|
@@ -34,14 +34,14 @@ import javax.validation.constraints.NotNull;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
-* @title: 学生考核类别
|
|
|
|
|
|
|
+* @title: 学生操行分考核类别
|
|
|
* @Author fanxp
|
|
* @Author fanxp
|
|
|
* @Date: 2023-11-15
|
|
* @Date: 2023-11-15
|
|
|
* @Version 1.0
|
|
* @Version 1.0
|
|
|
*/
|
|
*/
|
|
|
@RestController
|
|
@RestController
|
|
|
@RequestMapping("/student" + "/basestudentbehaviorcategory")
|
|
@RequestMapping("/student" + "/basestudentbehaviorcategory")
|
|
|
-@Api(value = "/student" + "/basestudentbehaviorcategory",tags = "学生考核类别代码")
|
|
|
|
|
|
|
+@Api(value = "/student" + "/basestudentbehaviorcategory",tags = "学生操行分考核类别代码")
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
public class BaseStudentBehaviorCategoryController {
|
|
public class BaseStudentBehaviorCategoryController {
|
|
|
|
|
|
|
@@ -49,7 +49,7 @@ public class BaseStudentBehaviorCategoryController {
|
|
|
private final IBaseStudentBehaviorCategoryService baseStudentBehaviorCategoryService;
|
|
private final IBaseStudentBehaviorCategoryService baseStudentBehaviorCategoryService;
|
|
|
|
|
|
|
|
@GetMapping(value = "/list")
|
|
@GetMapping(value = "/list")
|
|
|
- @ApiOperation(value="学生考核类别列表(不分页)")
|
|
|
|
|
|
|
+ @ApiOperation(value="学生操行分考核类别列表(不分页)")
|
|
|
@SaCheckPermission("basestudentbehaviorcategory:detail")
|
|
@SaCheckPermission("basestudentbehaviorcategory:detail")
|
|
|
public RT<List<BaseStudentBehaviorCategoryListVo>> list(@Valid BaseStudentBehaviorCategoryListDto dto){
|
|
public RT<List<BaseStudentBehaviorCategoryListVo>> list(@Valid BaseStudentBehaviorCategoryListDto dto){
|
|
|
|
|
|
|
@@ -64,7 +64,7 @@ public class BaseStudentBehaviorCategoryController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping(value = "/page")
|
|
@GetMapping(value = "/page")
|
|
|
- @ApiOperation(value="学生考核类别列表(分页)")
|
|
|
|
|
|
|
+ @ApiOperation(value="学生操行分考核类别列表(分页)")
|
|
|
@SaCheckPermission("basestudentbehaviorcategory:detail")
|
|
@SaCheckPermission("basestudentbehaviorcategory:detail")
|
|
|
public RT<PageOutput<BaseStudentBehaviorCategoryPageVo>> page(@Valid BaseStudentBehaviorCategoryPageDto dto){
|
|
public RT<PageOutput<BaseStudentBehaviorCategoryPageVo>> page(@Valid BaseStudentBehaviorCategoryPageDto dto){
|
|
|
|
|
|
|
@@ -78,7 +78,7 @@ public class BaseStudentBehaviorCategoryController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping(value = "/info")
|
|
@GetMapping(value = "/info")
|
|
|
- @ApiOperation(value="根据id查询学生考核类别信息")
|
|
|
|
|
|
|
+ @ApiOperation(value="根据id查询学生操行分考核类别信息")
|
|
|
@SaCheckPermission("basestudentbehaviorcategory:detail")
|
|
@SaCheckPermission("basestudentbehaviorcategory:detail")
|
|
|
public RT<BaseStudentBehaviorCategoryVo> info(@RequestParam Long id){
|
|
public RT<BaseStudentBehaviorCategoryVo> info(@RequestParam Long id){
|
|
|
BaseStudentBehaviorCategory baseStudentBehaviorCategory = baseStudentBehaviorCategoryService.getById(id);
|
|
BaseStudentBehaviorCategory baseStudentBehaviorCategory = baseStudentBehaviorCategoryService.getById(id);
|
|
@@ -90,7 +90,7 @@ public class BaseStudentBehaviorCategoryController {
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping
|
|
@PostMapping
|
|
|
- @ApiOperation(value = "新增学生考核类别")
|
|
|
|
|
|
|
+ @ApiOperation(value = "新增学生操行分考核类别")
|
|
|
@SaCheckPermission("basestudentbehaviorcategory:add")
|
|
@SaCheckPermission("basestudentbehaviorcategory:add")
|
|
|
public RT<Boolean> add(@Valid @RequestBody AddBaseStudentBehaviorCategoryDto dto){
|
|
public RT<Boolean> add(@Valid @RequestBody AddBaseStudentBehaviorCategoryDto dto){
|
|
|
BaseStudentBehaviorCategory baseStudentBehaviorCategory = BeanUtil.toBean(dto, BaseStudentBehaviorCategory.class);
|
|
BaseStudentBehaviorCategory baseStudentBehaviorCategory = BeanUtil.toBean(dto, BaseStudentBehaviorCategory.class);
|
|
@@ -99,7 +99,7 @@ public class BaseStudentBehaviorCategoryController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PutMapping
|
|
@PutMapping
|
|
|
- @ApiOperation(value = "修改学生考核类别")
|
|
|
|
|
|
|
+ @ApiOperation(value = "修改学生操行分考核类别")
|
|
|
@SaCheckPermission("basestudentbehaviorcategory:edit")
|
|
@SaCheckPermission("basestudentbehaviorcategory:edit")
|
|
|
public RT<Boolean> update(@Valid @RequestBody UpdateBaseStudentBehaviorCategoryDto dto){
|
|
public RT<Boolean> update(@Valid @RequestBody UpdateBaseStudentBehaviorCategoryDto dto){
|
|
|
|
|
|
|
@@ -109,7 +109,7 @@ public class BaseStudentBehaviorCategoryController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@DeleteMapping
|
|
@DeleteMapping
|
|
|
- @ApiOperation(value = "删除学生考核类别")
|
|
|
|
|
|
|
+ @ApiOperation(value = "删除学生操行分考核类别")
|
|
|
@SaCheckPermission("basestudentbehaviorcategory:delete")
|
|
@SaCheckPermission("basestudentbehaviorcategory:delete")
|
|
|
public RT<Boolean> delete(@Valid @RequestBody List<Long> ids){
|
|
public RT<Boolean> delete(@Valid @RequestBody List<Long> ids){
|
|
|
return RT.ok(baseStudentBehaviorCategoryService.removeBatchByIds(ids));
|
|
return RT.ok(baseStudentBehaviorCategoryService.removeBatchByIds(ids));
|