From 3e18d4bfbf2c657b08b21512c2d884cc9d59df7b Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期一, 14 十月 2024 16:29:49 +0800
Subject: [PATCH] 模型运行

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/GeneratorCodeHistoryController.java |   26 +-------------------------
 1 files changed, 1 insertions(+), 25 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/GeneratorCodeHistoryController.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/GeneratorCodeHistoryController.java
index fc2dee8..ecb36f8 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/GeneratorCodeHistoryController.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/controller/admin/GeneratorCodeHistoryController.java
@@ -35,34 +35,10 @@
     }
 
     @GetMapping("{id}")
-    public CommonResult<GeneratorCodeHistoryDTO> get(@PathVariable("id") Long id){
+    public CommonResult<GeneratorCodeHistoryDTO> get(@PathVariable("id") String id){
         GeneratorCodeHistoryDTO data = generatorCodeHistoryService.get(id);
 
         return success(data);
-    }
-
-    @PostMapping
-    public CommonResult save(@RequestBody GeneratorCodeHistoryDTO dto){
-
-        generatorCodeHistoryService.save(dto);
-
-        return CommonResult.success();
-    }
-
-    @PutMapping
-    public CommonResult update(@RequestBody GeneratorCodeHistoryDTO dto){
-
-        generatorCodeHistoryService.update(dto);
-
-        return CommonResult.success();
-    }
-
-    @DeleteMapping
-    public CommonResult delete(@RequestBody Long[] ids){
-
-        generatorCodeHistoryService.delete(ids);
-
-        return CommonResult.success();
     }
 
     @GetMapping("download")

--
Gitblit v1.9.3