From 1373561069f7e19383dbc178c19787c4b3f0df3b Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 26 九月 2024 10:37:36 +0800 Subject: [PATCH] MDK 上传 --- 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