From e911e4a3ff466d104e66e2b726edf3401228d39e Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Sun, 1 Dec 2024 19:59:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=91=E7=9B=AE=E6=9D=83=E9=99=90?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../school/subject/controller/SubjectController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/skyeye-school/school-pro/src/main/java/com/skyeye/school/subject/controller/SubjectController.java b/skyeye-school/school-pro/src/main/java/com/skyeye/school/subject/controller/SubjectController.java index 05151cd6..29d03801 100644 --- a/skyeye-school/school-pro/src/main/java/com/skyeye/school/subject/controller/SubjectController.java +++ b/skyeye-school/school-pro/src/main/java/com/skyeye/school/subject/controller/SubjectController.java @@ -38,7 +38,7 @@ public class SubjectController { * @param inputObject 入参以及用户信息等获取对象 * @param outputObject 出参以及提示信息的返回值对象 */ - @ApiOperation(id = "querySubjectList", value = "获取科目列表--管理端使用", method = "POST", allUse = "1") + @ApiOperation(id = "querySubjectList", value = "获取科目列表--管理端使用", method = "POST", allUse = "2") @ApiImplicitParams(classBean = CommonPageInfo.class) @RequestMapping("/post/SubjectController/querySubjectList") public void querySubjectList(InputObject inputObject, OutputObject outputObject) { @@ -51,11 +51,11 @@ public class SubjectController { * @param inputObject 入参以及用户信息等获取对象 * @param outputObject 出参以及提示信息的返回值对象 */ - @ApiOperation(id = "writeSubject", value = "新增/编辑科目信息", method = "POST", allUse = "1") + @ApiOperation(id = "writeSubject", value = "新增/编辑科目信息", method = "POST", allUse = "2") @ApiImplicitParams(classBean = Subject.class) @RequestMapping("/post/SubjectController/writeSubject") public void writeSubject(InputObject inputObject, OutputObject outputObject) { - subjectService.saveOrUpdateEntity(inputObject, outputObject); + subjectService.saveOrUpdateEntity(inputObject, outputObject); } /** @@ -64,7 +64,7 @@ public class SubjectController { * @param inputObject 入参以及用户信息等获取对象 * @param outputObject 出参以及提示信息的返回值对象 */ - @ApiOperation(id = "deleteSubjectById", value = "根据ID删除科目信息", method = "DELETE", allUse = "1") + @ApiOperation(id = "deleteSubjectById", value = "根据ID删除科目信息", method = "DELETE", allUse = "2") @ApiImplicitParams({ @ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")}) @RequestMapping("/post/SubjectController/deleteSubjectById")