From 1205f84f732610763d46935c0ec31757005376f4 Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期二, 15 十月 2024 08:38:27 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java index 8be5627..61826c0 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/controller/admin/DmModuleController.java @@ -70,7 +70,7 @@ @PostMapping("/create") @PreAuthorize("@ss.hasPermission('model:pre-module:create')") @DSTransactional(rollbackFor= Exception.class) - public CommonResult<Boolean> save(@RequestBody DmModuleEntity module){ + public CommonResult<Boolean> create(@RequestBody DmModuleEntity module){ int count = dmModuleService.check(module); if (count > 0) { ErrorCode errorCode = new ErrorCode(999, "名称重复"); -- Gitblit v1.9.3