|
@@ -65,7 +65,7 @@ public class BasicCourseController {
|
|
|
|
|
|
@ApiOperation(value = "删除")
|
|
|
@RequestMapping(value = "/remove", method = RequestMethod.POST)
|
|
|
- @OperationLogDetail(operationType = OperationTypeEnum.DELETE)
|
|
|
+ @OperationLogDetail(operationType = OperationTypeEnum.DELETE, detail = "删除操作,课程ID:{{course.id}}")
|
|
|
public Result remove(@RequestBody BasicCourse course) {
|
|
|
boolean isSuccess = printCommonService.remove(course.getId());
|
|
|
return ResultUtil.ok(isSuccess);
|
|
@@ -86,7 +86,7 @@ public class BasicCourseController {
|
|
|
@ApiOperation(value = "课程管理-新增/编辑")
|
|
|
@RequestMapping(value = "/save", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "更新成功", response = EditResult.class)})
|
|
|
- @OperationLogDetail(operationType = OperationTypeEnum.SAVE)
|
|
|
+ @OperationLogDetail(operationType = OperationTypeEnum.SAVE, detail = "新增/编辑操作,课程ID:{{basicCourseParams.id}}、课程代码:{{basicCourseParams.courseCode}}、课程名称:{{basicCourseParams.courseName}}")
|
|
|
@Transactional
|
|
|
public Result saveBasicCourse(@Valid @RequestBody BasicCourseParams basicCourseParams, BindingResult bindingResult) {
|
|
|
if (bindingResult.hasErrors()) {
|